From: sparky4 Date: Wed, 17 Feb 2016 16:14:32 +0000 (-0600) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=2568ee84112eebd4da06cb6e495ed59aca928c20;p=plz.git wwww --- diff --git a/copper.c b/copper.c index 2a608da..1e0769c 100755 --- a/copper.c +++ b/copper.c @@ -1,5 +1,13 @@ #include "copper.h" + +int far cop_drop; +int far cop_plz; +int far cop_start; +char far * cop_fadepal; +char fadepal[768]; +char far *cop_pal; + /* __asm{ mov bx,7 diff --git a/copper.o b/copper.o index d7e7c16..a774f3f 100755 Binary files a/copper.o and b/copper.o differ diff --git a/plz.c b/plz.c index 33e6d7f..e6a2b9c 100755 --- a/plz.c +++ b/plz.c @@ -17,7 +17,8 @@ // extern int init_copper(); // extern int close_copper(); -extern int far frame_count; +//extern int far frame_count; +int far frame_count; extern int far cop_drop; extern int far cop_plz; extern int far cop_start; diff --git a/plz.o b/plz.o index f3f2b52..ed3d2dd 100755 Binary files a/plz.o and b/plz.o differ diff --git a/plzpart.map b/plzpart.map index 39d3dba..121a888 100755 --- a/plzpart.map +++ b/plzpart.map @@ -1,18 +1,12 @@ Open Watcom Linker Version 2.0 beta Feb 1 2016 01:01:49 (32-bit) Copyright (c) 2002-2016 The Open Watcom Contributors. All Rights Reserved. Portions Copyright (c) 1985-2002 Sybase, Inc. All Rights Reserved. -Created on: 16/02/17 10:08:56 +Created on: 16/02/17 10:14:19 Executable Image: plzpart.exe creating a DOS executable Error! E2028: init_copper_ is an undefined reference -Error! E2028: _cop_drop is an undefined reference -Error! E2028: _cop_fadepal is an undefined reference -Error! E2028: _frame_count is an undefined reference -Error! E2028: _cop_plz is an undefined reference -Error! E2028: _fadepal is an undefined reference Error! E2028: setplzparas_ is an undefined reference Error! E2028: plzline_ is an undefined reference -Error! E2028: _cop_start is an undefined reference +------------+ @@ -22,7 +16,7 @@ Error! E2028: _cop_start is an undefined reference Group Address Size ===== ======= ==== -DGROUP 0102:0000 0000a650 +DGROUP 0104:0000 0000a950 @@ -39,22 +33,24 @@ tweak_TEXT CODE AUTO 0000:0070 0000006d plz_TEXT CODE AUTO 0000:00e0 00000a30 asmyt_TEXT CODE AUTO 0000:0b10 00000041 _TEXT CODE AUTO 0000:0b52 000004c8 -FAR_DATA FAR_DATA AUTO 0101:000a 00000000 -_NULL BEGDATA DGROUP 0102:0000 00000020 -_AFTERNULL BEGDATA DGROUP 0104:0000 00000002 -CONST DATA DGROUP 0104:0002 00000000 -CONST2 DATA DGROUP 0104:0002 00000000 -_DATA DATA DGROUP 0104:0002 00000218 -XIB DATA DGROUP 0125:000a 00000000 -XI DATA DGROUP 0125:000a 00000006 -XIE DATA DGROUP 0126:0000 00000000 -YIB DATA DGROUP 0126:0000 00000000 -YI DATA DGROUP 0126:0000 00000000 -YIE DATA DGROUP 0126:0000 00000000 -STRINGS DATA DGROUP 0126:0000 00000000 -DATA DATA DGROUP 0126:0000 00000000 -_BSS BSS DGROUP 0126:0000 00002406 -STACK STACK DGROUP 0367:0000 00008000 +copper13_DATA FAR_DATA AUTO 0102:0000 00000006 +plz13_DATA FAR_DATA AUTO 0102:0010 00000002 +FAR_DATA FAR_DATA AUTO 0103:0002 00000000 +_NULL BEGDATA DGROUP 0104:0000 00000020 +_AFTERNULL BEGDATA DGROUP 0106:0000 00000002 +CONST DATA DGROUP 0106:0002 00000000 +CONST2 DATA DGROUP 0106:0002 00000000 +_DATA DATA DGROUP 0106:0002 00000218 +XIB DATA DGROUP 0127:000a 00000000 +XI DATA DGROUP 0127:000a 00000006 +XIE DATA DGROUP 0128:0000 00000000 +YIB DATA DGROUP 0128:0000 00000000 +YI DATA DGROUP 0128:0000 00000000 +YIE DATA DGROUP 0128:0000 00000000 +STRINGS DATA DGROUP 0128:0000 00000000 +DATA DATA DGROUP 0128:0000 00000000 +_BSS BSS DGROUP 0128:0000 0000270e +STACK STACK DGROUP 0399:0000 00008000 +----------------+ @@ -71,44 +67,51 @@ Module: plzpart.o(/dos/z/plz/plzpart.c) 0000:0000 main_ Module: copper.o(/dos/z/plz/copper.c) 0000:0020 close_copper_ +0104:0240 _fadepal +0104:0540* _cop_pal +0104:0544 _cop_fadepal +0102:0000 _cop_plz +0102:0002 _cop_drop +0102:0004 _cop_start Module: tweak.o(/dos/z/plz/tweak.c) 0000:0070 tw_opengraph2_ 0000:00b8 tw_setrgbpalette_ Module: plz.o(/dos/z/plz/plz.c) 0000:00e0 plz_ 0000:03a8+ init_plz_ -0102:0022+ _ptau -0102:0122+ _curpal -0102:0124* _timetable -0102:0138+ _ttptr -0102:013a+ _l1 -0102:013c+ _l2 -0102:013e+ _l3 -0102:0140+ _l4 -0102:0142+ _k1 -0102:0144+ _k2 -0102:0146+ _k3 -0102:0148+ _k4 -0102:014a+ _il1 -0102:014c+ _il2 -0102:014e+ _il3 -0102:0150+ _il4 -0102:0152+ _ik1 -0102:0154+ _ik2 -0102:0156+ _ik3 -0102:0158+ _ik4 -0102:015a+ _inittable -0102:0240+ _pals +0104:0022+ _ptau +0104:0122+ _curpal +0104:0124* _timetable +0104:0138+ _ttptr +0104:013a+ _l1 +0104:013c+ _l2 +0104:013e+ _l3 +0104:0140+ _l4 +0104:0142+ _k1 +0104:0144+ _k2 +0104:0146+ _k3 +0104:0148+ _k4 +0104:014a+ _il1 +0104:014c+ _il2 +0104:014e+ _il3 +0104:0150+ _il4 +0104:0152+ _ik1 +0104:0154+ _ik2 +0104:0156+ _ik3 +0104:0158+ _ik4 +0104:015a+ _inittable +0104:0548+ _pals +0102:0010+ _frame_count Module: asmyt.o(/dos/z/plz/asmyt.c) 0000:0b10 set_plzstart_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm) 0000:0b57 __STK 0000:0b77* __STKOVERFLOW_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart) -0102:0000* __nullarea -0102:01fc* __ovlflag -0102:01fd* __intno -0102:01fe* __ovlvec +0104:0000* __nullarea +0104:01fc* __ovlflag +0104:01fd* __intno +0104:01fe* __ovlvec 0000:0b94 _cstart_ 0000:0c67* _Not_Enough_Memory_ 0000:0d99 __exit_ @@ -129,23 +132,23 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c) 0000:0e6d* __exit_with_msg_ 0000:0e72 __fatal_runtime_error_ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata) -0102:0202 __curbrk -0102:020a __STACKLOW -0102:020c __STACKTOP -0102:020e __cbyte -0102:0210 __child -0102:0212 __no87 -0102:021f ___FPE_handler -0102:0204 __psp -0102:0213 __get_ovl_stack -0102:0217 __restore_ovl_stack -0102:021b __close_ovl_file -0102:0223 __LpCmdLine -0102:0227 __LpPgmName -0102:0206 __osmajor -0102:0207 __osminor -0102:0208 __osmode -0102:0209 __HShift +0104:0202 __curbrk +0104:020a __STACKLOW +0104:020c __STACKTOP +0104:020e __cbyte +0104:0210 __child +0104:0212 __no87 +0104:021f ___FPE_handler +0104:0204 __psp +0104:0213 __get_ovl_stack +0104:0217 __restore_ovl_stack +0104:021b __close_ovl_file +0104:0223 __LpCmdLine +0104:0227 __LpPgmName +0104:0206 __osmajor +0104:0207 __osminor +0104:0208 __osmode +0104:0209 __HShift Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c) 0000:0e90 __CMain Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) @@ -154,29 +157,29 @@ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c) 0000:0f51 __FiniRtns 0000:0f51* __FFiniRtns Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c) -0102:022c ___uselfn +0104:022c ___uselfn Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg) 0000:0fb6 __DOSseg__ Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c) 0000:0fb7 __EnterWVIDEO_ -0102:022e+ ___WD_Present +0104:022e+ ___WD_Present Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c) -0102:2640 ____Argv -0102:2644 ____Argc +0104:2948 ____Argv +0104:294c ____Argc Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c) -0102:0230 __amblksiz +0104:0230 __amblksiz Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c) 0000:0fdb+ _null_exit_rtn_ 0000:0fdb+ __null_int23_exit_ 0000:0fdc exit_ 0000:0ffd+ _exit_ -0102:0232+ ___int23_exit -0102:0236+ ___FPE_handler_exit +0104:0232+ ___int23_exit +0104:0236+ ___FPE_handler_exit Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086) -0102:023a __Start_XI -0102:0240 __End_XI -0102:0240 __Start_YI -0102:0240 __End_YI +0104:023a __Start_XI +0104:0240 __End_XI +0104:0240 __Start_YI +0104:0240 __End_YI +---------------------------+ @@ -187,14 +190,8 @@ Undefined Symbol Referenced by ================ ============= init_copper_ plzpart.o(/dos/z/plz/plzpart.c) -_cop_drop plz.o(/dos/z/plz/plz.c) -_cop_fadepal plz.o(/dos/z/plz/plz.c) -_frame_count plz.o(/dos/z/plz/plz.c) -_cop_plz plz.o(/dos/z/plz/plz.c) -_fadepal plz.o(/dos/z/plz/plz.c) setplzparas_ plz.o(/dos/z/plz/plz.c) plzline_ plz.o(/dos/z/plz/plz.c) -_cop_start plz.o(/dos/z/plz/plz.c) init_copper_ plz.o(/dos/z/plz/plz.c) diff --git a/plzpart.o b/plzpart.o index 10e528a..4eab065 100755 Binary files a/plzpart.o and b/plzpart.o differ