1
0
mirror of https://github.com/cc65/cc65.git synced 2025-08-15 06:27:36 +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 .export _exit
.constructor setup_sp,26 .constructor initsp,26
.import getargs, argc, argv .import getargs, argc, argv
.import initlib, donelib .import initlib, donelib
@@ -189,7 +189,7 @@ L2: lda zpsave,x
; setup sp ; setup sp
setup_sp: initsp:
lda APPMHI lda APPMHI
sta sp sta sp
lda APPMHI+1 lda APPMHI+1

View File

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

View File

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