• Please review our updated Terms and Rules here

Warning: Spaghetti Code...

JGardner

Experienced Member
Joined
Jun 14, 2009
Messages
200
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... :)
 

Attachments

  • ROMPRINT.txt
    4.2 KB · Views: 2
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...
 
Back
Top