; Common Definitions regarding the BUFFALO monitor ;------------------------------------------------- ; memory-area definitions for all versions of the 68HC11 BUFFALO monitor ; LORAM equ $0000 ; start of lower-block of user RAM USRSTK equ $0047 ; user-stack addr (grows down) RSVSTR equ $0048 ; start of internal RAM reserved for BUFFALO RSVEND equ $00C3 ; end of internal RAM reserved for BUFFALO PIVTAB equ $00C4 ; base addr of RAM-based (remapped) user interrupt-vectors HIRAM equ $0100 ; start of upper block of user RAM (if present) ACIAS equ $9800 ; (external) base address of optional ACIA chip ACIAE equ $9801 ; (external) end address of optional ACIA chip DUARTS equ $D000 ; (external) base address of optional DuART chip DUARTE equ $D00F ; (external) end address of optional DuART chip ; RAM-resident interrupt pseudo-vectors for on-chip devices ; (place a 3-byte jmp to user ISR(s) at these addresses) PVSCI equ $00C4 ; SCI interrupt PVSPI equ $00C7 ; SPI interrupt PVPAIE equ $00CA ; pulse-accumulator PVPAO equ $00CD ; pulse-accumulator overflow PVTOC5 equ $00D3 ; timer output-compare 5 PVTIC4 equ PVTOC5 ; timer input-capture 4 PVTOC4 equ $00D6 ; timer output-compare 4 PVTOC3 equ $00D9 ; timer output-compare 3 PVTOC2 equ $00DC ; timer output-compare 2 PVTOC1 equ $00DF ; timer output-compare 1 PVTIC3 equ $00E2 ; timer input-capture 3 PVTIC2 equ $00E5 ; timer input-capture 2 PVTIC1 equ $00E8 ; timer input-capture 1 PVTOF equ $00D0 ; timer-overflow ; other RAM-resident interrupt pseudo-vectors PVIRQ equ $00EE ; external interrupt PVXIRQ equ $00F1 ; non-maskable external interrupt PVSWI equ $00F4 ; software-interrupt PVILL equ $00F7 ; illegal opcode PVCME equ $00FD ; clock monitor PVCOP equ $00FA ; computer operating properly (watchdog) ; misc BUFFALO equ $E014 ; BUFFALO-restart address ; some BUFFALO service-entry points ;putc equ $ffb8 ; write character from A to SCI ;getc equ $ffcd ; read character from SCI into A ; there are way more that could be put here...