Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Nitramtj

Pages: 1 2 3 [4] 5 6 7 8 9 ... 98
46
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 05, 2012, 01:25:21 AM »
so whats the details on a early version people can actually play.
are we far off?
Well, it looks like Notch is going to keep a list of things he's currently working on, and what's coming next, on the 0x10c site. He's got a lot left to do, so I'm going to guess two months. Although, if he's working full time on it, maybe he can do it sooner. This is pure uninformed speculation on my part though.

47
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 05, 2012, 01:15:16 AM »
What's your Steam?
Opps, meant to PM you, but might as well leave the name here anyways since I'd love to talk to others about this too.

It's Nitramtj.

48
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 05, 2012, 01:06:19 AM »
Can you teach me too?
Steam or something?
Yea, I should note that I'm not a professional. I took one class over a year ago, and even then it was taught my an associate professor who was teaching it for the second time. I basically have the idea of it down, and enough knowledge to figure out what I need, but I'm rusty.

49
Off Topic / Re: Homicide
« on: April 05, 2012, 01:03:45 AM »
killing is just eliminating competition.
You're not suggesting that the majority of other people are your competition, are you?

50
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 05, 2012, 12:41:38 AM »
Nit teach me how to assembly
Alright, do I have you on Windows Live Messenger, or something?

51
Games / Re: Maplestory
« on: April 05, 2012, 12:41:04 AM »
QFT to the max.


Anyway, the game blows now. After the pirate class update, the game started to fall apart. Classes are imbalanced and it seems the only way they can retain players is by creating even more classes.

My brother pointed out a gimmicky combo earlier. During the release of demon slayer, if you were able to reach level 70 by a certain time, then you get a potion that levels up another character to 70, which you use on a Cygnus Knight. Once you grind 50 levels and hit 120, you can sacrifice it to make an Ultimate explore. I'd like to point out that both the demon slayer and the cygnus knights are super easy to level up, and he accomplished most of this task in about a weeks time.


I'd sell my soul to play Vanilla Maplestory again.
Yea it's imbalanced in that way, but I think the point now is that there's a ton of content, so they want you working on those quests instead of worrying about being overpowered. It's probably fun in it's own way, I just wish they had done this with a completely different game, although they needed the Maplestory player base. Had it been a different game (most importantly different music,) I'd probably be playing it.

52
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 05, 2012, 12:37:39 AM »
I thought the computers ran some form of basic. 
I remember seeing someone say they wanted that somewhere, I don't think I actually saw that anywhere though. Although, it'd be possible to write a Basic compiler for Notch's CPU.

53
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 04, 2012, 11:07:23 PM »
I wonder if early someone will make a service where their ship is just a host to run other ships while they are away in a similar, efficient process? Ship fleet built on a host ship running user ships for them? Virus that takes control of ships to cause second-hand griefing?
The host ship could help direct other ships, but since each ship has its own computer, it'd just be a point to sync information. Viruses shouldn't be a problem unless you don't know what you're doing (which lets hope for, since this is assembly.)

54
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 04, 2012, 04:36:29 PM »
this game sounds too complex for a country bumpkin like myself so i don't think i'll be getting it
From Notch's Twitter:
Toeler
@notch Is the virtual computer going to be a large part of it? Or are less programming savvy people not going to be able to play? (Not me)
notch
@Toeler Once there's software available in the game, people can use their computers like normal computers

55
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 04, 2012, 04:07:05 PM »
So how much do you guys want to bet that people are going to make compilers for this?

I also have to wonder if there will be commonly exchanged programs between players, that could be a way for nontechnical people to get into the game. There could even be an open source OS, which I bet would be possible, although practicality depends on what Notch has planned.

56
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 04, 2012, 11:33:51 AM »
It's been awhile since I've done assembly, aren't low cycle times good?

57
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 04, 2012, 10:05:19 AM »
Quote from: http://0x10c.com/doc/dcpu-16.txt
DCPU-16 Specification
Copyright 2012 Mojang
Version 1.1 (Check 0x10c.com for updated versions)

