Peripheral 1 Register

From SpecNext official Wiki
Revision as of 00:53, 30 August 2017 by wiki>Hyphz
Jump to: navigation, search
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