;
.export _exit
- .constructor setup_sp,26
+ .constructor initsp,26
.import getargs, argc, argv
.import initlib, donelib
; setup sp
-setup_sp:
+initsp:
lda APPMHI
sta sp
lda APPMHI+1
; void __fastcall__ graphics(unsigned char mode);
.export _graphics
- .constructor scr_memtop,28
+ .constructor initscrmem,28
.import __graphmode_used
; calc. upper memory limit to use
-.proc scr_memtop
+.proc initscrmem
lda __graphmode_used
beq ignore ; mode 0 doesn't need adjustment
.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
;--------------------------------------------------------------------
; reserve memory for the mouse pointer
-mousemem:
+initmouse:
lda APPMHI+1
and #%11111000 ; make 2k aligned
sec