Image Map Image Map
Results 1 to 2 of 2

Thread: Warning: Spaghetti Code...

  1. #1

    Default Warning: Spaghetti Code...

    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...
    Attached Files Attached Files

  2. #2

    Default

    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...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •