SOURCE VIEWER

rs232c.inc

Original bytes preserved. This is a browser-readable view.

DOWNLOAD ORIGINAL ↓

; Project-local RS232C public definitions, r006 / PB-2000C OM52C.
; Source API has no machine detection yet. No AI-1000 claim.
; RAM is project allocated in UA=14h; non-reentrant.
; RS_PTR/RS_COUNT scratch shared by RS_PUTS and RS_WRITE.
RS_PTR: EQU     &H27F0     ; 2 bytes, 27F0..27F1
RS_COUNT:EQU    &H27F5     ; 2 bytes, 27F5..27F6
RS_BAUD:EQU     &H27F7     ; 0=4800, 1=9600
RS_FLOW:EQU     &H27F8     ; 0=NONE, 1=XON/XOFF

; RS_WRRAM: same pointer+length ABI as RS_WRITE, but RAM via IX.