1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 15:29:46 +00:00

Renamed DEINSTALL -> UNINSTALL, fixed a comment

git-svn-id: svn://svn.cc65.org/cc65/trunk@1969 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-02-11 12:43:00 +00:00
parent e3faea3fa2
commit 11e16317b3
3 changed files with 20 additions and 21 deletions

View File

@ -69,7 +69,7 @@ pages: .byte 1 ; Number of screens available
; primitives - for example ploting a line by using calls to SETPIXEL. ; primitives - for example ploting a line by using calls to SETPIXEL.
.word INSTALL .word INSTALL
.word DEINSTALL .word UNINSTALL
.word INIT .word INIT
.word DONE .word DONE
.word GETERROR .word GETERROR
@ -263,19 +263,19 @@ settestadr2:
jmp VDCSetSourceAddr jmp VDCSetSourceAddr
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; DEINSTALL routine. Is called before the driver is removed from memory. May ; UNINSTALL routine. Is called before the driver is removed from memory. May
; clean up anything done by INSTALL but is probably empty most of the time. ; clean up anything done by INSTALL but is probably empty most of the time.
; ;
; Must set an error code: NO ; Must set an error code: NO
; ;
DEINSTALL: UNINSTALL:
rts rts
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; INIT: Changes an already installed device from text mode to graphics ; INIT: Changes an already installed device from text mode to graphics
; mode. The number of the graphics mode is passed to the function in A. ; mode.
; Note that INIT/DONE may be called multiple times while the driver ; Note that INIT/DONE may be called multiple times while the driver
; is loaded, while INSTALL is only called once, so any code that is needed ; is loaded, while INSTALL is only called once, so any code that is needed
; to initializes variables and so on must go here. Setting palette and ; to initializes variables and so on must go here. Setting palette and

View File

@ -70,7 +70,7 @@ pages: .byte 0 ; Number of screens available
; primitives - for example ploting a line by using calls to SETPIXEL. ; primitives - for example ploting a line by using calls to SETPIXEL.
.word INSTALL .word INSTALL
.word DEINSTALL .word UNINSTALL
.word INIT .word INIT
.word DONE .word DONE
.word GETERROR .word GETERROR
@ -268,19 +268,19 @@ settestadr2:
jmp VDCSetSourceAddr jmp VDCSetSourceAddr
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; DEINSTALL routine. Is called before the driver is removed from memory. May ; UNINSTALL routine. Is called before the driver is removed from memory. May
; clean up anything done by INSTALL but is probably empty most of the time. ; clean up anything done by INSTALL but is probably empty most of the time.
; ;
; Must set an error code: NO ; Must set an error code: NO
; ;
DEINSTALL: UNINSTALL:
rts rts
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; INIT: Changes an already installed device from text mode to graphics ; INIT: Changes an already installed device from text mode to graphics
; mode. The number of the graphics mode is passed to the function in A. ; mode.
; Note that INIT/DONE may be called multiple times while the driver ; Note that INIT/DONE may be called multiple times while the driver
; is loaded, while INSTALL is only called once, so any code that is needed ; is loaded, while INSTALL is only called once, so any code that is needed
; to initializes variables and so on must go here. Setting palette and ; to initializes variables and so on must go here. Setting palette and

View File

@ -58,7 +58,7 @@ pages: .byte 1 ; Number of screens available
; primitives - for example ploting a line by using calls to SETPIXEL. ; primitives - for example ploting a line by using calls to SETPIXEL.
.word INSTALL .word INSTALL
.word DEINSTALL .word UNINSTALL
.word INIT .word INIT
.word DONE .word DONE
.word GETERROR .word GETERROR
@ -241,19 +241,19 @@ settestadr2:
jmp VDCSetSourceAddr jmp VDCSetSourceAddr
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; DEINSTALL routine. Is called before the driver is removed from memory. May ; UNINSTALL routine. Is called before the driver is removed from memory. May
; clean up anything done by INSTALL but is probably empty most of the time. ; clean up anything done by INSTALL but is probably empty most of the time.
; ;
; Must set an error code: NO ; Must set an error code: NO
; ;
DEINSTALL: UNINSTALL:
rts rts
; ------------------------------------------------------------------------ ; ------------------------------------------------------------------------
; INIT: Changes an already installed device from text mode to graphics ; INIT: Changes an already installed device from text mode to graphics
; mode. The number of the graphics mode is passed to the function in A. ; mode.
; Note that INIT/DONE may be called multiple times while the driver ; Note that INIT/DONE may be called multiple times while the driver
; is loaded, while INSTALL is only called once, so any code that is needed ; is loaded, while INSTALL is only called once, so any code that is needed
; to initializes variables and so on must go here. Setting palette and ; to initializes variables and so on must go here. Setting palette and
@ -266,7 +266,6 @@ DEINSTALL:
; ;
INIT: INIT:
; ignore passed parameter
ldx #$01 ldx #$01
stx BITMASK ; solid black as pattern stx BITMASK ; solid black as pattern
lda #1 lda #1