Renamed the DEINSTALL vector to UNINSTALL.
Checked/fixed compatibility when linked statically. git-svn-id: svn://svn.cc65.org/cc65/trunk@1959 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
;
|
||||
; Extended memory driver for the RamCart 64/128KB cartridge
|
||||
; (based on GEORAM code by Ullrich von Bassewitz)
|
||||
; Extended memory driver for the RamCart 64/128KB cartridge. Driver works
|
||||
; without problems when statically linked.
|
||||
; Code is based on GEORAM code by Ullrich von Bassewitz.
|
||||
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
|
||||
; 06,22.12.2002
|
||||
;
|
||||
;
|
||||
|
||||
|
||||
.include "zeropage.inc"
|
||||
@@ -28,7 +29,7 @@
|
||||
; Jump table.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word PAGECOUNT
|
||||
.word MAP
|
||||
.word USE
|
||||
@@ -39,16 +40,16 @@
|
||||
; ------------------------------------------------------------------------
|
||||
; Constants
|
||||
|
||||
RAMC_WINDOW = $DF00 ; Address of RamCart window
|
||||
RAMC_PAGE_LO = $DE00 ; Page register low
|
||||
RAMC_PAGE_HI = $DE01 ; Page register high (only for RC128)
|
||||
RAMC_WINDOW = $DF00 ; Address of RamCart window
|
||||
RAMC_PAGE_LO = $DE00 ; Page register low
|
||||
RAMC_PAGE_HI = $DE01 ; Page register high (only for RC128)
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; Data.
|
||||
|
||||
.data
|
||||
.bss
|
||||
|
||||
pagecount: .word 512 ; default for RC128
|
||||
pagecount: .res 2 ; Number of pages available
|
||||
|
||||
.code
|
||||
|
||||
@@ -102,11 +103,11 @@ INSTALL:
|
||||
rts
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; DEINSTALL routine. Is called before the driver is removed from memory.
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
; Can do cleanup or whatever. Must not return anything.
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user