]> git.sur5r.net Git - cc65/blob - libsrc/cbm/c_open.s
Use external symbols for the CBM kernal jump table functions. This allows
[cc65] / libsrc / cbm / c_open.s
1 ;
2 ; Ullrich von Bassewitz, 03.06.1999
3 ;
4 ; unsigned char __fastcall__ cbm_k_open (void);
5 ;
6
7         .export         _cbm_k_open
8         .import         OPEN
9
10
11 _cbm_k_open:
12         jsr     OPEN
13         bcs     @NotOk
14         lda     #0
15 @NotOk: ldx     #0              ; Clear high byte
16         rts