Love it, very Zachtronicesque. If the author is reading, here are couple of improvement ideas: * Show the level number somewhere so its easier to discuss with others * Add some way to know how well I did on the level, either by having some leaderboards or rating system/target cycle count * Allow pausing the execution when running * Not sure if it would make sense to have full 8-bit color palette instead of 4 bits. Pr…
8 bit palette means trying to match the colour against 256 possibilities instead of 16.
BOX-256: a tiny game about writing assembly code to pass the graphics tests
11–20 of 41 posts
Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#12How well does this map to real x86 assembly programming?
Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#13Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#14Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#15It's impossible to pass parameters to a piece of code using threads :(
I have to duplicate my code in order to use the threads
Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#16Neat! Would like my own editor though. This doesn't have a lot of text editing capabilities and is fixed size. How well does this map to real x86 assembly programming?
Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#17Love it, very Zachtronicesque. If the author is reading, here are couple of improvement ideas: * Show the level number somewhere so its easier to discuss with others * Add some way to know how well I did on the level, either by having some leaderboards or rating system/target cycle count * Allow pausing the execution when running * Not sure if it would make sense to have full 8-bit color palette instead of 4 bits. Pr…
Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#18The `thr` statement is not very useful at the moment. It's impossible to pass parameters to a piece of code using threads :( I have to duplicate my code in order to use the threads
00 THR 004 001 @A0
04 JEQ 001 @A0 010
08 --- parent thread
...
10 --- child thread
where THR instruction would store a value that is visible only to child in some memory location, in this example value 001 would be stored at @A0, which is then used to distinguish the threads in a conditional jump.Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#19 Square: 0x07 cycles
Checkerboard: 0x4C cycles
4 Squares: 0x09 cycles
I will post my solutions in 24-48 hours.Re: BOX-256: a tiny game about writing assembly code to pass the graphics tests
#20The `thr` statement is not very useful at the moment. It's impossible to pass parameters to a piece of code using threads :( I have to duplicate my code in order to use the threads