Search found 149 matches

by richw
Sat Feb 16, 2019 6:02 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

Re. Compiling USBJoystick, sorry, I should have provided some guidance! There was a compiled module in there, and I usually run MkRam to build. My DDE isn't very recent, but you do need OSLib installed. I have never ran MkDebug! It is odd, because I have little in my boot sequence, and if I rmkill a...
by richw
Thu Feb 14, 2019 8:13 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

I have tried out a couple of games, and things have been running and exiting quite nicely. So good stuff.

I still have my problem with pointerv and E-Type. I meant to attach this source earlier... It crashes even if there is no code in the pointerv hook!
by richw
Tue Feb 12, 2019 9:29 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

Hmm, E-Type isn't locking the machine (I think!). It just seems to stop the keyboard and mouse working, maybe even bork the USB stack. It clears the screen, but instead of the E-Type logo fading in, I just see a flashing cursor at the top left for ever. If I don't register my pointerv handler, then ...
by richw
Sun Feb 10, 2019 10:01 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

I have noticed that E-Type appears to be impossible to exit from. Only CTRL-BREAK gets me out!

Perhaps related, but when I add my pointerv handler into USBJoystick, E-Type will refuse to start, locking the machine solid. No doubt I am doing something wrong, but E-Type is strange!
by richw
Sat Feb 02, 2019 11:14 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

That is a reasonable idea, but there isn't a SWI for that! I really need to plan some handy general SWIs and add them, probably to the Joystick SWI block. Being able to list the connected devices sounds useful. By the way, I have been running a few games on the latest beta. I noticed that exiting AD...
by richw
Fri Feb 01, 2019 10:19 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

Hmm, interesting question. The classic interfaces have no way of knowing if sticks are connected, although I suspect, say, the Serial Port driver module won't start without the adaptor connected to the parallel port. So in theory, isn't this a bug in SWIV? Isn't it perfectly legit to have a joystick...
by richw
Thu Jan 31, 2019 10:11 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

Ahh... I have a workaround. First, I checked some other Joymod games, and they work fine. I recalled that the logging showed me alternating Joystick_Status and Joy_Read0/1 calls. I thought maybe the game was just being daft, so tried '*USBJoystick_EmulateJoy off' and started the game again. It works...
by richw
Thu Jan 31, 2019 9:45 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

I've had another look at this. I can't quite get my head around JKSquash. I've noticed that if I hold my joystick down when the intro starts, it seems to move the mouse pointer elsewhere, but you still cannot control the game. Odd. My logging shows the Joystick_Status SWI (Serial Port API, provides ...
by richw
Tue Jan 29, 2019 1:49 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

Ah. I put extra debugging into my SWI handler for the JoyMod_Read (swi_joy_read() in the C code), which is hit via the UKSWIV handler (ukswiv_hook_handler() in the C code) when it detects SWI number 0xCFFC0 etc. I had forgotten that USBJoystick is doing a little extra in this respect (I know it call...
by richw
Tue Jan 29, 2019 10:55 am
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184830

Re: ADFFS 2.71 beta

OK, so the game and/or it's JoyMod might be broken. And maybe not even work on real hardware. That's understandable: maybe it wasn't even an official feature by the time the game shipped? I still don't get how the value from the Joy_Read SWI handler in USBJoystick is zero. I can see it clearly in Re...