[Coco] BASIC format questions

RETRO Innovations go4retro at go4retro.com
Mon Mar 13 13:37:09 EDT 2017


10 ? "H"

20 goto 10


translates into:


1E 0A   00 0A  87  22 48 22 00
         10     ?   "  H  "  EOL
1E 13   00 14  81 A5  31 30 00
         20     go to  10    EOL
00 00


I understand all the rest, but not the 1E0A and 1E13.  I mean, I 
understand what they mean (address of start of next line), but I am not 
sure what it is specifically pointing to?


If I assume the second 1E is at memory location 1E0A, then 1E13 points 
to the 00 of the end of BASIC marker.  That would imply that BASIC 
starts at 1E01.  Am I right on that point?  Does that always hold true 
(Commodore, for one, moves the start of BASIC depending on various things)?

I ask because I need to shift all of the addresses for interpreting. How 
do I know where the BASIC start is given an arbitrary BASIC file?

Jim

-- 
RETRO Innovations, Contemporary Gear for Classic Systems
www.go4retro.com
store.go4retro.com



More information about the Coco mailing list