vt27_port.s
Original bytes preserved. This is a browser-readable view.
; Chapter01 VT27 glue; app-only callbacks, no donor mutation.
; VT_SEND_CAP: current PB-2000C app permits :t on RAM/RO/ROM documents.
VT_SEND_CAP:
LD $0,1
RTN
; Transport-neutral serializer callbacks, not yet used by T22_SEND.
; RS232C/1 does not supply reliable UART errors. Never claim delivery.
VT_OUTBYTE:
CAL RS_PUTC
PST UA,&H14
LD $0,0
RTN
VT_HOST_RAM:
PST UA,&H14
RTN
VT_TX_DETAIL:
; Unavailable operation path; no source canvas changes.
CAL LCD_CLEAR
LD $6,0
PRE IZ,VT27_UNSUPPORTED
CAL LCD_PUTZ
RTN
VT27_UNSUPPORTED:
DB "VT: Unsupported operation",0