6 ms·
Dude, you're going over the top, under the bottom and around the sides. 8bit coding was very different. I listed some common tricks not necessarily specificall
by tezza 17y ago
Dude, you're going over the top, under the bottom and around the sides.
8bit coding was very different. I listed some common tricks not necessarily specifically ZX81, nor necessarily used in this chess game, but illustrative of common scenarios.
Thus you could fit much more in 1k than you can today.
ENDE (please take a deep breath)
- pvg 17y agoPlease don't 'dude' me. My breath is perfectly even. And at this point I don't think I was even replying to you. The things you said make make a program short are simply inaccurate and not the significant factor in making programs shorter. That's all. Nobody made their programs shorter by the 'tricks' you describe. And it's not a ZX81 thing. To read the keyboard on, say, a 6502 apple ][ you have to do a store to clear the strobe, a read to get a value and a check on the most significant bit of the value to check for keypress and then you need to mask out the actual value. I don't need to go into endless detail about the rest of them. The primary factor is the size of the instructions and the size of their operands (8 and 16 bit addresses).