From: sparky4 Date: Thu, 7 Apr 2016 18:41:31 +0000 (-0500) Subject: wwww X-Git-Url: http://4ch.mooo.com/gitweb/?a=commitdiff_plain;h=9fd48b9191180c0979ed15162ae099dbd4721a7b;p=plz.git wwww --- diff --git a/asmyt.c b/asmyt.c index bc5818b..e0b2959 100755 --- a/asmyt.c +++ b/asmyt.c @@ -15,8 +15,21 @@ // ; db 16384 dup(?) // } +word anSelfModifyOffsets[5*84]; + int ccc; +word anSelfModifyOffsets_ReadWord(word nOffset) +{ + //return anSelfModifyOffsets[nOffset]; + return 0; +} + +void anSelfModifyOffsets_WriteWord(word nOffset, word nValue) +{ + anSelfModifyOffsets[nOffset] = nValue; +} + word set_plzstart(word start) { __asm{ diff --git a/asmyt.err b/asmyt.err index 9f16313..209b101 100755 --- a/asmyt.err +++ b/asmyt.err @@ -1,11 +1,11 @@ -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(155): Error! E1011: Symbol 'LABEL' has not been declared +asmyt.c(151): Error! E1156: Assembler error: 'Syntax error' +asmyt.c(153): Error! E1156: Assembler error: 'A constant operand is expected in multiplication' +asmyt.c(154): Error! E1156: Assembler error: 'Operator is expected' +asmyt.c(157): Error! E1156: Assembler error: 'A constant operand is expected in multiplication' +asmyt.c(158): Error! E1156: Assembler error: 'Operator is expected' +asmyt.c(160): Error! E1156: Assembler error: 'A constant operand is expected in multiplication' +asmyt.c(161): Error! E1156: Assembler error: 'Operator is expected' +asmyt.c(164): Error! E1156: Assembler error: 'A constant operand is expected in multiplication' +asmyt.c(165): Error! E1156: Assembler error: 'Operator is expected' +asmyt.c(166): Error! E1156: Assembler error: 'Syntax error' +asmyt.c(168): Error! E1011: Symbol 'LABEL' has not been declared diff --git a/asmyt.h b/asmyt.h index 643ce9b..74e66e9 100755 --- a/asmyt.h +++ b/asmyt.h @@ -1,6 +1,8 @@ #ifndef _ASMYT_H_ #define _ASMYT_H_ #include "types.h" +word anSelfModifyOffsets_ReadWord(word nOffset); +void anSelfModifyOffsets_WriteWord(word nOffset, word nValue); int plzline(int y, int vseg); int setplzparas(int c1, int c2, int c3, int c4); word set_plzstart(word start); diff --git a/copper.o b/copper.o index e815c93..a1e4264 100755 Binary files a/copper.o and b/copper.o differ diff --git a/plz.o b/plz.o index 64408d9..d953941 100755 Binary files a/plz.o and b/plz.o differ diff --git a/plzpart.o b/plzpart.o index 8a510fa..dc0baf0 100755 Binary files a/plzpart.o and b/plzpart.o differ diff --git a/tweak.o b/tweak.o index 45fab2d..cc84575 100755 Binary files a/tweak.o and b/tweak.o differ