Masken, "fullscreen" snake game in 1k
Re: Masken, "fullscreen" snake game in 1k
Thanks that's a great reply, really appreciate it. I've made some choices that don't save any space but because it's how my original game worked, controls and the border for example, and the black on white graphics rather than inverted. I'm very interested in compressing the screen to hold more data or even code, but how do I expand it later, can I just keep writing to available memory? Any "end" needed? Also you say there's 50 bytes to save this way, which parts can I overwrite apart from 4000-400B?
Re: Masken, "fullscreen" snake game in 1k
I bought your book, very helpful.
Re: Masken, "fullscreen" snake game in 1k
The compression and decompression is mentioned in the book.
You compress manually and decompress with the routine in the book.
You compress manually and decompress with the routine in the book.
Re: Masken, "fullscreen" snake game in 1k
I am looking through the code.
When I only compress the screen I can add 1 extra line to the screen
I can also move routines over the systemvariables which will add 1 extra line too.
However it is your game so I only will place a version with a compressed screen and 1 extra line.
When I only compress the screen I can add 1 extra line to the screen
I can also move routines over the systemvariables which will add 1 extra line too.
However it is your game so I only will place a version with a compressed screen and 1 extra line.
Re: Masken, "fullscreen" snake game in 1k
The new 1K version with an extra line
Have fun debugging......
Have fun debugging......
Re: Masken, "fullscreen" snake game in 1k
"which parts can I overwrite apart from 4000-400B?"
Except from dfile, lastk, frames and cdflag all systemvariables.
Except from dfile, lastk, frames and cdflag all systemvariables.
Re: Masken, "fullscreen" snake game in 1k
I have 27 spare bytes and 20 lines now, only six more until I can get the 21st line, which will be the end of this project and the game will be released soon. Or I might use the bytes to make the keyboard response better, which might actually be a better idea. Thank you all and Beep in particular.
(beep, why do you ld sp,dfile-1+1024 and not just dfile-1?)
(beep, why do you ld sp,dfile-1+1024 and not just dfile-1?)