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

adapted constructor function names to initxxx convention

git-svn-id: svn://svn.cc65.org/cc65/trunk@579 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2000-12-09 22:31:07 +00:00
parent 4d34ce83d7
commit fb9da60180
3 changed files with 6 additions and 6 deletions

View File

@ -10,7 +10,7 @@
;
.export _exit
.constructor setup_sp,26
.constructor initsp,26
.import getargs, argc, argv
.import initlib, donelib
@ -189,7 +189,7 @@ L2: lda zpsave,x
; setup sp
setup_sp:
initsp:
lda APPMHI
sta sp
lda APPMHI+1

View File

@ -6,7 +6,7 @@
; void __fastcall__ graphics(unsigned char mode);
.export _graphics
.constructor scr_memtop,28
.constructor initscrmem,28
.import __graphmode_used
@ -24,7 +24,7 @@
; calc. upper memory limit to use
.proc scr_memtop
.proc initscrmem
lda __graphmode_used
beq ignore ; mode 0 doesn't need adjustment

View File

@ -14,7 +14,7 @@
.export _mouse_init, _mouse_done, _mouse_box
.export _mouse_show, _mouse_hide, _mouse_move
.export _mouse_buttons
.constructor mousemem,27
.constructor initmouse,27
.import popa,popax
@ -39,7 +39,7 @@ yinit = defymin ; init. y pos.
;--------------------------------------------------------------------
; reserve memory for the mouse pointer
mousemem:
initmouse:
lda APPMHI+1
and #%11111000 ; make 2k aligned
sec