05 December 2010, 01:06 | #1 |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 54
Posts: 652
|
Aquanaut (F1) v1.3 Uploaded to the Zone (Please Test and Provide Feedback)
version 1.3 (12-04-2010) done by Keith Krellwitz (Abaddon):
- Added Quit key to support 68000 quit (for some reason removed) - Added Custom2=1 to skip blitter patch - Added support for 2nd fire button (cycle weapons) - Added Custom3=1 CD32 controller support (CD32 support is based on Hungry Horace's update to CarVup) - Added custom tag support when using Custom3=1 |
05 December 2010, 17:32 | #2 |
Amiga Lover
Join Date: Jan 2010
Location: Stockholm / Sweden
Age: 46
Posts: 612
|
Awesome! Thanks.
|
07 December 2010, 00:14 | #3 |
CD32 Fanboi
Join Date: Nov 2006
Location: Exeter, UK
Age: 45
Posts: 528
|
Sadly this, like the previous versions, still doesn't work on a real CD32.
At the 'press fire to play' title screen, it just sits, flicking through the text screens and not recognising the joypad. I have of course set custom3=1 |
07 December 2010, 00:29 | #4 |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 54
Posts: 652
|
Unfortunately, I don't have a CD32 or a CD32 controller and have to rely on WinUAE with joypad emulation. Did you try it without preload? The game itself takes 1 meg. Are you able get the game to start if you don't set custom3=1?
|
07 December 2010, 17:59 | #5 |
CD32 Fanboi
Join Date: Nov 2006
Location: Exeter, UK
Age: 45
Posts: 528
|
Hi Abaddon,
Yeah, it's annoying because it does work under emulation, but not on the real thing! I tried to get the previous WHDLoad version of this to work in the past, with the same results. I don't have a standard joystick to hand, so I'm not sure if it is a hw incompatibility issue with the CD32 or the game not recognising the red button as fire on the CD32. I tried using a normal working CD32 pad and Paul Willingham's PSX-CD32 adapter. Using it with or without preload has the same effect; neither work. Don't worry too much about it; I assume it is the original coders fault. Other games, such as Doody (which I assume was coded with the same software) have the same problem. It would be nice if someone could explain what causes the CD32 to act like this though... Also, IIRC, you can even get the original to load on the CD32 by creating an ISO with appropriate assigns in the sartup-seq. I did this on my first attempt to get the game to play on the CD32, and again, same result. So, in a nutshell, it isn't a bug created by you, but by the original coder. Last edited by TCD; 07 December 2010 at 18:16. Reason: Back to back posts merged. Use the edit function. |
07 December 2010, 19:14 | #6 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
What kind of CD32 pad read routine is used?
|
07 December 2010, 22:42 | #7 |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 54
Posts: 652
|
I think the routine was originally created by Asman and modified by Wepl & Girv. See the thread http://eab.abime.net/showthread.php?t=29768 |
08 December 2010, 01:00 | #8 |
Wipe-Out Enthusiast
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
|
oh, Keith... you using the same CD32 pad routine i also used, from that thread?
if so, you'll need to patch the 'fire' button to red for when the CD32 mode is enabled for 100% support - I assume you are calling the pad-read routine inside the VBI as well? I had the same problem in early versions of my Midnight Resistance patch iirc edit: http://eab.abime.net/showthread.php?p=615798#post615798 Toni also goes on to explain why edit 2: i think that routine also needs a slight modification to prevent it trashing d0 ... or that may only have been in the version i had edited! my apologies that i havent been around to test much lately :/ ... should have a bit more time over xmas though! |
08 December 2010, 01:17 | #9 |
CD32 Fanboi
Join Date: Nov 2006
Location: Exeter, UK
Age: 45
Posts: 528
|
Hi again,
Just thought that I should mention that I read your Midnight Resistance thread HH, and you say you haven't heard of games that don't work with a CD32 pad. Well, the original release (both L1 and AF) of Aquanaut and Doody (http://hol.abime.net/5407) are two games that do not They didn't when I had an A1200 years ago with a CD32 pad (IIRC), and they don't work on a CD32 console either. Alien Bash II is another culprit. It registers the red button as joy fire 1 and 2 being pressed simultaneously. I believe these errors are all caused due to incompatibility with the CD32 pad output with the native code of these games. The point I'm making is that I'm not complaining about the patch offered here, but rather the actual code in the original games. If you'd like me to test MR on a real CD32, send me a PM. |
08 December 2010, 01:35 | #10 |
Wipe-Out Enthusiast
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
|
MR was already tested on a real machine i think (hope) i would have heard of any problems by now! If you really want to go back and test it again, go-ahead, and post a reply in the previous thread!
I get the point you are making about the original code, i'm just pointing out to Keith that *if* he is using the same code that I used (from the thread he linked to) and patching it in the same way, then these are problems I have already encountered .... that CD32 reading code actually seems to "kill" the original fire-button reading. A full CD32 patch can bypass the original code for fire/red anyway, eliminating any original incompatibilities/bugs. I had already tested this slave for keith using my Cd32/PS adaptor and CD32-Comp Pro on my A1200, and I hadnt had any such problems, but Keith may have changed the routine since then, or it may only occur with the original C= pad and your adaptor. edit: I understood from previous posts (by others) that the problem with Alien Bash is actually caused by the second button code, rather than the fire button. I have never actually looked into it, as it is assumed the original game source may be up for looks soon anyway. Last edited by Hungry Horace; 08 December 2010 at 01:44. |
08 December 2010, 03:17 | #11 | ||
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 54
Posts: 652
|
Quote:
I am using the include from your Car-Vup update. I was at work and did not have the source handy. And I have patched the Red button as well. If I don't patch the red button fire does not work at all in CD32 mode. Not much has changed since you tested it...at least not for the CD32 controls. I did add support for the custom tooltype to pass in the name for the high score table when using the CD32 option. I have one more change to make to the passing in of the username though. Quote:
Last edited by TCD; 08 December 2010 at 07:20. Reason: Back to back posts merged. Use multi-quote. |
||
08 December 2010, 09:20 | #12 |
CD32 Fanboi
Join Date: Nov 2006
Location: Exeter, UK
Age: 45
Posts: 528
|
Thanks - will try again when I get home tonight (fingers crossed)
|
08 December 2010, 10:13 | #13 |
68k
Join Date: Sep 2005
Location: Somewhere
Posts: 828
|
Hi
@Hungry Horace Could you upload or sent to me your patched cd32 pad routine. Thanks. @Abaddon Could you sent to me your modifed version of ReadJoypad.s ( I'm to lazy to resource your slave ). Thanks Regards Last edited by Asman; 08 December 2010 at 10:33. |
08 December 2010, 14:37 | #14 |
Wipe-Out Enthusiast
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
|
|
08 December 2010, 17:13 | #15 | |
Registered User
Join Date: Apr 2010
Location: Chicago/USA
Age: 54
Posts: 652
|
Quote:
One thing the I found odd is when patching the red button...basically replacing the btst #7,$bfe001 I also had to change the bne to a beq or beq to a bne. |
|
08 December 2010, 17:16 | #16 | |
68k
Join Date: Sep 2005
Location: Somewhere
Posts: 828
|
Quote:
Thank you. Can someone explain me in simply words where is the problem ( game checks red button in cd32 way ( potgo things ) but not checks in normal way or I'm missing something ). Regards |
|
08 December 2010, 17:50 | #17 |
Wipe-Out Enthusiast
Join Date: Nov 2005
Location: .
Age: 43
Posts: 2,538
|
Hi Asman,
That's correct - by introducing the readjoypad.s code into the VBI, the original joystick fire tests stop working. |
08 December 2010, 18:11 | #18 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
I think the problem is missing bset d3,(ciapra,a1) (at the end of read routine), without this you always get zero if joystick/pad does not have pullup resistor in firebutton line.
Last edited by Toni Wilen; 08 December 2010 at 18:11. Reason: ciapra, not ddra |
08 December 2010, 20:41 | #19 |
Moderator
Join Date: Jan 2002
Location: France
Posts: 491
|
why ReadJoypad.s tests 8 buttons ?
cd32 pad has only 7 |
08 December 2010, 20:55 | #20 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,517
|
(not actually answer to your question)
"8th button" is always "pressed", this can be used to detect if CD32 pad is connected. (At least one non pressed button and 8th is pressed = probably CD32 pad connected) |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Crackdown v1.2 Uploaded to the Zone (Please Test and Provide Feedback) | Abaddon | project.WHDLoad | 12 | 01 June 2013 16:15 |
Commando v1.2 Uploaded to the Zone (Please Test and Provide Feedback) | Abaddon | project.WHDLoad | 0 | 02 October 2012 05:00 |
Take'em Out v1.0 Uploaded to the Zone (Please Test and Provide Feedback) | Abaddon | project.WHDLoad | 6 | 01 December 2011 14:46 |
Armalyte v1.2 Uploaded to the Zone (Please Test and Provide Feedback) | Abaddon | project.WHDLoad | 0 | 30 January 2011 22:46 |
Satan v1.1 Uploaded to the Zone (Please Test and Provide Feedback) | Abaddon | project.WHDLoad | 20 | 25 September 2010 15:59 |
|
|