[Coco] CLOAD to LOAD help pls

rietveld rietveld rietveldh at hotmail.com
Mon Nov 13 17:38:34 EST 2017


Sure.    Just stepped out.    But as soon as I get home I will screen shot those lines.   Thanks for looking at it

Sent from my BlackBerry Passport Red Edition.
  Original Message
From: Arthur Flexser
Sent: Monday, November 13, 2017 5:34 PM
To: CoCoList for Color Computer Enthusiasts
Reply To: CoCoList for Color Computer Enthusiasts
Subject: Re: [Coco] CLOAD to LOAD help pls


Can you list the statement(s) where the value of SP is specified or
computed?

Art

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

> No. The basic program just does a line 400 exec sp. ?
>
> Sent from my BlackBerry Passport Red Edition.
>   Original Message
> From: Arthur Flexser
> Sent: Monday, November 13, 2017 5:27 PM
> To: CoCoList for Color Computer Enthusiasts
> Reply To: CoCoList for Color Computer Enthusiasts
> Subject: Re: [Coco] CLOAD to LOAD help pls
>
>
> I may have misunderstood what you meant when you said the ML was "appended"
> to the Basic program.  If it is endpacked ML, not visible in the listing,
> then ordinarily it would be executed right where it is, not moved to high
> memory.  Maybe you just meant that the ML is poked into memory from DATA
> statements that are found near the end of the program?
>
> Art
>
> On Mon, Nov 13, 2017 at 5:21 PM, rietveld rietveld <rietveldh at hotmail.com>
> wrote:
>
> > Hi.   Can I email to you tonight?
> >
> > Sent from my BlackBerry Passport Red Edition.
> >   Original Message
> > From: Arthur Flexser
> > Sent: Monday, November 13, 2017 5:16 PM
> > To: CoCoList for Color Computer Enthusiasts
> > Reply To: CoCoList for Color Computer Enthusiasts
> > Subject: Re: [Coco] CLOAD to LOAD help pls
> >
> >
> > 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
> > >
> >
> > --
> > 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