84751 8-JAN 12:04 Games & Graphics
Shanghai for Level 2
From: COLORSYSTEMS To: ALL
I recently downloaded Shawn (EARTHER) Driscoll’s Shanghai for Level 2. Shawn
did an excellent job working within the confines of BASIC09 and illustrates
well the capabilities of his BASIC09 tools package, GUIB. Of course, it
goes without saying that it is slow in response and action. I had heard
that the OSK basic on my MM/1a was pretty much compatable at the source
level so I was wondering how fast it would run on my OSK system. I also have
a copy of Kevin Darling’s bgfx which is pretty much compatable with gfx2.
So, I go an edit the source to:
1) change all gfx2 calls to bfgx calls.
2) changed the window type codes in the DWSet and the GPLoad calls
from type 8 to type 3.
3) Haven’t changed these yet, but I suppose I will need to add second
and third params to the Palette calls there are.
4) Made the same changes in the guib.b09 program. It loads with no err
and packs just fine.
I am getting an error 102 though when I try to load the Shanghai.b09 and the
stopping point is accessing the return value from a SYSCALL. If I hadn’t taken
Basic manual out of my OSK manual set (you know typical it is for MW to have
more documentation than will fit in the binders they give you, right?) to
make some room (I hardly EVER mess with basic), I probably could look this
up for myself, but I have missplaced where I put the manual I extracted.
The program DIMs a variable regs to the datatype registers OK. But after a
SYSCALL to determine the PID, how do I reference the returned value in
Register D0? The CoCo3 version got it from regs.a, but there is no a register
on a 68K MPU. It comes back in the D0 register. I tried changing the
variable regs.a to regs.d0 but that gives me an 020 error during the
Can anyone help? If so, with Shawn’s permission, I will upload the OSK
source for this nice game.
Zack C Sessions
“I am Homer of Borg, prepare to be assimi … OOOOHHH, DOUGHNUTS!”