Games with ZXpand JOYSTICK base

General games-related topics
User avatar
1024MAK
Posts: 5087
Joined: Mon Sep 26, 2011 10:56 am
Location: Looking forward to summer in Somerset, UK...

Re: Games with ZXpand JOYSTICK base

Post by 1024MAK »

RWAP wrote:Ah but they don't work with the ZXpand Joystick....
True :lol:
ZX81 Variations
ZX81 Chip Pin-outs
ZX81 Video Transistor Buffer Amp

:!: Standby alert :!:
There are four lights!
Step up to red alert. Sir, are you absolutely sure? It does mean changing the bulb :!:
Looking forward to summer later in the year.
User avatar
bobs
Posts: 325
Joined: Thu Aug 27, 2009 10:49 pm
Location: UK
Contact:

Re: Games with ZXpand JOYSTICK base

Post by bobs »

RWAP wrote:Ermm - I tried it at the Spectrum is 30 show yesterday where I had been demo'ing programs all day, and I couldn't get it to respond to the joystick...
AAARRRRGGGGGHHHHHH!!!! :lol:

I'll try and refactor MinerMan to move the initial polling of the joystick to somewhat earlier in the code, so it has a good couple of 100 t-states at least in which to do its stuff. (From a programming point-of-view this is all rather a pain, but I guess there are hardware-type reasons why this is as it is).
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: Games with ZXpand JOYSTICK base

Post by sirmorris »

:oops: Sorry for any inconvenience - I should have thought of the effect of adding more command code in between the initial poll and the execution of the interface joystick code :oops:

C
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey »

sirmorris wrote:I'm trying something new here. Normally I'd release a patched P file but this time I've implemented something that I've been thinking about for a while. Rising to the challenge (bait?) of Yerzmyey one more time may I present:
INVASION FORCE ZXPAND JOYSTICK PATCHER!
You'll need the copy of invasion force as linked above. Copy the patcher and the original P file into the same location. Run the patch. Simple!
The patcher will install the joystick routines and a loader into RAM at 8K. INVASION.P will then be loaded into memory and the keyboard reading routines redirected so that they call into the new code. At this point the BASIC and machine stacks are fixed up and the newly loaded program is executed :ugeek: The original code on disk (ahem, card) is never altered, only the memory-resident image.
So for the invader-stoppers out there: Use the joystick button to advance through the intro screens; pressing UP will select Expert mode, and DOWN will select Beginner at the appropriate time. All the original keys still work.
I took it upon myself to fix something that I thought spoiled the game a little - and that is the fact you couldn't move and shoot at the same time. If anyone objects to this fix I can either change it permanently so it's original use is preserved, or provide an alternative patcher.
For anyone interested in how this was done, I've also included the source for the patcher and the batch file used to build it.
Enjoy!
Charlie
NOTE: Because I've used loading routines which are only in ROM version 60 and above (PRINT PEEK 7976 will tell you what you have) I'm afraid those with older firmware will have to either update their EPROMs or request a change to the patcher, which I'll consider. I want to move the majority of ZXpand users onto V6+ code so that the useful facilities available in this version can be more widely used. EPROM updates are available for the cost of return postage when the old EPROM is returned. For those that can burn EPROMs themselves the binary is available.

OK, it doesn't work on Windows XP. It displays thousands of informations like: "name 'tasm' isn't recognized as an internal nor external command" and so on.
Maybe I understand You wrong and I should only put both P files on the SD, without doing anything on Windows?
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey »

sirmorris wrote:Seeing as I was busy with that kind of thing;
Here's FUNGALOIDS!
Put the patcher in the same folder as the P and run it (P also attached, in the source folder) - and you can control the ship with the joystick.
Happy ... happy, err funging? :?
C
This one also doesn't work.
On Windows it writes stuff like mentioned above, but just for test I put both P files in one folder on ZX81. No joystick.
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: Games with ZXpand JOYSTICK base

Post by sirmorris »

For these you just need to put both P files on zxpand. Run the patch and it should auto-magically load and run the game with the patches installed...

C
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey »

- put both P files on zxpand.
- Run the patch
--------------------
Yes. This sounds much more simple.
I will do it tomorrow.
Thx a lot!
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
User avatar
yerzmyey
Posts: 1240
Joined: Thu May 15, 2008 10:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey »

"This patcher requires ZXpand EPROM version 6 or later"
0/70
IN NIHILUM REVERTERIS - a big text-adventure game for ZX81: http://tiny.pl/g2m6m
"MONOCHROME" issue 5 - (Spring 2014) free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX81 COMPETITIONS 2007/2009: http://zx81.republika.pl/
sirmorris
Posts: 2811
Joined: Thu May 08, 2008 5:45 pm

Re: Games with ZXpand JOYSTICK base

Post by sirmorris »

HHmm. I thought we'd upgraded you at Mahlerts. I'll investigate.
User avatar
Andy Rea
Posts: 1606
Joined: Fri May 09, 2008 2:48 pm
Location: Planet Earth
Contact:

Re: Games with ZXpand JOYSTICK base

Post by Andy Rea »

I think 5.1 was the latest rom version at Mahlerts.... Least thats my excuse for still having a ZXpand with a 5.1 Rom on it....

Andy
what's that Smell.... smells like fresh flux and solder fumes...
Post Reply