]> git.sur5r.net Git - cc65/blob - libsrc/cbm510/kclose.s
libsrc/atari/getdefdev.s: small optimization and fix a typo
[cc65] / libsrc / cbm510 / kclose.s
1 ;
2 ; Ullrich von Bassewitz, 2003-12-21
3 ;
4 ; CLOSE kernal call.
5 ;
6 ; NOTE: The CLOSE system call in the CBM610 kernal will only remove the file
7 ; entry and not close the file on IEC if the carry is clear on entry. To make
8 ; this somewhat compatible with the C64, set the carry before jumping to the
9 ; kernal.
10
11         .export         CLOSE
12
13 .proc   CLOSE
14
15         sec
16         jmp     $FFC3
17
18 .endproc
19
20
21