This page (revision-4) was last changed on 03-Feb-2023 15:21 by Stefan Haubenthal 

This page was created on 14-Mar-2010 15:13 by Carsten Strotmann

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Page revision history

Version Date Modified Size Author Changes ... Change note
4 03-Feb-2023 15:21 3 KB Stefan Haubenthal to previous typo
3 11-Aug-2010 11:28 3 KB Stefan Haubenthal to previous | to last typo
2 11-Aug-2010 11:27 3 KB Stefan Haubenthal to previous | to last JSPWiki
1 14-Mar-2010 15:13 3 KB Carsten Strotmann to last

Page References

Incoming links Outgoing links

Version management

Difference between version and

At line 26 changed one line
The Patch works by replacing the load commands for the Joystick Registers into Subroutine jumps into the USB Driver code. Normally the Joystick values foor Joystick 1 will be loaded from Memory Location $0287 (Stick0) or direct from $D300 (PORTA). In most games we will find machine language commands like <code>LDA $0278</code>. After this command the value of the Joystick Shadow register is in the Accu-CPU-Register. We will change this commands to a call into the USB driver:
The Patch works by replacing the load commands for the Joystick Registers into Subroutine jumps into the USB Driver code. Normally the Joystick values foor Joystick 1 will be loaded from Memory Location $0287 (Stick0) or direct from $D300 (PORTA). In most games we will find machine language commands like {{LDA $0278}}. After this command the value of the Joystick Shadow register is in the Accu-CPU-Register. We will change this commands to a call into the USB driver:
At line 38 changed one line
We are looking for the byte sequence <code>78 02</code>, part of commands like <code>LDA $0278</code> or <code>LDX $0278</code>.
We are looking for the byte sequence {{78 02}}, part of commands like {{LDA $0278}} or {{LDX $0278}}.