1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-07 06:05:50 +00:00
cc65/libsrc/serial/ser_open.s
cuz 296b417502 API changes
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
2003-08-22 11:23:48 +00:00

25 lines
444 B
ArmAsm

;
; 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