Login
Back to forumReply to this topicGo to last reply

Posted By

nippur72
on 2008-06-16
07:56:09
 Yape load / save as PRG of BASIC program

I've written a small Basic program in YAPE and saved it "as PRG" with Shift-F8. But when I try to load it with F8, it doesn't LIST. But I'm sure the program is there, I dumped it with an hex viewer. Is there any basic pointer to be initialized?

Posted By

IstvanV
on 2008-06-16
08:47:01
 Re: Yape load / save as PRG of BASIC program

Did you use graphics mode when loading or saving the program ? The start address is relocated to $4001 then, but the load/save PRG file function in emulators does not take that into account. If that is indeed the case, and the graphics mode was used when saving the program, then load it using IEC level drive emulation instead (so the BASIC interpreter will relocate the program back to $1001), and then save the PRG again.

Posted By

SVS
on 2008-06-16
09:04:00
 Re: Yape load / save as PRG of BASIC program

Or
when loading from Yape by F8, just sign the box "load adress" and type in "1001".

Posted By

IstvanV
on 2008-06-16
09:20:36
 Re: Yape load / save as PRG of BASIC program

It does not fix the addresses in the basic program, though, so for example "list" will print garbage until you fix the program e.g. with "renumber".

Posted By

Luca
on 2008-06-16
09:41:03
 Re: Yape load / save as PRG of BASIC program

Use DLOAD"name" to automatically save BASIC stuff from $1001! happy

Posted By

JamesC
on 2008-06-17
00:30:28
 Re: Yape load / save as PRG of BASIC program

ermmmmm DSAVE"filename" to save.... DLOAD"filename" to load it back.... wink

Posted By

Luca
on 2008-06-17
02:22:38
 Re: Yape load / save as PRG of BASIC program

Hahaha, you're right James, I meant DSAVE happy

Posted By

nippur72
on 2008-06-17
06:55:43
 Re: Yape load / save as PRG of BASIC program

Thank you all for the help, I was able to rescue it. It was a short 3d-plot program that I used to write on the plus back in the days and that I now rewrote by memory recall.

Just few lines of code. Unfortunately it's very slow, even in full throttle emulation.



P.S. (OT) I can't find the "register" button/link on this forum...

Posted By

Luca
on 2008-06-17
07:27:47
 Re: Yape load / save as PRG of BASIC program

Nino, compile it with Austrospeed! wink

We do registering by request, but you have to wait Csabo, coz' he's away for vacations at the moment.

Posted By

nippur72
on 2008-06-17
09:36:05
 Re: Yape load / save as PRG of BASIC program

I would like to convert it in assembler instead, just to get used to Plus4 floating point kernal routines. I know that are a bit different from C64/VIC20 ones.



Back to topReply to this topic


Copyright © Plus/4 World Team, 2001-2024. Support Plus/4 World on Patreon