Working on new serial API

git-svn-id: svn://svn.cc65.org/cc65/trunk@2069 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2003-04-18 16:29:51 +00:00
parent 2cba160622
commit a07cc4a4c1
14 changed files with 339 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
;
; Ullrich von Bassewitz, 2003-04-18
;
; unsigned char __fastcall__ ser_status (unsigned char* status);
; /* Return the serial port status. */
.importzp ptr1
.include "ser-kernel.inc"
.proc _ser_status
sta ptr1
stx ptr1+1 ; Save pointer to status
jmp ser_status ; Call the driver
.endproc