In a similar vein to running CRT as PRG

You need an actual VIC.

Moderator: Moderators

User avatar
Mayhem
High Bidder
Posts: 2764
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

In a similar vein to running CRT as PRG

Postby Mayhem » Sun Mar 13, 2005 8:30 am

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.
Lie with passion and be forever damned...

User avatar
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Postby carlsson » Sun Mar 13, 2005 2:40 pm

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.
Anders Carlsson

Image Image Image Image Image

User avatar
Mayhem
High Bidder
Posts: 2764
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Postby Mayhem » Sun Mar 13, 2005 4:18 pm

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
Lie with passion and be forever damned...

User avatar
Mayhem
High Bidder
Posts: 2764
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Postby Mayhem » Wed Mar 16, 2005 4:44 pm

Two files in question can be obtained here:

http://62.168.142.47/~mayhem/images/sorcery.zip
Lie with passion and be forever damned...

User avatar
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Postby carlsson » Thu Mar 17, 2005 8:09 am

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:
Anders Carlsson



Image Image Image Image Image

User avatar
Mayhem
High Bidder
Posts: 2764
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Postby Mayhem » Thu Mar 17, 2005 8:33 am

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!
Lie with passion and be forever damned...

User avatar
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Postby carlsson » Thu Mar 17, 2005 8:36 am

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.
Anders Carlsson



Image Image Image Image Image

User avatar
Mayhem
High Bidder
Posts: 2764
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Postby Mayhem » Thu Mar 17, 2005 10:05 am

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...
Lie with passion and be forever damned...

tlr
Vic 20 Afficionado
Posts: 438
Joined: Mon Oct 04, 2004 10:53 am

Postby tlr » Sat Mar 19, 2005 1:51 am

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.

User avatar
Mayhem
High Bidder
Posts: 2764
Joined: Mon May 24, 2004 7:03 am
Website: http://www.mayhem64.co.uk
Location: London

Postby Mayhem » Tue May 03, 2005 2:36 pm

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.
Lie with passion and be forever damned...

User avatar
carlsson
Class of '6502
Posts: 5516
Joined: Wed Mar 10, 2004 1:41 am

Postby carlsson » Wed May 04, 2005 12:50 am

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.
Anders Carlsson



Image Image Image Image Image

User avatar
nbla000
Salmon Run
Posts: 2426
Joined: Thu Oct 13, 2005 8:58 am

Postby nbla000 » Tue Oct 10, 2006 9:59 am

Good works, i was busy for a while, so i cannot help you, sorry.

User avatar
orion70
Meteo VIC
Posts: 3276
Joined: Thu Feb 02, 2006 4:45 am
Location: Piacenza, Italy
Occupation: Biologist

Postby orion70 » Tue Oct 10, 2006 11:00 am

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


Return to “Emulation and Cross Development”

Who is online

Users browsing this forum: No registered users and 0 guests