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:
@@ -58,7 +58,7 @@ pages: .byte 1 ; Number of screens available
|
||||
; primitives - for example ploting a line by using calls to SETPIXEL.
|
||||
|
||||
.word INSTALL
|
||||
.word DEINSTALL
|
||||
.word UNINSTALL
|
||||
.word INIT
|
||||
.word DONE
|
||||
.word GETERROR
|
||||
@@ -241,19 +241,19 @@ settestadr2:
|
||||
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.
|
||||
;
|
||||
; Must set an error code: NO
|
||||
;
|
||||
|
||||
DEINSTALL:
|
||||
UNINSTALL:
|
||||
rts
|
||||
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; 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
|
||||
; 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
|
||||
@@ -266,7 +266,6 @@ DEINSTALL:
|
||||
;
|
||||
|
||||
INIT:
|
||||
; ignore passed parameter
|
||||
ldx #$01
|
||||
stx BITMASK ; solid black as pattern
|
||||
lda #1
|
||||
@@ -352,7 +351,7 @@ CONTROL:
|
||||
; Must set an error code: NO
|
||||
;
|
||||
|
||||
CLEAR:
|
||||
CLEAR:
|
||||
lda curPattern
|
||||
pha
|
||||
lda #0
|
||||
@@ -664,7 +663,7 @@ BAR:
|
||||
; Must set an error code: NO
|
||||
;
|
||||
|
||||
CIRCLE:
|
||||
CIRCLE:
|
||||
lda RADIUS
|
||||
bne @L1
|
||||
jmp SETPIXELCLIP ; Plot as a point
|
||||
|
||||
Reference in New Issue
Block a user