]> 4ch.mooo.com Git - plz.git/commitdiff
fack!!!!
authorsparky4 <sparky4@cock.li>
Wed, 17 Feb 2016 16:09:03 +0000 (10:09 -0600)
committersparky4 <sparky4@cock.li>
Wed, 17 Feb 2016 16:09:03 +0000 (10:09 -0600)
asmyt.c
asmyt.o
copper.c
copper.o
makefile
plzpart.map

diff --git a/asmyt.c b/asmyt.c
index f06b7af698a5a846167a0fde37c49b7d8d9dc4e6..4427c78941f202f9ca31d88c2461baf9528863bf 100755 (executable)
--- a/asmyt.c
+++ b/asmyt.c
@@ -35,7 +35,7 @@ __asm{
        return start;\r
 }\r
 /*\r
-function plzline(y, vseg)\r
+int plzline(int y, int vseg)\r
 {\r
        // vseg represented a segment, so multiply by sixteen (shift left by 4)\r
        // to convert into an offset.\r
@@ -117,7 +117,7 @@ function plzline(y, vseg)
        return 0;\r
 }\r
 \r
-function setplzparas(c1, c2, c3, c4)\r
+int setplzparas(int c1, int c2, int c3, int c4)\r
 {\r
        var psiniOffset = 0;\r
        var lsini16Offset = lsini16_GetOffset();\r
diff --git a/asmyt.o b/asmyt.o
index 94c75223804b8c88a37eb0c5d49526cd7117b2a3..25cb08606d8d9507b53fecc72190c2de68eb5506 100755 (executable)
Binary files a/asmyt.o and b/asmyt.o differ
index 6e8b16f4a80ae78205114b2855b723cdb49e43ae..2a608daca71ef2bb551d21a4194215e717a918b4 100755 (executable)
--- a/copper.c
+++ b/copper.c
@@ -1,6 +1,6 @@
 #include "copper.h"\r
 \r
-\r
+/*\r
 __asm{\r
        mov             bx,7\r
        mov             ax,1\r
@@ -18,7 +18,7 @@ __asm{
        mov             dx,COPPER_TEXT\r
        int             0fcH\r
 }\r
-}\r
+}*/\r
 \r
 int close_copper()\r
 {\r
@@ -39,4 +39,5 @@ __asm{
        mov             dx,0\r
        int             0fcH\r
 }\r
+       return 0;\r
 }\r
index 1577cddac43608603a8c3b96ffbefacb457afb10..d7e7c16d7f8e65fbacc46300e7e1d94f93e2722b 100755 (executable)
Binary files a/copper.o and b/copper.o differ
index a9729e82c496e4b2f9aa873140db7b1b3a8b864f..0eaad16d8a2089a93e01f5ef49e8f97c3244726c 100755 (executable)
--- a/makefile
+++ b/makefile
@@ -88,9 +88,12 @@ tweak.$(OBJ): tweak.h tweak.c
        wcl $(FLAGS) -c tweak.c\r
 asmyt.$(OBJ): asmyt.h asmyt.c\r
        wcl $(FLAGS) -c asmyt.c\r
-#tasm compiled...\r
-copper.$(OBJ): copper.h copper.asm\r
+copper.$(OBJ): copper.h copper.c copper.asm\r
        wcl $(AFLAGS) -zcm=tasm -c copper.asm\r
+       wcl $(FLAGS) -c copper.c\r
+#tasm compiled...\r
+# copper.$(OBJ): copper.h copper.asm\r
+#      wcl $(AFLAGS) -zcm=tasm -c copper.asm\r
 # tweak.$(OBJ): tweak.h tweak.asm\r
 #      wcl $(AFLAGS) -zcm=tasm -c tweak.asm\r
 # asmyt.$(OBJ): asmyt.h asmyt.asm\r
index 74c94925ac87537eee46868130fe057d703d243d..39d3dba4ffc3106b8cb03be08b4f067196fcbccb 100755 (executable)
@@ -1,13 +1,18 @@
 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:02:42
+Created on:       16/02/17 10:08:56
 Executable Image: plzpart.exe
 creating a DOS executable
 Error! E2028: init_copper_ is an undefined reference