* 16 bit unsigned words
* 0x10000 words of ram
* 8 registers (A, B, C, X, Y, Z, I, J)
* program counter (PC)
* stack pointer (SP)
* overflow (O)

In this document, anything within [brackets] is shorthand for "the value of the RAM at the location of the value inside the brackets".
For example, SP means stack pointer, but [SP] means the value of the RAM at the location the stack pointer is pointing at.

Whenever the CPU needs to read a word, it reads [PC], then increases PC by one. Shorthand for this is [PC++].
In some cases, the CPU will modify a value before reading it, in this case the shorthand is [++PC].

Instructions are 1-3 words long and are fully defined by the first word.
In a basic instruction, the lower four bits of the first word of the instruction are the opcode,
and the remaining twelve bits are split into two six bit values, called a and b.
a is always handled by the processor before b, and is the lower six bits.
In bits (with the least significant being last), a basic instruction has the format: bbbbbbaaaaaaoooo



Values: (6 bits)
    0x00-0x07: register (A, B, C, X, Y, Z, I or J, in that order)
    0x08-0x0f: [register]
    0x10-0x17: [next word + register]
         0x18: POP / [SP++]
         0x19: PEEK / [SP]
         0x1a: PUSH / [--SP]
         0x1b: SP
         0x1c: PC
         0x1d: O
         0x1e: [next word]
         0x1f: next word (literal)
    0x20-0x3f: literal value 0x00-0x1f (literal)
   
* "next word" really means "[PC++]". These increase the word length of the instruction by 1.
* If any instruction tries to assign a literal value, the assignment fails silently. Other than that, the instruction behaves as normal.
* All values that read a word (0x10-0x17, 0x1e, and 0x1f) take 1 cycle to look up. The rest take 0 cycles.
* By using 0x18, 0x19, 0x1a as POP, PEEK and PUSH, there's a reverse stack starting at memory location 0xffff. Example: "SET PUSH, 10", "SET X, POP"



Basic opcodes: (4 bits)
    0x0: non-basic instruction - see below
    0x1: SET a, b - sets a to b
    0x2: ADD a, b - sets a to a+b, sets O to 0x0001 if there's an overflow, 0x0 otherwise
    0x3: SUB a, b - sets a to a-b, sets O to 0xffff if there's an underflow, 0x0 otherwise
    0x4: MUL a, b - sets a to a*b, sets O to ((a*b)>>16)&0xffff
    0x5: DIV a, b - sets a to a/b, sets O to ((a<<16)/b)&0xffff. if b==0, sets a and O to 0 instead.
    0x6: MOD a, b - sets a to a%b. if b==0, sets a to 0 instead.
    0x7: SHL a, b - sets a to a<<b, sets O to ((a<<b)>>16)&0xffff
    0x8: SHR a, b - sets a to a>>b, sets O to ((a<<16)>>b)&0xffff
    0x9: AND a, b - sets a to a&b
    0xa: BOR a, b - sets a to a|b
    0xb: XOR a, b - sets a to a^b
    0xc: IFE a, b - performs next instruction only if a==b
    0xd: IFN a, b - performs next instruction only if a!=b
    0xe: IFG a, b - performs next instruction only if a>b
    0xf: IFB a, b - performs next instruction only if (a&b)!=0
   
* SET, AND, BOR and XOR take 1 cycle, plus the cost of a and b
* ADD, SUB, MUL, SHR, and SHL take 2 cycles, plus the cost of a and b
* DIV and MOD take 3 cycles, plus the cost of a and b
* IFE, IFN, IFG, IFB take 2 cycles, plus the cost of a and b, plus 1 if the test fails
   

   
Non-basic opcodes always have their lower four bits unset, have one value and a six bit opcode.
In binary, they have the format: aaaaaaoooooo0000
The value (a) is in the same six bit format as defined earlier.

Non-basic opcodes: (6 bits)
         0x00: reserved for future expansion
         0x01: JSR a - pushes the address of the next instruction to the stack, then sets PC to a
    0x02-0x3f: reserved
   
* JSR takes 2 cycles, plus the cost of a.



FAQ:

