WHDLoad MantisBT - Baal | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006437 | Baal | [WHDLoad Installs Games] slave | public | 2024-03-11 16:28 | 2024-03-17 13:02 |
Reporter | ztronzo | ||||
---|---|---|---|---|---|
Assigned To | Abaddon | ||||
Priority | normal | Severity | feature | Reproducibility | have not tried |
Status | assigned | Resolution | open | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Machine | A1200 | ||||
CPU | 68020 | ||||
CPUSpeed | 50 | ||||
ChipSet | AGA | ||||
GFXCard | None | ||||
ChipMem | 2 MB | ||||
FastMem | 0 MB | ||||
Workbench | OS 3.0 | ||||
KickROM | 40 - Kick 3.1 | ||||
KickSoft | None | ||||
WHDLoad | 18.9 | ||||
imported | |||||
Summary | 0006437: 2nd fire for jump - feature request | ||||
Description | Can you please add support for 2nd fire for jump on normal joysticks? CD32 support mode includes buttons to shortcuts but nothing for jump. | ||||
Steps To Reproduce | To normally jump you need to hit Fire + UP + direction (Left/Right) This is rather difficult for some users. | ||||
Additional Information | Using the WHDload source code, I added the following to apply a patch myself using copy of the original code and adding the 3 last operations. But it would probably be better to add and combine this to your main source. PL_PSS $9BC2,_joystick_2nd_button,$4a PL_R $9BC8 ; writes the opcode for the RTS instruction ($4e75) _joystick_2nd_button ; LEA.L $010e(PC),A0 ; already passed previously by skipping patch location MOVE.W $00dff00c,D0 MOVE.W D0,D2 AND.W #$0002,D0 LSL.W #$02,D0 MOVE.W D0,D3 MOVE.W D2,D0 AND.W #$0200,D0 LSR.W #$07,D0 OR.W D0,D3 MOVE.W D2,D0 MOVE.W D2,D1 LSL.W #$01,D1 AND.W #$0002,D0 AND.W #$0002,D1 EOR.W D1,D0 OR.W D0,D3 MOVE.W D2,D0 MOVE.W D2,D1 LSR.W #$01,D1 AND.W #$0100,D0 AND.W #$0100,D1 EOR.W D1,D0 LSR.W #$08,D0 OR.W D0,D3 MOVE.B $00bfe001,D0 NOT.B D0 AND.B #$80,D0 OR.B D0,D3 MOVE.W D3,(A0) BSET.W #1,(A0) BTST.B #$0006,$00dff016 ; check for 2nd fire BNE .no_2nd_fire ; button not pressed OR.W #$81,(A0) ; adding fire + up = $81 = 10000001 using logical OR.W .no_2nd_fire RTS ; Additional info: ; $80 10000000 Fire ; $81 10000001 Fire + up ; $89 10001001 fire + jump up-right ; $85 10000101 fire + jump up-left ; $88 10001000 fire + right ; $84 10000100 fire + left ; #82 10000010 fire + down | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files |
Notes | |||||
|
|||||
|
|
Issue History | |||||
Date Modified | Username | Field | Change | ||
---|---|---|---|---|---|
2024-03-11 16:28 | ztronzo | New Issue | |||
2024-03-12 10:47 | ztronzo | Note Added: 0013625 | |||
2024-03-17 13:02 | StingRay | Assigned To | => Abaddon | ||
2024-03-17 13:02 | StingRay | Status | new => assigned |