[Coco] How to generate BASIC line pointers ?
Jens
CoCoList at jensdiemer.de
Wed Aug 28 11:24:28 EDT 2013
Am 28.08.2013 17:10, schrieb Johann Klasek:
>> For Color Basic on the COCO, the line pointers in a saved basic program
>> are ignored because the program may not load to the same address it was
>> saved from. Instead, after the program loads, it scans the program and
>> recalculates all the pointers. As long as the pointer isn't zero, it
>> probably doesn't matter much what it is in that case.
>
> You are right, other Basics with MS roots do the same (CBM Basic variants).
Why are the line pointers exist in the WAVE created with CSAVE ?
Because it's a simple dump of the RAM and it's easier to leave the information
in the stream as strip it away?
So i can just insert 0x0 as line pointer?
And what's about "machine code starting address" and "machine code loading
address" ?
--
Mfg.
Jens Diemer
----
http://www.jensdiemer.de
More information about the Coco
mailing list