Peripheral 1 Setting Register: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
No edit summary
No edit summary
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 00:53, 30 August 2017

Number TBRegisterNumber::$05
Readable TBRegisterReadable::Yes
Writable TBRegisterWritable::Yes
Short Description [[ShortDesc::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 {{#ask:

PortNumber::$xx1F }} ($xx1F{{#ask: PortNumber::$xx1F |mainlabel=- |headers=hide |intro= /  |?NumberDec#- }})). Only one joystick can be Kempston

10 Cursor Joystick (maps to keys 5,6,7,8,0). Only one joystick can be Cursor