Search found 149 matches

by richw
Mon Jan 28, 2019 9:24 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

I wonder if this game uses a slightly different variant of the Joy API? I don't think it was public, and each game came with its own copy. Maybe I could add in a configurable tweak?
by richw
Mon Jan 28, 2019 9:10 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

Ah, right. I noticed that it was calling for both sticks (from my debug), but didn't appreciate the impact on the intro. The strange thing I cannot understand is why USBJoystick then returns zero, even if I hold the stick left! I will have a look at the SWI calls in squashcode and see if I can make ...
by richw
Sun Jan 27, 2019 10:08 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

I am monitoring the number of USB HID reads and can see that increasing as the game is running, so I really don't get why 0 is being returned. In BASIC, I can do: SYS &CFFC0 TO j% : PRINT j% and moving the joystick results in different values in j% But when the game runs, Reporter shows me that ...
by richw
Sun Jan 27, 2019 10:01 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

I have spotted an issue in the bytev handler. A missing break! I can see Heroquest is doing reason 255, and now USBJoystick is passing on the request, it works. Seems to make Populous work too. JKSquash still jumps the intro, and moving the joystick starts accepting the menu options. Then I get stuc...
by richw
Sat Jan 26, 2019 11:31 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

Ahh... That makes sense. I should have read this before mucking about earlier!

There are some *commands in USBJoystick which can turn on/off the ADC. A bit of a hack.

I shall have to check the code and see if I can ignore 128,7 (and 8) without breaking ADC. Or maybe I could disable ADC by default?
by richw
Thu Jan 24, 2019 9:41 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

I am pretty impressed that it is even possible to cleanly exit and load something else. Back in the day, you would have to reboot, as there was always dirt left behind. I just assumed a reboot was sensible, particularly with all the hairy tricks ADFFS gets up to! I will try and do some tests without...
by richw
Mon Jan 07, 2019 9:28 pm
Forum: ADFFS
Topic: ADFFS 2.71 beta
Replies: 142
Views: 184087

Re: ADFFS 2.71 beta

The lack of Joystick is my bad... I need to get back onto USBJoystick again and get the full keyboard and mouse emulation finished.
by richw
Tue Nov 20, 2018 10:10 pm
Forum: ADFFS
Topic: ADFFS 2.69
Replies: 11
Views: 15926

Re: ADFFS 2.69

Ahh... Not sure why I thought it was Joystick SWI! I must have assumed a 1991 re-release was for the A3010, but I am a year too early! You are quite right, it is Joy. I do return zero if the emulate joy behaviour is off, but not if it is on and there is no mapped stick. I have fixed this now in my l...
by richw
Sun Nov 18, 2018 9:58 pm
Forum: ADFFS
Topic: ADFFS 2.69
Replies: 11
Views: 15926

Re: ADFFS 2.69

Speaking of regressions, with USBJoystick loaded (any version) and no Joystick attached (haven't tried it with one attached), load Pacmania [learning curve version] and watch the level selection screen go nuts when you try to start a game. I believe it's using the Acorn interface, so is possibly ge...
by richw
Sat Nov 17, 2018 6:50 pm
Forum: ADFFS
Topic: ADFFS 2.69
Replies: 11
Views: 15926

Re: ADFFS 2.69

Following on from my earlier issues with crashes, I thought I’d do a spot of re-testing. I’ve updated my Pi B+ to the firmware from 5th Nov and RISC OS 5.27 (built 16 Nov). I have tried using ADFFS 2.69 and 2.70b, but I can’t get Pacmania, E-Type or Saloon Cars to run at all. With previous versions ...