Difference between revisions of "Peripheral 2 Register"

From SpecNext official Wiki
Jump to: navigation, search
(Turbo enable/disable bit does affect only keyboard F8 reading)
(Core 2.00.26 changes)
Line 21: Line 21:
 
| 2 || PS/2 mode (0 = keyboard, 1 = mouse), exchanges the keyboard/mouse pins on the PS/2 connector (0 after PoR or Hard-reset)
 
| 2 || PS/2 mode (0 = keyboard, 1 = mouse), exchanges the keyboard/mouse pins on the PS/2 connector (0 after PoR or Hard-reset)
 
|-
 
|-
| 1-0 || Audio chip mode (%00 = AY, %10 = YM, %10 = Disabled) (a typo in documentation, defining %10 twice, I *guess* YM is %01)
+
| 1-0 || Audio chip mode (%00 = YM, %01 = AY, %1x = Disabled)
 
|}
 
|}
  
 
The bit 7 doesn't prevent SW from setting up turbo mode by writing into {{NextRegNo|$07}}, it is used only to enable/disable the "F8" key toggle (core 2.00.24 information).
 
The bit 7 doesn't prevent SW from setting up turbo mode by writing into {{NextRegNo|$07}}, it is used only to enable/disable the "F8" key toggle (core 2.00.24 information).

Revision as of 00:45, 31 January 2019

Number $06
Readable Yes
Writable Yes
Short Description Enables Acceleration, Lightpen, DivMMC, Multiface, Mouse and AY audio.


Bit Function
7 Enable turbo mode key "F8", 0 = disabled (0 after PoR or Hard-reset)
6 DAC chip mode (0 = I2S, 1 = JAP) (Only VTrucco board, 0 after PoR or Hard-reset)
5 Enable Lightpen (1 = enabled) (0 after PoR or Hard-reset)
4 DivMMC automatic paging (1 = enabled) (0 after PoR or Hard-reset)
3 Enable Multiface (1 = enabled) (0 after PoR or Hard-reset)
2 PS/2 mode (0 = keyboard, 1 = mouse), exchanges the keyboard/mouse pins on the PS/2 connector (0 after PoR or Hard-reset)
1-0 Audio chip mode (%00 = YM, %01 = AY, %1x = Disabled)

The bit 7 doesn't prevent SW from setting up turbo mode by writing into CPU Speed Register ($07), it is used only to enable/disable the "F8" key toggle (core 2.00.24 information).