-Error! E2028: close_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
 
 
                         +------------+
@@ -17,7 +22,7 @@ Error! E2028: plzline_ is an undefined reference
 Group                           Address              Size
 =====                           =======              ====
 
-DGROUP                          0197:0000            0000a650
+DGROUP                          0102:0000            0000a650
 
 
 
@@ -29,27 +34,27 @@ Segment                Class          Group          Address         Size
 =======                =====          =====          =======         ====
 
 plzpart_TEXT           CODE           AUTO           0000:0000       00000020
-copper_TEXT            CODE           AUTO           0000:0020       0000099b
-tweak_TEXT             CODE           AUTO           0000:09c0       0000006d
-plz_TEXT               CODE           AUTO           0000:0a30       00000a30
-asmyt_TEXT             CODE           AUTO           0000:1460       00000041
-_TEXT                  CODE           AUTO           0000:14a2       000004c8
-FAR_DATA               FAR_DATA       AUTO           0196:000a       00000000
-_NULL                  BEGDATA        DGROUP         0197:0000       00000020
-_AFTERNULL             BEGDATA        DGROUP         0199:0000       00000002
-CONST                  DATA           DGROUP         0199:0002       00000000
-CONST2                 DATA           DGROUP         0199:0002       00000000
-_DATA                  DATA           DGROUP         0199:0002       00000218
-XIB                    DATA           DGROUP         01ba:000a       00000000
-XI                     DATA           DGROUP         01ba:000a       00000006
-XIE                    DATA           DGROUP         01bb:0000       00000000
-YIB                    DATA           DGROUP         01bb:0000       00000000
-YI                     DATA           DGROUP         01bb:0000       00000000
-YIE                    DATA           DGROUP         01bb:0000       00000000
-STRINGS                DATA           DGROUP         01bb:0000       00000000
-DATA                   DATA           DGROUP         01bb:0000       00000000
-_BSS                   BSS            DGROUP         01bb:0000       00002406
-STACK                  STACK          DGROUP         03fc:0000       00008000
+copper_TEXT            CODE           AUTO           0000:0020       00000048
+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
 
 
                         +----------------+
@@ -64,126 +69,114 @@ Address        Symbol
 
 Module: plzpart.o(/dos/z/plz/plzpart.c)
 0000:0000      main_
-Module: copper.o(/dos/z/plz/copper.asm)
-0000:0020      _frame_count
-0000:005b*     init_copper
-0000:0030*     close_copper
-0000:0022      _cop_drop
-0000:0024*     _cop_pal
-0000:0028*     _do_pal
-0000:002c*     _cop_scrl
-0000:002a      _cop_start
-0000:002e      _cop_plz
-0000:00fb*     pompota
-0000:0129*     moveplz
-0000:0207      _fadepal
-0000:0807      _cop_fadepal
+Module: copper.o(/dos/z/plz/copper.c)
+0000:0020      close_copper_
 Module: tweak.o(/dos/z/plz/tweak.c)
-0000:09c0      tw_opengraph2_
-0000:0a08      tw_setrgbpalette_
+0000:0070      tw_opengraph2_
+0000:00b8      tw_setrgbpalette_
 Module: plz.o(/dos/z/plz/plz.c)
-0000:0a30      plz_
-0000:0cf8+     init_plz_
-0197:0022+     _ptau
-0197:0122+     _curpal
-0197:0124*     _timetable
-0197:0138+     _ttptr
-0197:013a      _l1
-0197:013c      _l2
-0197:013e      _l3
-0197:0140      _l4
-0197:0142      _k1
-0197:0144      _k2
-0197:0146      _k3
-0197:0148      _k4
-0197:014a      _il1
-0197:014c      _il2
-0197:014e      _il3
-0197:0150      _il4
-0197:0152      _ik1
-0197:0154      _ik2
-0197:0156      _ik3
-0197:0158      _ik4
-0197:015a+     _inittable
-0197:0240+     _pals
+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
 Module: asmyt.o(/dos/z/plz/asmyt.c)
