API changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
24
libsrc/serial/ser_open.s
Normal file
24
libsrc/serial/ser_open.s
Normal file
@@ -0,0 +1,24 @@
|
||||
;
|
||||
; Ullrich von Bassewitz, 2003-08-22
|
||||
;
|
||||
; unsigned char __fastcall__ ser_open (const struct ser_params* params);
|
||||
; /* "Open" the port by setting the port parameters and enable interrupts. */
|
||||
|
||||
|
||||
|
||||
.importzp ptr1
|
||||
|
||||
.include "ser-kernel.inc"
|
||||
|
||||
|
||||
|
||||
.proc _ser_open
|
||||
|
||||
sta ptr1
|
||||
stx ptr1+1 ; Save pointer to params
|
||||
jmp ser_open ; Call the driver
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user