rs232c_defs.inc
Original bytes preserved. This is a browser-readable view.
; Project-local RS232C public definitions, r006 / PB-2000C OM52C. ; Source API has no machine detection yet. No AI-1000 claim. ; Scratch is allocated by the consumer in bank1, accessible via UA=15h. ; Never use legacy 27F0..27F9: those addresses contain VT25 CODE. ; RS_PTR/RS_COUNT scratch shared by RS_PUTS and RS_WRITE. RS_PTR: EQU RS_SCRATCH_RAM ; 2 bytes, scratch +0..1 RS_COUNT:EQU RS_SCRATCH_RAM+2 ; 2 bytes, scratch +2..3 RS_BAUD:EQU RS_SCRATCH_RAM+4 ; 0=4800, 1=9600 RS_FLOW:EQU RS_SCRATCH_RAM+5 ; 0=NONE, 1=XON/XOFF ; RS_WRRAM: same pointer+length ABI as RS_WRITE, but RAM via IX. RS_ACTIVE:EQU RS_SCRATCH_RAM+6 ; 0 closed, 1 open attempt RS_OK: EQU 0 RS_EUNSUP:EQU 1 RS_ECLOSED:EQU 2 ; end of include