[Coco] A question about the BASIC statement CLEAR

Arthur Flexser flexser at fiu.edu
Sun Nov 3 22:18:13 EST 2024


Actually, Ciaran, your message caused me to think more about this, and now I'm not completely certain about the extra byte.  It's been almost 40 years since I've done any CoCo programming.  Somebody should check the ROM code to find the definitive answer.

Art
________________________________
From: Coco <coco-bounces at maltedmedia.com> on behalf of Ciaran Anscomb via Coco <coco at maltedmedia.com>
Sent: Sunday, November 3, 2024 2:40 AM
To: CoCoList for Color Computer Enthusiasts <coco at maltedmedia.com>
Cc: Ciaran Anscomb <cocomalt at 6809.org.uk>
Subject: Re: [Coco] A question about the BASIC statement CLEAR

Note: This message originated from outside the FIU Faculty/Staff email system.


Arthur Flexser via Coco wrote:
> You don't need to allow an extra byte.  CLEAR 200, &H7000 means your ML
> routine can safely start at $7000.  Below that will be 200 bytes allotted to
> string space and below that is the stack.

Wow.  That's a _lot_ of years I've gone assuming you did have to set it
one byte lower, and never really questioning it.

..ciaran

--
Coco mailing list
Coco at maltedmedia.com
https://urldefense.com/v3/__https://pairlist5.pair.net/mailman/listinfo/coco__;!!FjuHKAHQs5udqho!Kb_6XtXh23w7NSohax4Rz13sgFsq22VYrsIzsNnk1dVCF8Ow07HgPn9hJJ87H7_VsgwzlAkY79swJaI$


More information about the Coco mailing list