diff --git a/code/boot/src/boot.s b/code/boot/src/boot.s index 94f875c..3788d48 100644 --- a/code/boot/src/boot.s +++ b/code/boot/src/boot.s @@ -10,7 +10,7 @@ ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - ORG $8000 + ORG ROM_BASE RESET lda %11000001 ; 8n1 serial, enable DLAB @@ -41,7 +41,7 @@ WAIT ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; - ORG $FFF0 + ORG VECS_BASE VECTORS fdb $0000 ; Reserved diff --git a/code/boot/src/hardware.inc b/code/boot/src/hardware.inc index 8aa186e..bf12ea0 100644 --- a/code/boot/src/hardware.inc +++ b/code/boot/src/hardware.inc @@ -9,6 +9,8 @@ ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; UART_BASE EQU $7F00 ; UART Base Address +ROM_BASE EQU $8000 ; ROM Base Address and Entry Point +VECS_BASE EQU $FFF0 ; Vectors Base Address ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;