Games with ZXpand JOYSTICK base

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

Re: Games with ZXpand JOYSTICK base

Post by 1024MAK » Tue Sep 18, 2012 4:20 pm

RWAP wrote:Ah but they don't work with the ZXpand Joystick....
True :lol:

User avatar
bobs
Posts: 274
Joined: Thu Aug 27, 2009 9:49 pm
Location: Derbyshire, UK
Contact:

Re: Games with ZXpand JOYSTICK base

Post by bobs » Tue Sep 25, 2012 12:45 pm

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).

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: Games with ZXpand JOYSTICK base

Post by sirmorris » Tue Sep 25, 2012 1:55 pm

: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
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
yerzmyey
Posts: 1228
Joined: Thu May 15, 2008 9:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey » Fri Oct 05, 2012 3:43 pm

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?
"FERENGI" - an arcade game for ZX81: http://tiny.pl/hp3bq
"MONOCHROME" issue 5 (Spring 2014) - a free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX-81/TS1000/TS1500 COMPETITIONS 2007/2009: http://zx81.republika.pl/

User avatar
yerzmyey
Posts: 1228
Joined: Thu May 15, 2008 9:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey » Fri Oct 05, 2012 3:48 pm

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.
"FERENGI" - an arcade game for ZX81: http://tiny.pl/hp3bq
"MONOCHROME" issue 5 (Spring 2014) - a free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX-81/TS1000/TS1500 COMPETITIONS 2007/2009: http://zx81.republika.pl/

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: Games with ZXpand JOYSTICK base

Post by sirmorris » Fri Oct 05, 2012 4:32 pm

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
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
yerzmyey
Posts: 1228
Joined: Thu May 15, 2008 9:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey » Fri Oct 05, 2012 8:35 pm

- put both P files on zxpand.
- Run the patch
--------------------
Yes. This sounds much more simple.
I will do it tomorrow.
Thx a lot!
"FERENGI" - an arcade game for ZX81: http://tiny.pl/hp3bq
"MONOCHROME" issue 5 (Spring 2014) - a free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX-81/TS1000/TS1500 COMPETITIONS 2007/2009: http://zx81.republika.pl/

User avatar
yerzmyey
Posts: 1228
Joined: Thu May 15, 2008 9:11 am
Location: Rubber Planet
Contact:

Re: Games with ZXpand JOYSTICK base

Post by yerzmyey » Sat Oct 06, 2012 7:06 pm

"This patcher requires ZXpand EPROM version 6 or later"
0/70
"FERENGI" - an arcade game for ZX81: http://tiny.pl/hp3bq
"MONOCHROME" issue 5 (Spring 2014) - a free paper/PDF magazine about ZX81: http://tiny.pl/q2m44
ZX-81/TS1000/TS1500 COMPETITIONS 2007/2009: http://zx81.republika.pl/

User avatar
sirmorris
Posts: 2699
Joined: Thu May 08, 2008 4:45 pm
Location: oxon, uk

Re: Games with ZXpand JOYSTICK base

Post by sirmorris » Sat Oct 06, 2012 8:23 pm

HHmm. I thought we'd upgraded you at Mahlerts. I'll investigate.
--=== ZXpand+ ... A more moderner all-in-one upgrade solution for ZX81 ===--
* SD/MMC storage * 32K Hires-capable RAM * AY sound chip * Joystick port * Serial *
* BASIC enhancements - plug & play * Reset button * Auto-boot facility *

User avatar
Andy Rea
Posts: 1268
Joined: Fri May 09, 2008 1:48 pm
Location: notts UK

Re: Games with ZXpand JOYSTICK base

Post by Andy Rea » Sat Oct 06, 2012 9:44 pm

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
6 x ZX81, 1 x TS1500 , 1 x +3e, 1 x timex 2040 printer, 1 x timex 2020 cassette deck, siclair printer and some spectrum

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest