]> git.sur5r.net Git - cc65/blob - asminc/rs232.inc
Added search paths similar to that of the linker and compiler.
[cc65] / asminc / rs232.inc
1 ;
2 ; rs232.inc
3 ;
4 ; (C) Copyright 2002 Ullrich von Bassewitz (uz@cc65.org)
5 ;
6
7 ; Assembler include file that makes the constants and structures from rs232.h
8 ; available for asm code.
9
10
11
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