Login
Back to forumReply to this topicGo to last reply

Posted By

pooky2483
on 2023-12-17
16:31:29
 Not sure if saving ok as nothing will load

I'm running YAPE and in the monitor I wrote a small program and I want to save it.

I have tried TAP & D64 but I'm unable to load anything back.
I've created images of both TAP & D64 then attached them (not at the same time) then saved them using
S"BOUNCYBALL",1,1000,1080 for TAP and S"BOUNCYBALL",8,1000,1080 for D64

I then disconnect the TAP & D64
Then I open another instance of YAPE to load in the saved program, but nothing loads
Using L"BOUNCYBALL",1,1000 & L"BOUNCYBALL",8 (Note:when I enter the start address of 1000,it fails to exeute the command)

Posted By

Csabo
on 2023-12-17
16:41:27
 Re: Not sure if saving ok as nothing will load

(Hey-hey, welcome to the forum!) Is your program BASIC or Machine Language?

If it's BASIC, you should save it from $1001, not $1000. By default, programs load to $1001 (more specifically, to where $2B/$2C points, which is $1001 by default). If you save your program from $1001, it should all be fine. You don't need to specify the loading address for the L command.

If it's ML, I would suggest not starting the code from $1000, for the same reason as above happy

Hope this helps, be sure to ask any follow up questions happy

Posted By

pooky2483
on 2023-12-17
17:05:39
 Re: Not sure if saving ok as nothing will load

As it happens, I was starting @ $1000. Guess I'll be rewriting it out then. Lucky I saved it on my PC as a text file.
I'll be doing that tomorrow as I'm off to bed now.

I'll let you know how I get on later tomorrow.

Nite nite

Posted By

pooky2483
on 2023-12-18
07:12:48
 Re: Not sure if saving ok as nothing will load

I've moved the program from location $1000 to $1010 and saved it.
Then on another instance of YAPE, I tried to load it into memory but it failed with ' I/O Error #4'

Posted By

gerliczer
on 2023-12-18
08:18:41
 Re: Not sure if saving ok as nothing will load

Try the following:
- Press Alt+Q
- select Drive emulation and 1551 drive emulation [IEC level/performance mode] in the list
- set Selected IEC drive working folder: to your working folder
- save your programme with s"name",8,start_address,end_address
Is it any better?



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024