// ; db 16384 dup(?)\r
// }\r
\r
+int ccc;\r
+\r
word set_plzstart(word start)\r
{\r
__asm{\r
return 0;\r
}\r
\r
+*/\r
int setplzparas(int c1, int c2, int c3, int c4)\r
{\r
- var psiniOffset = 0;\r
+ __asm{\r
+ LABEL psini BYTE\r
+INCLUDE 'psini.inc'\r
+; db 16384 dup(?)\r
+\r
+LABEL lsini4 WORD\r
+INCLUDE 'lsini4.inc'\r
+; db 16384 dup(?)\r
+\r
+LABEL lsini16 WORD\r
+INCLUDE 'lsini16.inc'\r
+; db 16384 dup(?)\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
+ add ax, OFFSET psini+ccc*8\r
+ mov [word (cs:lc1_&ccc)], ax\r
+ mov ax, [c2]\r
+ shl ax, 1d\r
+ add ax, OFFSET lsini16-ccc*8+80*8\r
+ mov [word (cs:lc2_&ccc)], ax\r
+ mov ax, [c3]\r
+ add ax, OFFSET psini-ccc*4+80*4\r
+ mov [word (cs:lc3_&ccc)], ax\r
+ mov ax, [c4]\r
+ shl ax, 1d\r
+ add ax, OFFSET lsini4+ccc*32\r
+ mov [word (cs:lc4_&ccc)], ax\r
+ ENDM\r
+ ret\r
+ }\r
+}\r
+/* var psiniOffset = 0;\r
var lsini16Offset = lsini16_GetOffset();\r
var lsini4Offset = lsini4_GetOffset();\r
\r
--- /dev/null
+asmyt.c(126): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(127): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(130): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(131): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(134): Error! E1156: Assembler error: 'Syntax error'
+asmyt.c(135): Error! E1156: Assembler error: 'Syntax error'
+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(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(156): Warning! W107: Missing return value for function 'setplzparas'