Difference between revisions of "Peripheral 1 Register"
From SpecNext official Wiki
Line 6: | Line 6: | ||
}} | }} | ||
− | {| | + | {| class="wikitable" |
! Bit !! Function | ! Bit !! Function | ||
|- | |- | ||
Line 24: | Line 24: | ||
The codes for joystick modes are as follows: | The codes for joystick modes are as follows: | ||
− | {| | + | {| class="wikitable" |
! Code ! Effect | ! Code ! Effect | ||
|- | |- |
Revision as of 00:53, 30 August 2017
Number | $05 |
---|---|
Readable | Yes |
Writable | Yes |
Short Description | Sets joystick mode, video frequency, Scanlines and Scandoubler. |
Bit | Function |
---|---|
7-6 | Joystick 1 mode |
5-4 | Joystick 0 mode |
3 | Reserved |
2 | Enable 60hz mode |
1 | Enable Scanlines |
0 | Enable Scandoubler |
The codes for joystick modes are as follows:
Code ! Effect | |
---|---|
00 | Sinclair Joystick (Joystick 1 maps to keys 1,2,3,4,5; joystick 2 maps to keys 6,7,8,9,0) |
01 | Kempston Joystick (uses port Kempston Joystick ($xx1F / 31)). Only one joystick can be Kempston |
10 | Cursor Joystick (maps to keys 5,6,7,8,0). Only one joystick can be Cursor |