[Coco] Size limit for loadm?

Don Barber don at dgb3.net
Wed Mar 9 06:11:55 EST 2022


Sorry I wasn’t clear. I am using basics loadm. The io routines are chrout and chrin found around $a000 in the rom.

Isn’t the stack at $8000 by default so an 8k load would overwrite it?

Sent from my iPhone

> On Mar 9, 2022, at 2:48 AM, Robert Gault <robert.gault at att.net> wrote:
> 
> That should not be a problem but will depend on whether the program is self starting. If it is not self starting, you may need to PCLEAR some memory or adjust the location where Basic expects programs to be located. 
> It would help if you report any errors you are getting or exactly what problems you are seeing. What is your program supposed to be doing? Why do you want it to load at $E00? Is it a program or some type of data file? 
> You might even consider posting the source code for us to look at, test, and offer suggestions for getting it to work as desired.
> Sent from AT&T Yahoo Mail on Android 
> 
>  On Tue, Mar 8, 2022 at 11:12 PM, Don Barber<don at dgb3.net> wrote:   Is there a size limit for .bin files loaded for disk? I’ve compiled an 8k .bin, with org set to $0e00, and with my own IO routines (so don’t even need to worry about overwriting the rom)…but getting weird issues on loading. I think I might be overwriting the return stack for the loadm call. Any advice?
> Sent from my iPhone
> 
> -- 
> 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