1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

Renamed DEINSTALL to UNINSTALL

git-svn-id: svn://svn.cc65.org/cc65/trunk@1960 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-02-10 22:59:45 +00:00
parent 749298f340
commit 993f6a5a16
3 changed files with 22 additions and 20 deletions

View File

@ -1,5 +1,6 @@
;
; Extended memory driver for the CBM510 additional RAM banks
; Extended memory driver for the CBM510 additional RAM banks. Driver works
; without problems when linked statically.
;
; Ullrich von Bassewitz, 2002-12-09 !!! UNTESTED !!!
;
@ -26,7 +27,7 @@
; Jump table.
.word INSTALL
.word DEINSTALL
.word UNINSTALL
.word PAGECOUNT
.word MAP
.word USE
@ -43,10 +44,9 @@ OFFS = 2
; ------------------------------------------------------------------------
; Data.
.data
curpage: .byte $FF ; Current page number (invalid)
.bss
curpage: .res 1 ; Current page number
window: .res 256 ; Memory "window"
pagecount: .res 1 ; Number of available pages
@ -62,6 +62,7 @@ pagecount: .res 1 ; Number of available pages
INSTALL:
lda #$FF
sta curpage ; Invalidate the current page
ldx UsrMemTop+2
cpx #RAMBANK ; Top of memory in bank 2?
@ -75,11 +76,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

View File

@ -1,5 +1,6 @@
;
; Extended memory driver for the CBM610 additional RAM banks
; Extended memory driver for the CBM610 additional RAM banks. Driver works
; without problems when linked statically.
;
; Ullrich von Bassewitz, 2002-12-09 !!! UNTESTED !!!
;
@ -26,7 +27,7 @@
; Jump table.
.word INSTALL
.word DEINSTALL
.word UNINSTALL
.word PAGECOUNT
.word MAP
.word USE
@ -43,10 +44,9 @@ OFFS = 2
; ------------------------------------------------------------------------
; Data.
.data
curpage: .byte $FF ; Current page number (invalid)
.bss
curpage: .res 1 ; Current page number
window: .res 256 ; Memory "window"
pagecount: .res 1 ; Number of available pages
@ -62,6 +62,7 @@ pagecount: .res 1 ; Number of available pages
INSTALL:
lda #$FF
sta curpage ; Invalidate the current page
ldx UsrMemTop+2
cpx #RAMBANK ; Top of memory in bank 2?
@ -75,11 +76,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

View File

@ -1,7 +1,7 @@
;
; Extended memory driver for the VDC RAM available on all C128 machines
; version for GEOS enters safe I/O config on C64 (transparent on C128)
;
;
; Maciej 'YTM/Elysium' Witkowiak <ytm@elysium.pl>
; 06,20,25.12.2002
@ -27,7 +27,7 @@
; Jump table.
.word INSTALL
.word DEINSTALL
.word UNINSTALL
.word PAGECOUNT
.word MAP
.word USE
@ -152,11 +152,11 @@ settestadr2:
jmp vdcsetsrcaddr
; ------------------------------------------------------------------------
; 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:
;on C128 restore font and clear the screen?
rts
@ -284,7 +284,7 @@ COPYFROM:
jsr setup
beq @L2 ; Skip if no full pages
; Copy full pages
; Copy full pages
@L1: jsr transferin
inc ptr1+1
@ -328,7 +328,7 @@ COPYTO:
jsr setup
beq @L2 ; Skip if no full pages
; Copy full pages
; Copy full pages
@L1: jsr transferout
inc ptr1+1