Skip to content

Commit 5103bdf

Browse files
Use $D000 for I/O
1 parent 80ad42d commit 5103bdf

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

vc83_serial/vc83_serial.inc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
;
33
; SPDX-License-Identifier: MIT
44

5-
UART_BASE := $C100
5+
UART_BASE := $D100
66
UART_TX_LEVEL := UART_BASE + 0
77
UART_RX_LEVEL := UART_BASE + 1
88
UART_TX_DATA := UART_BASE + 2

vc83_serial/vc83_serial_startup.s

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,6 @@ startup:
1010
cld ; Clear decimal flag
1111
ldx #$FF
1212
txs ; Initialize the stack to $FF
13-
14-
; Map $Cxxx to $30xxx
15-
; The system uses ZP $02 to map $Cxxx to 20-bit addresses.
16-
; $30100 is in the range mapped by $30.
17-
lda #$30
18-
sta $02
19-
2013
jsr initialize_target
2114
jsr main
2215
@halt:

0 commit comments

Comments
 (0)