startup adjustements
This commit is contained in:
1 parent
9377573f98
commit
83f038c780
1 file changed
+6
-3
@@ -106,11 +106,14 @@ IOINIT:
|
|||||||
|
|
||||||
ldx #$FF
|
ldx #$FF
|
||||||
stx CIA1_DDRA // output
|
stx CIA1_DDRA // output
|
||||||
ldy #$00
|
inx // $00
|
||||||
sty CIA1_DDRB // input
|
stx CIA1_DDRB // input
|
||||||
|
|
||||||
|
// Value checked on original ROM
|
||||||
|
stx CIA2_DDRA
|
||||||
|
|
||||||
// Set DDR on CIA2 for IEC bus, VIC-II banking
|
// Set DDR on CIA2 for IEC bus, VIC-II banking
|
||||||
lda #$3B
|
lda #$3F
|
||||||
sta CIA2_DDRA
|
sta CIA2_DDRA
|
||||||
|
|
||||||
// Set IEC bus to its initial idle state
|
// Set IEC bus to its initial idle state
|
||||||
|
|||||||
Reference in new issue
Block a user