style: prettier math (thx asm6809), add MIT license to boot.s, remove stray (
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
; CHIBI PC-09 Prototype #1 Boot ROM
|
; CHIBI PC-09 Prototype #1 Boot ROM
|
||||||
; (Copyright (c) 2024 Amber Zeller
|
; Copyright (c) 2024 Amber Zeller
|
||||||
|
; Licensed under MIT
|
||||||
|
|
||||||
; UART registers
|
; UART registers
|
||||||
UART EQU $7F00
|
UART EQU $7F00
|
||||||
@@ -7,7 +8,7 @@ UART EQU $7F00
|
|||||||
; When DLAB = 0:
|
; When DLAB = 0:
|
||||||
BUFR EQU UART ; TX/RX Buffer (Read for RX, Write for TX)
|
BUFR EQU UART ; TX/RX Buffer (Read for RX, Write for TX)
|
||||||
IER EQU UART + 1 ; Interrupt Enable Register
|
IER EQU UART + 1 ; Interrupt Enable Register
|
||||||
IIR EQU UART+1 ; Interrupt Enable Register (Upon Read)
|
IIR EQU UART + 1 ; Interrupt Ident Register (Upon Read)
|
||||||
; When DLAB = 1
|
; When DLAB = 1
|
||||||
DLL EQU UART ; Divisor Latch (LSB)
|
DLL EQU UART ; Divisor Latch (LSB)
|
||||||
DLM EQU UART + 1 ; Divisor Latch (MSB)
|
DLM EQU UART + 1 ; Divisor Latch (MSB)
|
||||||
|
Reference in New Issue
Block a user