mirror of
https://github.com/cc65/cc65.git
synced 2024-12-23 19:29:37 +00:00
575ee044e5
git-svn-id: svn://svn.cc65.org/cc65/trunk@3626 b7a2c559-68d2-44c3-8de9-860c34a00d81
24 lines
466 B
ArmAsm
24 lines
466 B
ArmAsm
;
|
|
; Oliver Schmidt, 2005-09-02
|
|
;
|
|
; unsigned char __fastcall__ ser_ioctl (unsigned char code, void* data);
|
|
; /* Driver specific entry. */
|
|
|
|
|
|
.import popa
|
|
.importzp ptr1
|
|
|
|
.include "ser-kernel.inc"
|
|
|
|
|
|
.proc _ser_ioctl
|
|
|
|
sta ptr1
|
|
stx ptr1+1 ; Save pointer to data
|
|
jsr popa ; Get code
|
|
jmp ser_ioctl ; Call the driver
|
|
|
|
.endproc
|
|
|
|
|