-0000:1460      set_plzstart_
+0000:0b10      set_plzstart_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(stk086.asm)
-0000:14a7      __STK
-0000:14c7*     __STKOVERFLOW_
+0000:0b57      __STK
+0000:0b77*     __STKOVERFLOW_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cstart)
-0197:0000*     __nullarea
-0197:01fc*     __ovlflag
-0197:01fd*     __intno
-0197:01fe*     __ovlvec
-0000:14e4      _cstart_
-0000:15b7*     _Not_Enough_Memory_
-0000:16e9      __exit_
-0000:1708      __do_exit_with_msg__
-0000:1765      __GETDS
+0102:0000*     __nullarea
+0102:01fc*     __ovlflag
+0102:01fd*     __intno
+0102:01fe*     __ovlvec
+0000:0b94      _cstart_
+0000:0c67*     _Not_Enough_Memory_
+0000:0d99      __exit_
+0000:0db8      __do_exit_with_msg__
+0000:0e15      __GETDS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmodel.asm)
-0000:1770      _big_code_
-0000:1770*     CodeModelMismatch
+0000:0e20      _big_code_
+0000:0e20*     CodeModelMismatch
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(i4m.asm)
-0000:1770      __I4M
-0000:1770*     __U4M
+0000:0e20      __I4M
+0000:0e20*     __U4M
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(pia.asm)
-0000:178f      __PIA
-0000:1788*     __PIS
+0000:0e3f      __PIA
+0000:0e38*     __PIS
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(kbhit.c)
-0000:17a6      kbhit_
+0000:0e56      kbhit_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(xmsg.c)
-0000:17bd*     __exit_with_msg_
-0000:17c2      __fatal_runtime_error_
+0000:0e6d*     __exit_with_msg_
+0000:0e72      __fatal_runtime_error_
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(crwdata)
-0197:0202      __curbrk
-0197:020a      __STACKLOW
-0197:020c      __STACKTOP
-0197:020e      __cbyte
-0197:0210      __child
-0197:0212      __no87
-0197:021f      ___FPE_handler
-0197:0204      __psp
-0197:0213      __get_ovl_stack
-0197:0217      __restore_ovl_stack
-0197:021b      __close_ovl_file
-0197:0223      __LpCmdLine
-0197:0227      __LpPgmName
-0197:0206      __osmajor
-0197:0207      __osminor
-0197:0208      __osmode
-0197:0209      __HShift
+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
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(cmain086.c)
-0000:17e0      __CMain
+0000:0e90      __CMain
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(initrtns.c)
-0000:1846      __InitRtns
-0000:1846*     __FInitRtns
-0000:18a1      __FiniRtns
-0000:18a1*     __FFiniRtns
+0000:0ef6      __InitRtns
+0000:0ef6*     __FInitRtns
+0000:0f51      __FiniRtns
+0000:0f51*     __FFiniRtns
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(uselfn.c)
-0197:022c      ___uselfn
+0102:022c      ___uselfn
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(dosseg)
-0000:1906      __DOSseg__
+0000:0fb6      __DOSseg__
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(enterdb.c)
-0000:1907      __EnterWVIDEO_
-0197:022e+     ___WD_Present
+0000:0fb7      __EnterWVIDEO_
+0102:022e+     ___WD_Present
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(___argc.c)
-0197:2640      ____Argv
-0197:2644      ____Argc
+0102:2640      ____Argv
+0102:2644      ____Argc
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(amblksiz.c)
-0197:0230      __amblksiz
+0102:0230      __amblksiz
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(exit.c)
-0000:192b+     _null_exit_rtn_
-0000:192b+     __null_int23_exit_
-0000:192c      exit_
-0000:194d+     _exit_
-0197:0232+     ___int23_exit
-0197:0236+     ___FPE_handler_exit
+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
 Module: /dos/fdos/watcom2/lib286/dos/clibh.lib(sgdef086)
-0197:023a      __Start_XI
-0197:0240      __End_XI
-0197:0240      __Start_YI
-0197:0240      __End_YI
+0102:023a      __Start_XI
+0102:0240      __End_XI
+0102:0240      __Start_YI
+0102:0240      __End_YI
 
 
                         +---------------------------+
@@ -194,9 +187,14 @@ Undefined Symbol                Referenced by
 ================                =============
 
 init_copper_                    plzpart.o(/dos/z/plz/plzpart.c)
-close_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)