Login
Back to forumSee the full topicGo to last reply

Posted By

Csabo
on 2018-11-15
18:52:40
 Re: Translate

The start and end address in YAPE should be automatically pre-filled from the BASIC vectors. ($2B/$2C points to the start of the program, $2D/$2E points to the end.) Unless the TAP file you loaded overwrote those addresses, this should work out of the box, without you having to do anything!

Let's assume that your TAP file overwrote those bytes... You'll have to manually find out where your program ends. Under normal circumstances, it will start from $1001. If you have a C16 program, you can just save it until $4000. Otherwise, use monitor, and look where the program "ends". Basically, after a while, the memory should be untouched, depending on YAPE's "powerup pattern" configuration (you can find this in Machine / Configuration). So, if you can see that let's say after $2800, there's nothing else, you can use $1001 / $2800 as your start/end addresses.

If you don't want to guess, you could try $1000/$FD00, that will save the entire ROM. See if your program file starts when saved like that. If it does not - you probably have a program that modifies itself during initialization - but let's leave that for later.

Let me know if this helps happy



Back to top


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