From 2568ee84112eebd4da06cb6e495ed59aca928c20 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Wed, 17 Feb 2016 10:14:32 -0600 Subject: [PATCH] wwww --- copper.c | 8 +++ copper.o | Bin 425 -> 587 bytes plz.c | 3 +- plz.o | Bin 5309 -> 5374 bytes plzpart.map | 165 ++++++++++++++++++++++++++-------------------------- plzpart.o | Bin 601 -> 601 bytes 6 files changed, 91 insertions(+), 85 deletions(-) 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 d7e7c16d7f8e65fbacc46300e7e1d94f93e2722b..a774f3fc26a00f455e0299464bfaa8f0fa6b4e9a 100755 GIT binary patch delta 235 zcmZ3izD438H8%>t?c zgMbNI3=C{g0F@a) A-~a#s delta 64 zcmV-G0Kfms1gQg%E&|O^kuVkrKZqLufa#`5kuVhkXlRjTe+!xj00#d8{{#O7Qj;kG Wehn7@000>P5dbRyI{>wl90D(&juIXK 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 f3f2b52bcb35f6d8061a21c2e8ae3e8a25b9b95b..ed3d2dd70354b606e8466a8ed1a0954382ad2ee2 100755 GIT binary patch delta 433 zcmYk2Pe_w-9L7Jt?_S?OYeBjU62yceL~uyAx;T+AP05;-OPje?R&$%0tZZh97cb#Z ztV0L8bQ1!LYT=&>eJx6ZEW?!4LmjG9ry!yiPaPik@O+-rGg0)nXs~#PT~}AR&3885 z>Ff3-qMIoR_oV&7o%bB${m+EsiA1EMq&1R$_nx z@N6AVsZy)A3^+tKRpe4l9yJ`MmLR=^xj~Yf4)rm>5r#R&Z2~-^o@tKrl@t8rB)e4u zmL>$X(S$MxEx9YT<{vz%O+Xw_L&_Q3|Dv{Su>0+NqZ-G?vR%x}=+wTq7+h z#-xV_($AbcW<{Q`F32b_k_-MoN0@M!tt)yWv6Wzy0zW+58Z`(dH?_b delta 351 zcmWN|O-Pe*9KiAK|MxsTFSCoA9tJ*{U0ubbEo{yMoG;1XJgHCT^FJu z=lV$6$vAE*<0M90_r~3}WYS;UTzIS;JKGLKX`qWHx;e_ZT0O*=B0(09>6-VL;XDtx z$U`o%#AR0Kz%~ejQJ|e20YpQms0UoJ1c{RuZKyGnFZgX5xoR&Lu zh)b_{#3M4ssEjiy8GM;wUM6`W_t}uA?8-B$lIN#9=RlVED+Pku3tF@yuC_v6dx@b} z7IO9f%)vEM`YSwrow8oyOx*_ab+0jvHw29>hK+5CMwwRgElKkoY4bg+<_B7=3ZC_u kg0(}*`ob}Lm#F=XkMb%7 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 10e528a23ba8d394223d7d3ea0c9f075389e2bc5..4eab065359e89d422ffbb3ca81063d5d27e3831c 100755 GIT binary patch delta 36 scmcb~a+77k5y^#tfgZy8Dfz|vRr&=vRr<;K1qG=^dKsx3@76E^00ia^CjbBd delta 36 scmcb~a+77k5y@qqfgZy8Dfz|vRr&=vRr<;K1qG=^dKnoT@76E^00gEECjbBd -- 2.39.5