|
Post by Packobilly on Feb 25, 2020 11:54:56 GMT
Hi, everybody!
My game is in 30674, and 29402 in length. Is it possible change this location in memory?
i.e. LOAD "" CODE 24000, 29402
and then save it in
SAVE "agdgame" CODE 24000
Thanks!
|
|
|
Post by Packobilly on Feb 27, 2020 15:05:03 GMT
Edited. What a mistake!! Now the question is right. Sorry.
|
|
|
Post by Jonathan Cauldwell on Feb 28, 2020 19:35:10 GMT
It's only possible to change the location of your game in MPAGD. However, if you're using AGD versions 4.0 to 4.7 and you're not using adventure mode you can move it via MPAGD. MPAGD automatically locates games at 24000 (or 24576, I can't remember off the top of my head) so you'll have something like 30% more room for game data.
To relocate an AGD game follow these instructions:
Save your AGD game, then put your emulator into 48K mode and load your game to play it. Once it is in memory, save a 48K snapshot (.SNA) using your emulator
Start MPAGD and select the option to import a snapshot. Select the snapshot file you just created and your game should be imported. Sprites, screens, scripts, the lot. Check everything is where it should be using the editors then select the option to export your game. MPAGD will prompt for a name, eg MYGAME. It will then generate a .AGD source file and ask if you wish to build it (or words to that effect). Select yes and it will build your game. If you're using the build suite it will build the game for you and fire up an emulator to run it, otherwise you'll be left with an assembler source file, eg MYGAME.ASM
You can use the default start address or edit MYGAME.ASM and change the number after the "org" at the top of the code.
Remember, once you've run out of RAM in AGD you can always use MPAGD to "finish off" a game and add more sprites, screens, code, redefineable keys etc in this way. You can also convert it to other platforms
|
|
|
Post by Packobilly on Mar 1, 2020 19:06:27 GMT
Ok. I did my game in AGD 4.8 My game finishes at 60076 and music starts at 60000, and any of them can be changed. THANKS, anyway, Jonathan; now I know it for the next time... (Im happy with my non-music game)
|
|