[Coco] CLOAD to LOAD help pls

Arthur Flexser flexser at fiu.edu
Mon Nov 13 17:15:09 EST 2017


If you can show the program listing, that would be helpful.

Art

On Mon, Nov 13, 2017 at 3:39 PM, rietveld rietveld <rietveldh at hotmail.com>
wrote:

> If I understand you correctly then I should change line 400 to read EXEC
> 32027 to reflect the memory location I am using?
>
> Sent from my BlackBerry Passport Red Edition.
>   Original Message
> From: Arthur Flexser
> Sent: Monday, November 13, 2017 3:34 PM
> To: CoCoList for Color Computer Enthusiasts
> Reply To: CoCoList for Color Computer Enthusiasts
> Subject: Re: [Coco] CLOAD to LOAD help pls
>
>
> There are different techniques for end-packing code.  If the exec address
> SP is specified properly with respect to the end-of-program pointer at
> $1B-1C so that you are exec'ing to an address that is some specified number
> of bytes below the end of program, it should work okay when loaded from
> disk.  If the programmer didn't do it that way, but specified the exec
> address SP as some constant, then it'll be messed up when the program is
> moved to disk.
>
> Art
>
> On Mon, Nov 13, 2017 at 3:23 PM, rietveld rietveld <rietveldh at hotmail.com>
> wrote:
>
> > I tried just CLOAD and SAVE but when I run the program from disk I get an
> > error in the line 400 EXEC SP.   It works fine when CLOAD ed from tape
> and
> > run
> >
> > Sent from my BlackBerry Passport Red Edition.
> >   Original Message
> > From: Arthur Flexser
> > Sent: Monday, November 13, 2017 3:15 PM
> > To: CoCoList for Color Computer Enthusiasts
> > Reply To: CoCoList for Color Computer Enthusiasts
> > Subject: Re: [Coco] CLOAD to LOAD help pls
> >
> >
> > I would think all you'd need to do is CLOAD the program and then SAVE it
> to
> > disk.  If it has end-packed ML code, that should be carried right along
> and
> > needn't be saved separately.  Just LOAD the disk program and run it.
> >
> > Art
> >
> > On Mon, Nov 13, 2017 at 3:04 PM, rietveld rietveld <
> rietveldh at hotmail.com>
> > wrote:
> >
> > > Hi
> > >
> > > I have a BASIC program on tape that has a ML program appended to the
> end
> > > of it. When I 'CLOAD' on my 32k coco1 the BASIC and ML program load. I
> > RUN
> > > the BASIC program and it loads the ML into upper RAM.
> > > I want to use this program from disk instead of tape for ease of
> loading
> > I
> > > saved the BASIC program with, 'SAVE "PVR25.BAS".    And I since the ML
> > was
> > > moved to high memory I was able to 'SAVEM
> "PVR25.bin",32027,32767,32027.
> > >    I just don't know how to append the two problems together like when
> > they
> > > load from tape I need to LOAD"PvR25.BAS" and LOADM"PVR25.BIN".   The
> > BASIC
> > > program displays the program instructions then loads the ML into high
> > > memory. If I just LOADM"PVR25.BIN " will it automatically be moved to
> > 32027
> > > where I had saved it from?
> > >
> > > Sent from my BlackBerry Passport Red Edition.
> > >
> > > --
> > > 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
> >
> > --
> > 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
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>


More information about the Coco mailing list