FLAGS=$(CFLAGS) $(OFLAGS) $(DFLAGS) $(ZFLAGS)\r
\r
EXEC = plzpart.exe\r
-OBJS = copper.lib tweak.$(OBJ) plz.$(OBJ) asmyt.$(OBJ)\r
+OBJS = tweak.$(OBJ) plz.$(OBJ) asmyt.$(OBJ) copper.$(OBJ)\r
\r
all: $(EXEC)\r
\r
plzpart.exe: plzpart.$(OBJ) $(OBJS)\r
wcl $(FLAGS) $(PLZFLAGS) plzpart.$(OBJ) $(OBJS) -fm=plzpart.map\r
\r
+# NTS we have to construct the command line into tmp.cmd because for MS-DOS\r
+# systems all arguments would exceed the pitiful 128 char command line limit\r
+#.C.OBJ:\r
+# %write temp.cmd $(CFLAGS_THIS) $(CFLAGS_CON) $[@\r
+# wcl @temp.cmd\r
+\r
#\r
#executable's objects\r
#\r
#\r
#non executable objects libraries\r
#\r
-plz.$(OBJ): plz.h plz.c copper.lib\r
- wcl $(FLAGS) -c plz.c copper.lib\r
+plz.$(OBJ): plz.h plz.c\r
+ wcl $(FLAGS) -c plz.c\r
tweak.$(OBJ): tweak.h tweak.c\r
wcl $(FLAGS) -c tweak.c\r
asmyt.$(OBJ): asmyt.h asmyt.c\r
wcl $(FLAGS) -c asmyt.c\r
-copper.lib: copper.$(OBJ)\r
- wlib -b copper.lib copper.$(OBJ)\r
-copper.$(OBJ): copper.h copper.c copper.ass\r
-# wcl $(AFLAGS) -zcm=tasm -c copper.asm\r
+copper.$(OBJ): copper.h copper.asm#copper.c\r
+ wasm $(AFLAGS) -zcm=tasm -c copper.asm\r
# wasm $(AFLAGS) -c copper.ass\r
- wcl $(FLAGS) -c copper.c\r
+# wcl $(FLAGS) -c copper.c\r
\r
#tasm compiled...\r
# copper.$(OBJ): copper.h copper.asm\r
#other~\r
#\r
clean: .symbolic\r
- @$(REMOVECOMMAND) copper.lib\r
- @wlib -n copper.lib\r
+ #@$(REMOVECOMMAND) copper.lib\r
+ #@wlib -n copper.lib\r
@$(REMOVECOMMAND) $(EXEC)\r
# @$(REMOVECOMMAND) *.$(OBJ)\r
@$(REMOVECOMMAND) *.o\r
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/08/08 08:15:52
+Created on: 16/08/08 09:14:49
Executable Image: plzpart.exe
creating a DOS executable
-Error! E2028: init_copper_ is an undefined reference
-Error! E2028: close_copper_ is an undefined reference
+------------+
Group Address Size
===== ======= ====
-DGROUP 0117:0000 0000adf0
+DGROUP 01b0:0000 0000aa50
tweak_TEXT CODE AUTO 0000:0020 0000006d
plz_TEXT CODE AUTO 0000:0090 00000a26
asmyt_TEXT CODE AUTO 0000:0ac0 000001ef
-_TEXT CODE AUTO 0000:0cb0 000004ae
-copper_TEXT CODE AUTO 0000:1160 00000000
-FAR_DATA FAR_DATA AUTO 0116:0000 00000000
-copper13_DATA FAR_DATA AUTO 0116:0000 00000006
-_NULL BEGDATA DGROUP 0117:0000 00000020
-_AFTERNULL BEGDATA DGROUP 0119:0000 00000002
-CONST DATA DGROUP 0119:0002 00000000
-CONST2 DATA DGROUP 0119:0002 00000000
-_DATA DATA DGROUP 011a:0000 000002c4
-XIB DATA DGROUP 0146:0004 00000000
-XI DATA DGROUP 0146:0004 00000006
-XIE DATA DGROUP 0146:000a 00000000
-YIB DATA DGROUP 0146:000a 00000000
-YI DATA DGROUP 0146:000a 00000000
-YIE DATA DGROUP 0146:000a 00000000
-STRINGS DATA DGROUP 0146:000a 00000000
-DATA DATA DGROUP 0146:000a 00000000
-_BSS BSS DGROUP 0147:0000 00002ae2
-STACK STACK DGROUP 03f6:0000 00008000
+copper_TEXT CODE AUTO 0000:0cb0 0000099b
+_TEXT CODE AUTO 0000:164c 000004ae
+FAR_DATA FAR_DATA AUTO 01af:000a 00000000
+_NULL BEGDATA DGROUP 01b0:0000 00000020
+_AFTERNULL BEGDATA DGROUP 01b2:0000 00000002
+CONST DATA DGROUP 01b2:0002 00000000
+CONST2 DATA DGROUP 01b2:0002 00000000
+_DATA DATA DGROUP 01b3:0000 000002c4
+XIB DATA DGROUP 01df:0004 00000000
+XI DATA DGROUP 01df:0004 00000006
+XIE DATA DGROUP 01df:000a 00000000
+YIB DATA DGROUP 01df:000a 00000000
+YI DATA DGROUP 01df:000a 00000000
+YIE DATA DGROUP 01df:000a 00000000
+STRINGS DATA DGROUP 01df:000a 00000000
+DATA DATA DGROUP 01df:000a 00000000
+_BSS BSS DGROUP 01df:000a 0000274e
+STACK STACK DGROUP 0455:0000 00008000
+----------------+
Module: plz.o(/dos/z/plz/plz.c)
0000:0090 plz_
0000:0352+ init_plz_
-0117:0030* _vmem
-0117:0034+ _ptau
-0117:0134+ _curpal
-0117:0136* _timetable
-0117:014a+ _ttptr
-0117:014c+ _l1
-0117:014e+ _l2
-0117:0150+ _l3
-0117:0152+ _l4
-0117:0154+ _k1
-0117:0156+ _k2
-0117:0158+ _k3
-0117:015a+ _k4
-0117:015c+ _il1
-0117:015e+ _il2
-0117:0160+ _il3
-0117:0162+ _il4
-0117:0164+ _ik1
-0117:0166+ _ik2
-0117:0168+ _ik3
-0117:016a+ _ik4
-0117:016c+ _inittable
-0117:0300+ _pals
-0117:2700+ _frame_count
+01b0:0030* _vmem
+01b0:0034+ _ptau
+01b0:0134+ _curpal
+01b0:0136* _timetable
+01b0:014a+ _ttptr
+01b0:014c _l1
+01b0:014e _l2
+01b0:0150 _l3
+01b0:0152 _l4
+01b0:0154 _k1
+01b0:0156 _k2
+01b0:0158 _k3
+01b0:015a _k4
+01b0:015c _il1
+01b0:015e _il2
+01b0:0160 _il3
+01b0:0162 _il4
+01b0:0164 _ik1
+01b0:0166 _ik2
+01b0:0168 _ik3
+01b0:016a _ik4
+01b0:016c+ _inittable
+01b0:02fa+ _pals
Module: asmyt.o(/dos/z/plz/asmyt.c)
0000:0ac0 plzline_
0000:0b3a setplzparas_
0000:0c6e set_plzstart_
+Module: copper.o(/dos/z/plz/copper.asm)
+0000:0cb0 _frame_count
+0000:0ceb init_copper_
+0000:0cc0 close_copper_
+0000:0cb2 _cop_drop
+0000:0cb4* _cop_pal
+0000:0cb8* _do_pal
+0000:0cbc* _cop_scrl
+0000:0cba _cop_start
+0000:0cbe _cop_plz
+0000:0d8b* pompota
+0000:0db9* moveplz
+0000:0e97 _fadepal
+0000:1497 _cop_fadepal
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:0cb5 __STK
-0000:0cd5* __STKOVERFLOW_
+0000:1651 __STK
+0000:1671* __STKOVERFLOW_
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0117:0000* __nullarea
-0117:02b6* __ovlflag
-0117:02b7* __intno
-0117:02b8* __ovlvec
-0000:0cf2 _cstart_
-0000:0dc5* _Not_Enough_Memory_
-0000:0ef7 __exit_
-0000:0f14 __do_exit_with_msg__
-0000:0f6d __GETDS
+01b0:0000* __nullarea
+01b0:02b6* __ovlflag
+01b0:02b7* __intno
+01b0:02b8* __ovlvec
+0000:168e _cstart_
+0000:1761* _Not_Enough_Memory_
+0000:1893 __exit_
+0000:18b0 __do_exit_with_msg__
+0000:1909 __GETDS
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:0f78 _big_code_
-0000:0f78* CodeModelMismatch
-Module: copper.lib(/dos/z/plz/copper.c)
-0117:2a50 _fadepal
-0117:2d50 _cop_fadepal
-0117:2dd8* _cop_pal
-0116:0000 _cop_plz
-0116:0002 _cop_drop
-0116:0004 _cop_start
+0000:1914 _big_code_
+0000:1914* CodeModelMismatch
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:0f78 __I4M
-0000:0f78* __U4M
+0000:1914 __I4M
+0000:1914* __U4M
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:0f97 __PIA
-0000:0f90* __PIS
+0000:1933 __PIA
+0000:192c* __PIS
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
-0000:0fae kbhit_
+0000:194a kbhit_
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:0fc5* __exit_with_msg_
-0000:0fca __fatal_runtime_error_
+0000:1961* __exit_with_msg_
+0000:1966 __fatal_runtime_error_
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0117:02bc __curbrk
-0117:02c4 __STACKLOW
-0117:02c6 __STACKTOP
-0117:02c8 __cbyte
-0117:02ca __child
-0117:02cc __no87
-0117:02d9 ___FPE_handler
-0117:02be __psp
-0117:02cd __get_ovl_stack
-0117:02d1 __restore_ovl_stack
-0117:02d5 __close_ovl_file
-0117:02dd __LpCmdLine
-0117:02e1 __LpPgmName
-0117:02c0 __osmajor
-0117:02c1 __osminor
-0117:02c2 __osmode
-0117:02c3 __HShift
+01b0:02bc __curbrk
+01b0:02c4 __STACKLOW
+01b0:02c6 __STACKTOP
+01b0:02c8 __cbyte
+01b0:02ca __child
+01b0:02cc __no87
+01b0:02d9 ___FPE_handler
+01b0:02be __psp
+01b0:02cd __get_ovl_stack
+01b0:02d1 __restore_ovl_stack
+01b0:02d5 __close_ovl_file
+01b0:02dd __LpCmdLine
+01b0:02e1 __LpPgmName
+01b0:02c0 __osmajor
+01b0:02c1 __osminor
+01b0:02c2 __osmode
+01b0:02c3 __HShift
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:0fe4 __CMain
+0000:1980 __CMain
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:1045 __InitRtns
-0000:1045* __FInitRtns
-0000:10a0 __FiniRtns
-0000:10a0* __FFiniRtns
+0000:19e1 __InitRtns
+0000:19e1* __FInitRtns
+0000:1a3c __FiniRtns
+0000:1a3c* __FFiniRtns
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0117:02e6 ___uselfn
+01b0:02e6 ___uselfn
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:1104 __DOSseg__
+0000:1aa0 __DOSseg__
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:1105 __EnterWVIDEO_
-0117:02e8+ ___WD_Present
+0000:1aa1 __EnterWVIDEO_
+01b0:02e8+ ___WD_Present
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0117:2ddc ____Argv
-0117:2de0 ____Argc
+01b0:2a42 ____Argv
+01b0:2a46 ____Argc
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0117:02ea __amblksiz
+01b0:02ea __amblksiz
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:1129+ __null_int23_exit_
-0000:112a exit_
-0000:1142* _exit_
-0117:02ec+ ___int23_exit
-0117:02f0+ ___FPE_handler_exit
+0000:1ac5+ __null_int23_exit_
+0000:1ac6 exit_
+0000:1ade* _exit_
+01b0:02ec+ ___int23_exit
+01b0:02f0+ ___FPE_handler_exit
Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0117:02f4 __Start_XI
-0117:02fa __End_XI
-0117:02fa __Start_YI
-0117:02fa __End_YI
-
-
- +---------------------------+
- | Unresolved References |
- +---------------------------+
-
-Undefined Symbol Referenced by
-================ =============
-
-init_copper_ plzpart.o(/dos/z/plz/plzpart.c)
-close_copper_ plzpart.o(/dos/z/plz/plzpart.c)
+01b0:02f4 __Start_XI
+01b0:02fa __End_XI
+01b0:02fa __Start_YI
+01b0:02fa __End_YI
+--------------------+
| Libraries Used |
+--------------------+
-copper.lib
/dos/fdos/watcom2/lib286/dos/clibh.lib
+
+
+ +-----------------------+
+ | Linker Statistics |
+ +-----------------------+
+
+Stack size: 8000 (32768.)
+Memory size: c550 (50512.)
+Entry point address: 0000:168e
+Link time: 00:00.00
, 52, 51, 50, 49, 47, 46, 45, 43, 42, 40, 39, 38, 36, 35, 33, 32
, 30, 28, 27, 25, 24, 23, 21, 20, 18, 17, 16, 14, 13, 12, 11, 10
, 9, 8, 7, 6, 5, 4, 3, 3, 2, 2, 1, 1, 1, 1, 1, 1
-};
\ No newline at end of file
+};