Difference between revisions of "Peripheral 4 Register"

From SpecNext official Wiki
Jump to: navigation, search
(core 3.0 changes/refresh)
(core 3.0.5 changes/refresh)
Line 3: Line 3:
 
|Readable=Yes
 
|Readable=Yes
 
|Writable=Yes
 
|Writable=Yes
|ShortDesc=Sets scanlines, AY mono output, Sprite-id lockstep, disables Kempston and divMMC ports.
+
|ShortDesc=Sets scanlines, AY mono output, Sprite-id lockstep, reset DivMMC mapram and disable HDMI audio.
 
}}
 
}}
 
{| class="wikitable"
 
{| class="wikitable"
Line 19: Line 19:
 
(was "Disables Kempston mouse port ($DF)" in core 2.0)
 
(was "Disables Kempston mouse port ($DF)" in core 2.0)
 
|-
 
|-
| 2 || Reserved, use 0
+
| 2 || 1 to silence HDMI audio (hard reset = 0) (since core 3.0.5)
 
(was "Disables divMMC ports ($E3, $E7, $EB) if set" in core 2.0)
 
(was "Disables divMMC ports ($E3, $E7, $EB) if set" in core 2.0)
 
|-
 
|-

Revision as of 00:13, 5 December 2019

Number $09
Readable Yes
Writable Yes
Short Description Sets scanlines, AY mono output, Sprite-id lockstep, reset DivMMC mapram and disable HDMI audio.
Bit Function
7 Enables AY2 "mono" output (A+B+C is sent to both R and L channels, makes it a bit louder than stereo mode).
6 Enables AY1 "mono" output (1 = mono, 0 default)
5 Enables AY0 "mono" output (0 after Hard-reset)
4 Sprite id lockstep (1 = Sprite port-mirror Index Register ($34) and Sprite Status/Slot Select ($303B / 12347) are in lockstep, 0 default)
3 1 to reset mapram bit in DivMMC

(was "Disables Kempston mouse port ($DF)" in core 2.0)

2 1 to silence HDMI audio (hard reset = 0) (since core 3.0.5)

(was "Disables divMMC ports ($E3, $E7, $EB) if set" in core 2.0)

1-0 scanlines weight (0 after Hard-reset):

%00 = scanlines off, %01 = scanlines 75%, %10 = scanlines 50%, %11 = scanlines 25%