From: cpg Date: Sat, 9 Dec 2000 22:31:07 +0000 (+0000) Subject: adapted constructor function names to initxxx convention X-Git-Tag: V2.12.0~2965 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb9da601800aa83911ab3d8ba2abfac7ab8f9dd9;p=cc65 adapted constructor function names to initxxx convention git-svn-id: svn://svn.cc65.org/cc65/trunk@579 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/atari/crt0.s b/libsrc/atari/crt0.s index 1777db24f..167f4c3f0 100644 --- a/libsrc/atari/crt0.s +++ b/libsrc/atari/crt0.s @@ -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 diff --git a/libsrc/atari/graphics.s b/libsrc/atari/graphics.s index 2b82207e5..94dea3bd6 100644 --- a/libsrc/atari/graphics.s +++ b/libsrc/atari/graphics.s @@ -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 diff --git a/libsrc/atari/mouse.s b/libsrc/atari/mouse.s index 044e3cf3d..c1fdcb56a 100644 --- a/libsrc/atari/mouse.s +++ b/libsrc/atari/mouse.s @@ -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