PDA

View Full Version : Warning: Spaghetti Code...



JGardner
October 31st, 2018, 08:28 AM
What's all this embedded code stuff, anyway? Why not just use GETMEM and

read the code <from> the DATA statement into RAM?

Because - The guy I wrote this for has a super-rare "Tiger-Stripe" CC40 pre-

production model, with only 2K of RAM installed, & I'm hoping this 800 byte

pgm will run so he can dump the 4 - 8K ROMs to paper. We'll see.


That it's fun to do this kind of stuff did'nt hurt either... :)

JGardner
November 8th, 2018, 12:05 PM
Typo fix - BASIC Line numbers 260 & 270 are:


* 260 IF HIN<10 THEN HIN$=CHR$(HIN+48) ELSE HIN$-CHR$(HIN+55)

* 270 IF LON<10 THEN LON$=CHR$(LON+48) ELSE LON$-CHR$(LON+55)


and should be:


* 260 IF HIN<10 THEN HIN$=CHR$(HIN+48) ELSE HIN$=CHR$(HIN+55)

* 270 IF LON<10 THEN LON$=CHR$(LON+48) ELSE LON$=CHR$(LON+55)


Sorry about that...