[Coco] [Color Computer] Trouble With Machine Language Prorams

L. Curtis Boyle curtisboyle at sasktel.net
Sun Mar 27 05:12:35 EST 2005


If you are loading an ML programs from cassette, and it don't autostart  
(and is not segmented), you can get the addresses to use with SAVEM using  
the following method:
CLOADM the file.

Get the addresses for the file:
Start Address: PRINT PEEK(487)*256+PEEK(488)
End address: PRINT PEEK(126)*256+PEEK(127)
Exec Address: PRINT PEEK(157)*256+PEEK(158)

SAVEM the file
SAvEM "title.bin",start,end,exec

The Exec address works on disk LOADM's as well, by the way.


On Sat, 26 Mar 2005 14:08:10 -0500, Robert Gault  
<robert.gault at worldnet.att.net> wrote:

> It would help knowing exactly what you are issuing as a command when  
> attempting a SAVEM.
>
> For SAVEM to work, you must know the location in memory of what you want  
> to save. You also need to know the execution address. The syntax would  
> then be SAVEM,"NAME",&Hlow,&Hhigh,&Hexec, where low, high, and exec are  
> the hexadecimal numbers of the respective addresses in memory.
>
> Keep in mind that some programs have multiple load addresses which means  
> a single SAVEM will not work. You would in that case need a sequence  
> with a corresponding sequence to load the program.
>
> jason_harton wrote:
>
>>  God Here We Go Again!
>>  Hi all, it's been a long time between drinks and I finnaly have blown
>> the cobwebs off my old Co Co 3 =) However I am having trouble saving
>> files from cassette to the disk drive and I cant seem to remember the
>> process / commands to do this.
>>  I can get the files to load from the cassette port with the CLOADM
>> command I just cant seem to save the things to disk with the SAVEM
>> command.
>>  Any ideas / suggestions what I'm doing wrong would be great.
>>       Brought to you by the 6809, the 6803 and their cousins! Yahoo!  
>> Groups Links
>>  <*> To visit your group on the web, go to:
>>     http://groups.yahoo.com/group/ColorComputer/
>>  <*> To unsubscribe from this group, send an email to:
>>     ColorComputer-unsubscribe at yahoogroups.com
>>  <*> Your use of Yahoo! Groups is subject to:
>>     http://docs.yahoo.com/info/terms/
>>
>



-- 
L. Curtis Boyle



More information about the Coco mailing list