mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 02:29:52 +00:00
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
|
||
|
|
||
|
|
||
|
|