Page 1 of 1

In a similar vein to running CRT as PRG

Posted: Sun Mar 13, 2005 8:30 am
by Mayhem
I've got hold a game not in GB20 that looks to be rather impressive. However it has only been supplied in the form of emulator snapshots (for emulators no longer supported) or the basic/ML files.

Fortunately the author gives instruction how to get it working on a real Vic20. So assuming you can write a program to run off a d64 in Vice, could someone kindly write a loader program to perform these tasks?

1. Instruct the emulator to load the binary file SORCLIB.BIN beginning at $1200 (this machine code library contains the Windowing routines used).

2. Relocate BASIC to begin at $1CAC. Do this by typing the following BASIC commands: POKE 43, 172: POKE 44, 28

3. If you’re running an emulator other than PCVIC, type the BASIC command NEW.

4. Load the BASIC file SORCERY.BAS beginning at $1CAC (some emulators may require you to rename this file SORCERY.BIN).

5. Type the BASIC command RUN. You should see the title screen.

Posted: Sun Mar 13, 2005 2:40 pm
by carlsson
I would probably load the two files into memory, add the following routine right before the ML library and save the memory dump from $11f2 to the end address of the Basic part:

$11f2 LDA #172
$11f4 STA 43
$11f6 LDA #28
$11f8 STA 44
$11fa JSR $C659
$11fd JMP $C7AE

Then I would let PuCrunch do wonders, given the start address $11f2. You get a single-filed program that starts with RUN and is effectively crunched. If you need help, send me the files and I can assemble (!) it for you.

Posted: Sun Mar 13, 2005 4:18 pm
by Mayhem
Okay, I'll see about sorting something out for you :)

Expect me to ask similar questions about other Vic20 games I can't get working in the quest for having everything 100% for GB20 :P

Posted: Wed Mar 16, 2005 4:44 pm
by Mayhem
Two files in question can be obtained here:

http://62.168.142.47/~mayhem/images/sorcery.zip

Posted: Thu Mar 17, 2005 8:09 am
by carlsson
Back to you: http://www.cbm.sfks.se/files/sorcery.prg

Single-filed, crunched, immediately executable with 16K expansion.

Edit: At first I planned to use the "short" decompression routine instead of the "fast" one, as the Basic program itself takes an eternity to start, but it seems the "short" routine eats part of the program. :shock: Thus, I had to recapitulate to the 20 byte longer "fast" version. :wink:

Posted: Thu Mar 17, 2005 8:33 am
by Mayhem
Cheers, I'll give a go tonight if I can.

I'll be back no doubt with some others in a similar fashion (from the same author). And anything else I can't get to work as part of GB20!

Posted: Thu Mar 17, 2005 8:36 am
by carlsson
Sure. As posted before, I have a pile of previously (?) commerical software single-filed I could upl^H^H^Harchive somewhere. Not sure if I should dump it onto Bo, Marko, you, someone else or all of them.

Posted: Thu Mar 17, 2005 10:05 am
by Mayhem
Best to wait until I reach Z in the GB20 list :lol:

Which at the moment could be god knows when. Still, it's getting there. Might give it a hard go over this weekend and purge a couple more letters down the way...

Posted: Sat Mar 19, 2005 1:51 am
by tlr
carlsson wrote:Sure. As posted before, I have a pile of previously (?) commerical software single-filed I could upl^H^H^Harchive somewhere. Not sure if I should dump it onto Bo, Marko, you, someone else or all of them.
I wonder about this aswell. I have the Omega-Race conversion that I think should be archived.

Posted: Tue May 03, 2005 2:36 pm
by Mayhem
I've got another couple shortly, one that needs to remain in TAP form somewhere and one as it isn't in GB20, can be PRGed up.

Posted: Wed May 04, 2005 12:50 am
by carlsson
PRG me up, Mayhem! :D

Btw, it reminds me that a few years ago I was planning to convert Golf! by Audiogenic from tape to disk. It loads its courses as sequential data from the tape, so it would be some work.

Posted: Tue Oct 10, 2006 9:59 am
by nbla000
Good works, i was busy for a while, so i cannot help you, sorry.

Posted: Tue Oct 10, 2006 11:00 am
by orion70
carlsson wrote:Back to you: http://www.cbm.sfks.se/files/sorcery.prg
Single-filed, crunched, immediately executable with 16K expansion.
Great Carlsson, be prepared to do it again for version 1.1 (see http://sleepingelephant.com/ipw-web/bul ... php?t=1406)

Cheers. :P