Difference between revisions of "Peripheral 1 Register"

From SpecNext official Wiki
Jump to: navigation, search
Line 25: Line 25:
  
 
{| class="wikitable"
 
{| class="wikitable"
! Code ! Effect
+
! 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)
 
| 00 || Sinclair Joystick (Joystick 1 maps to keys 1,2,3,4,5; joystick 2 maps to keys 6,7,8,9,0)

Revision as of 01: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