[Coco] 4k RAM CoCo

Arthur Flexser flexser at fiu.edu
Sun Jan 25 14:20:00 EST 2015


CLOAD definitely does the equivalent of a NEW when a program is loaded, so
non-overlapping line numbers would be irrelevant.

Art

On Sun, Jan 25, 2015 at 2:06 PM, Joe Grubbs <jsgrubbs at hotmail.com> wrote:

> Hi John,
>
> I can't test this at the moment, but you might try staggering the line
> numbers in each program. In other words, make "MAGICSQ2" start with line
> 110 or something, that way it appends to the current program rather than
> overwriting it (and the CLOAD line that it is in the process of
> interpreting).
>
> Barring that, it's also possible (though I don't remember for certain),
> that running CLOAD simply clears the BASIC program buffer to make way for
> the new program.
>
> -Joe
>
>
> > From: johnmarkmelanie at gmail.com
> > To: coco at maltedmedia.com
> > Date: Sat, 24 Jan 2015 19:54:19 -0600
> > Subject: [Coco] 4k RAM CoCo
> >
> > How do I CLOAD and RUN automatically?
> >
> > 10 REM NAME: MAGICSQR
> > 11 REM BY: JOHN ...
> > 12 REM DATE: 01-24-2015
> > 13 REM ENVIROMNET: TANDY COLOR COMPUTER 1
> > 14 REM RAM: 4K
> > 15 REM ROM: COLOR BASIC
> > 20 PRINT "THE FILLOWING PROGRAM WILL ..."
> > 30 PRINT "THE PROGRAM WILL LOAD FROM TAPE"
> > 40 PRINT "TO ADDITIONAL PROGRAMS."
> > 50 PRINT "MAGICSQR WILL INTRODUCE THE PROGRAM"
> > 60 PRINT "MAGICSQ2 WILL SOLVE THE MAGIC SQUARE"
> > 70 PRINT "MAGICSQ3 WILL PRINT THE RESULTS"
> > 80 PRINT
> > 90 PRINT "TYPE RUN TO CONTINUE."
> > 100 CLOAD "MAGICSQ2":RUN:REM THE RUN IS NEVER REACHED
> > 110 END
> >
> > Perhaps there is a machine language program that will autorun as soon as
> the
> > OK prompt appears following CLOAD?
> >
> > John Mark Mobley
> >
> >
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
>
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list