]> 4ch.mooo.com Git - plz.git/commitdiff
wtf
authorsparky4 <sparky4@cock.li>
Wed, 17 Feb 2016 16:41:35 +0000 (10:41 -0600)
committersparky4 <sparky4@cock.li>
Wed, 17 Feb 2016 16:41:35 +0000 (10:41 -0600)
asmyt.c
asmyt.err

diff --git a/asmyt.c b/asmyt.c
index 5f985787ad76ceb929ec6fdb7d63665b8b120645..bc5818ba4f73b8bca837917b27327998ab1604f2 100755 (executable)
--- a/asmyt.c
+++ b/asmyt.c
@@ -122,15 +122,18 @@ int plzline(int y, int vseg)
 */\r
 int setplzparas(int c1, int c2, int c3, int c4)\r
 {\r
+//     static word psini;\r
+//     static word lsini4;\r
+//     static word lsini16;\r
        __asm{\r
-LABEL psini BYTE\r
-INCLUDE 'psini.inc'\r
+psini WORD .LABEL\r
+'psini.inc' INCLUDE\r
 \r
-LABEL lsini4 WORD\r
-INCLUDE 'lsini4.inc'\r
+lsini4 WORD .LABEL\r
+'lsini4.inc' INCLUDE\r
 \r
-LABEL lsini16 WORD\r
-INCLUDE 'lsini16.inc'\r
+lsini16 WORD .LABEL\r
+'lsini16.inc' INCLUDE\r
 \r
                IRP ccc, <0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83>\r
                mov     ax, [c1]\r
@@ -150,6 +153,7 @@ INCLUDE 'lsini16.inc'
                ENDM\r
                ret\r
        }\r
+       return 0;\r
 }\r
 /*     var psiniOffset = 0;\r
        var lsini16Offset = lsini16_GetOffset();\r
index 4a67b8ad4af44c44b60e1c9055822cc64a4cebc0..9f16313e9a6ba5714ba1023a41e65e8797f22fbd 100755 (executable)
--- a/asmyt.err
+++ b/asmyt.err
@@ -1,17 +1,11 @@
-asmyt.c(126): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(127): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(129): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(130): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(132): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(133): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(135): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(137): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
-asmyt.c(138): Error! E1156: Assembler error: 'Operator is expected'
-asmyt.c(141): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
-asmyt.c(142): Error! E1156: Assembler error: 'Operator is expected'
+asmyt.c(138): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(140): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
+asmyt.c(141): Error! E1156: Assembler error: 'Operator is expected'
 asmyt.c(144): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
 asmyt.c(145): Error! E1156: Assembler error: 'Operator is expected'
-asmyt.c(148): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
-asmyt.c(149): Error! E1156: Assembler error: 'Operator is expected'
-asmyt.c(150): Error! E1156: Assembler error: 'Syntax error'
-asmyt.c(153): Warning! W107: Missing return value for function 'setplzparas'
+asmyt.c(147): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
+asmyt.c(148): Error! E1156: Assembler error: 'Operator is expected'
+asmyt.c(151): Error! E1156: Assembler error: 'A constant operand is expected in multiplication'
+asmyt.c(152): Error! E1156: Assembler error: 'Operator is expected'
+asmyt.c(153): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(155): Error! E1011: Symbol 'LABEL' has not been declared