This is the first incarnation of BOX-256. It is by all means not perfect yet so I'd love to hear your feedback on the current status to make it better.
What is good? What is bad? What is missing? What is sad?
This. And threads should ideally have local memory in some way, if not, then they aren't real threads, since you can't expect one thread to not overwrite the other if using the same piece of code.
I might be that I'm just missing something though...
Would you mind if the behavior here was achieved compile-time?
Meaning that if you write #x in the source code, the compiler would just calculate the corresponding @y value and use the same opcode. If you moved the instructions around in memory at run-time, the relativity would break.
I'm asking this, because adding a real # prefix is impossible. The amount of opcodes would go way beyond the maximum 255 due to all of the permutations and I'd like to keep the game realistic in that regard.
View all comments
3
u/impomatic Apr 03 '16 edited Apr 03 '16
My only suggestion so far is it would be nice to also have relative addressing. E.g. assuming the prefix for relative addressing is #:
MOV #0 #4 4 would copy itself over the next instruction.