[Coco] BASIC format questions
Arthur Flexser
flexser at fiu.edu
Mon Mar 13 13:56:02 EDT 2017
In a CoCo without Disk Basic, with the default PCLEAR 4 in effect, then
Basic indeed starts at $1E01. If Disk Basic is present, then it starts at
$2601. This moves up or down by 6K if you increase or decrease the PCLEAR
argument by one.
The address of the start of Basic is found in locations $19-1A.
Art
On Mon, Mar 13, 2017 at 1:37 PM, RETRO Innovations <go4retro at go4retro.com>
wrote:
> 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
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
More information about the Coco
mailing list