]> git.sur5r.net Git - cc65/blob - libsrc/serial/ser_ioctl.s
Fix calculation of text width for bitmap fonts.
[cc65] / libsrc / serial / ser_ioctl.s
1 ;
2 ; Oliver Schmidt, 2005-09-02
3 ;
4 ; unsigned char __fastcall__ ser_ioctl (unsigned char code, void* data);
5 ; /* Driver specific entry. */
6
7
8         .import         popa
9         .importzp       ptr1
10
11         .include        "ser-kernel.inc"
12
13
14 .proc   _ser_ioctl
15
16         sta     ptr1
17         stx     ptr1+1                  ; Save pointer to data
18         jsr     popa                    ; Get code
19         jmp     ser_ioctl               ; Call the driver
20
21 .endproc
22
23