[Coco] [Color Computer] pagetable.com > Blog Archive > Bill Gates' Personal Easter Eggs in 8 Bit
John
johnguin at hotmail.com
Thu Oct 2 20:37:50 EDT 2008
Hello Art,
Is this tokenization to one byte the functionality that provides "shortcuts"
like typing "?" for "PRINT" ? I've always wondered why that one command had
such a shortcut.
Just curious,
John
-----Original Message-----
From: coco-bounces at maltedmedia.com [mailto:coco-bounces at maltedmedia.com] On
Behalf Of Arthur Flexser
Sent: Thursday, October 02, 2008 12:06 AM
To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] [Color Computer] pagetable.com > Blog Archive > Bill
Gates' Personal Easter Eggs in 8 Bit
All CoCo commands are tokenized to a single byte. (Functions, to
distinguish
them from commands, use two bytes.) This excludes commands like SAVEM, in
which
the "M" essentially acts as an argument to the SAVE command, which is
efficient
for saving ROM space and adds negligibly to execution time.
Art
On Wed, 1 Oct 2008, James Diffendaffer wrote:
>
> The Dragon's interpreter is faster than the CoCo's.
> That alone should tell you the CoCo's Basic wasn't optimized well.
> They didn't even bother to worry about what tokens were one or two
> bytes. The most commonly used commands should have used single byte
> tokens but not all do.
>
--
Coco mailing list
Coco at maltedmedia.com
http://five.pairlist.net/mailman/listinfo/coco
More information about the Coco
mailing list