]> git.sur5r.net Git - cc65/blob - ksave.s
0e691829e5131dee4328b09a8906187718b700b9
[cc65] / ksave.s
1 ;
2 ; Ullrich von Bassewitz, 22.11.2002
3 ;
4 ; SAVE replacement function
5 ;
6
7         .export         SAVE
8
9         .include        "plus4.inc"
10
11 .segment        "LOWCODE"               ; Must go into low memory
12
13 .proc   SAVE
14         sta     ENABLE_ROM              ; Enable the ROM
15         jsr     $FFD8                   ; Call the ROM routine
16         sta     ENABLE_RAM              ; Switch back to RAM
17         rts                             ; Return to caller
18 .endproc
19
20