mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
296b417502
git-svn-id: svn://svn.cc65.org/cc65/trunk@2406 b7a2c559-68d2-44c3-8de9-860c34a00d81
25 lines
444 B
ArmAsm
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
|
|
|
|
|
|
|