2 ms·
Everything you never wanted to know about ZX81 Basic's memory layout! http://www.worldofspectrum.org/ZX81BasicProgramming/chap27.html http://www.worldofspectru
by david-given 12y ago
Everything you never wanted to know about ZX81 Basic's memory layout!
http://www.worldofspectrum.org/ZX81BasicProgramming/chap27.html http://www.worldofspectrum.org/ZX81BasicProgramming/chap27.h...
...wow. The framebuffer is between the program and the variables? And as the program changes size, and the screen changes size, it relocates everything above there? No wonder editing lines in a big program is so slow...
Also, that mention of the calculator stack? That's used by an embedded Forth-like language used to do floating point operations; which is why Sinclair Basic's trig functions are so appalling.