4 ; (C) Copyright 2002 Ullrich von Bassewitz (uz@cc65.org)
7 ; Assembler include file that makes the constants and structures from rs232.h
8 ; available for asm code.
12 ; Error codes returned by all functions
13 RS_ERR_OK = $00 ; Not an error - relax
14 RS_ERR_NOT_INITIALIZED = $01 ; Module not initialized
15 RS_ERR_BAUD_TOO_FAST = $02 ; Cannot handle baud rate
16 RS_ERR_BAUD_NOT_AVAIL = $03 ; Baud rate not available
17 RS_ERR_NO_DATA = $04 ; Nothing to read
18 RS_ERR_OVERFLOW = $05 ; No room in send buffer
19 RS_ERR_INIT_FAILED = $06 ; Initialization of RS232 routines failed