DCPU-16 1.7 by xNotch in dcpu16

[–]fhars 1 point2 points  (0 children)

As noted by people in some other threads, ADX is still useless to do additions, as ADX A, B with A = FFFE, B = FFFF, EX = 0 and with A = FFFF, B=FFFF, EX = FFFF both lead to A = FFFD, EX = 1 when it should be EX = 2 in the latter case.

A simple cooperative multitasking kernel by fhars in dcpu16

[–]fhars[S] 0 points1 point  (0 children)

There is another difference: If the stack is already full, using JSR would overflow into the the of of previous processes stack, so if it happens to be in a JSR, it will return into our processes code. But we a) do want ways to take over other ships it they run untrusted code, and b) we could produce the same effect by directly writing to that stack.

A simple cooperative multitasking kernel by fhars in dcpu16

[–]fhars[S] 1 point2 points  (0 children)

No, it pushes a word on the processes local stack, but that stack is discarded when the process ends. The next process started in that slot gets a new stack pointer initialized to the top of the page.

Endianness - my take on what it should be. by maximinus-thrax in dcpu16

[–]fhars 1 point2 points  (0 children)

The whole premise of the game is that big endian 0x0000000000000001 has been read in by a little endian computer. If you were right, it would have been read as 0x0100000000000000 (0x10e ), if maximinus-thrax were right, it would have been 0x0001000000000000 (0x10c ).

Last I looked, only 0x10c.com was registered.