Q: Why is there no JMP or RET?
A: They're not needed! "SET PC, <target>" is a one-instruction JMP.
   For small relative jumps in a single word, you can even do "ADD PC, <dist>" or "SUB PC, <dist>".
   For RET, simply do "SET PC, POP"
   
Q: How does the overflow (O) work?
A: O is set by certain instructions (see above), but never automatically read. You can use its value in instructions, however.
   For example, to do a 32 bit add of 0x12345678 and 0xaabbccdd, do this:
      SET [0x1000], 0x5678    ; low word
      SET [0x1001], 0x1234    ; high word
      ADD [0x1000], 0xccdd    ; add low words, sets O to either 0 or 1 (in this case 1)
      ADD [0x1001], O         ; add O to the high word
      ADD [0x1001], 0xaabb    ; add high words, sets O again (to 0, as 0xaabb+0x1235 is lower than 0x10000)

Q: How do I do 32 or 64 bit division using O?
A: This is left as an exercise for the reader.
     
Q: How about a quick example?
A: Sure! Here's some sample assembler, and a memory dump of the compiled code:

        ; Try some basic stuff
                      SET A, 0x30              ; 7c01 0030
                      SET [0x1000], 0x20       ; 7de1 1000 0020
                      SUB A, [0x1000]          ; 7803 1000
                      IFN A, 0x10              ; c00d
                         SET PC, crash         ; 7dc1 001a

                     
        ; Do a loopy thing
                      SET I, 10                ; a861
                      SET A, 0x2000            ; 7c01 2000
        :loop         SET [0x2000+I], [A]      ; 2161 2000
                      SUB I, 1                 ; 8463
                      IFN I, 0                 ; 806d
                         SET PC, loop          ; 7dc1 000d

       
        ; Call a subroutine
                      SET X, 0x4               ; 9031
                      JSR testsub              ; 7c10 0018

                      SET PC, crash            ; 7dc1 001a

       
        :testsub      SHL X, 4                 ; 9037
                      SET PC, POP              ; 61c1
                       
        ; Hang forever. X should now be 0x40 if everything went right.
        :crash        SET PC, crash            ; 7dc1 001a

       
        ;
  • : Note that these can be one word shorter and one cycle faster by using the short form (0x00-0x1f) of literals,

        ;      but my assembler doesn't support short form labels yet.     

  Full memory dump:
 
        0000: 7c01 0030 7de1 1000 0020 7803 1000 c00d
        0008: 7dc1 001a a861 7c01 2000 2161 2000 8463
        0010: 806d 7dc1 000d 9031 7c10 0018 7dc1 001a
        0018: 9037 61c1 7dc1 001a 0000 0000 0000 0000
CPU specs are now at, time to brush up on assembly!

58
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 04, 2012, 10:02:59 AM »
Later in the OP mentions single player with AI wouldn't be bound to the monthly fee. He's charging for simulating every single users worlds while they are offline. Although that idea sounds really, really stupid. We don't need our stuff to keep running while we are away, especially if we end up finding someone else destroyed our stuff while we were away.
Actually, yes, we DO want our stuff running while we're away. We could have auto pilot programs, or things to go mining for us while we're away. Of course I don't know what Notch has planned, but there is plenty that he could give us to accomplish while we're away.

59
Games / Re: Maplestory
« on: April 03, 2012, 07:22:57 PM »
I used to play maple story back in Summer 06' and then a little bit more for a few years. I ended up reaching level 79 before the big bang, feels like a slap in the face that I didn't reach the third job before the update..

When I get nostalgia from hearing maplestory songs too, but it's a little depressing since it feels like such a different game now. I'm sure the game is just as fun, or even better now, but it just feels wrong.

Anyways, long live Broa.

60
Games / Re: 0x10 ͨ - Notch's New Game!
« on: April 03, 2012, 07:08:07 PM »
This looks like something I'd be interested, and since I'm nearing the point where I can afford the monthly payment, I'll probably subscribe. However, I question just how much less technically inclined will be interested enough to pay for a game like this. Had it been a few years ago, I'd have very little hope of paying for a monthly subscription.

Pages: 1 2 3 [4] 5 6 7 8 9 ... 98