From 9fd48b9191180c0979ed15162ae099dbd4721a7b Mon Sep 17 00:00:00 2001 From: sparky4 Date: Thu, 7 Apr 2016 13:41:31 -0500 Subject: [PATCH] wwww --- asmyt.c | 13 +++++++++++++ asmyt.err | 22 +++++++++++----------- asmyt.h | 2 ++ copper.o | Bin 878 -> 878 bytes plz.o | Bin 5374 -> 5374 bytes plzpart.o | Bin 601 -> 601 bytes tweak.o | Bin 537 -> 537 bytes 7 files changed, 26 insertions(+), 11 deletions(-) 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 e815c936bbde7d60cd19cd378ab4a9fb0b838ac0..a1e4264016088b24a11fd412f2a073a55c00a0cb 100755 GIT binary patch delta 62 zcmaFI_Kt0W9y4!D&_qK~&QBfE3=J>A91;19w;fVIUQdv}hmd|sezAU)enC!^eo19P NYO!9%#f?pGm;k&M7ijB1-D*b|-D*ckm Pg4ANYjC~uM-Y@|G$Oac_ diff --git a/plz.o b/plz.o index 64408d9facc3610bcd3adc75fa428e60b724ee25..d9539410299bede3453e389fd6ac31a61487cd85 100755 GIT binary patch delta 191 zcmeyT`A>6#b{KC=kcWVNN`A3^m3~1E80#f#cStZayzFfB$B@eC=#T6#cG&U2Ko0@^l>B1-D*b{SFxE@1?T}z-c)83IQz~O&hZIyw2uW9Bac*Ua zUdBjEW!S-#dLWxqQl6Tat(S2ftaW;$KZ@3Z QlEhNIf}&KzjqmwI09*`6qW}N^ diff --git a/plzpart.o b/plzpart.o index 8a510fa0221aac0ac4e1a22f768aa37ddd633c01..dc0baf0c7a4effeaa8b841f2ba8acc2a9c060319 100755 GIT binary patch delta 173 zcmcb~a+76(J~L~u@5De+uH>c;8HR?JM?!!+G0wdmQb5j!oc4(YBK1mOPEU}(hmd|s zezAU)enC!^eo19PYO!9%MX+RNBbsD+YGSrt#=Z_|pfS8LK_0?LI+ODY3Q~*oGTwGb g0A)d11(0NcX6t2ibT9*@c&2GEFtBW9W(;El0P5^MtN;K2 delta 173 zcmcb~a+76(KJzlqz=?sPT*=QnWEdJ=f_Y+`k2<8FoC1;hqcDz#kbX*jv3`|)K~9x^ zNo7H5v0lbL?2_fFiP?G?*E^(v#vBg{^bkhUnVerxkXoddVb>u6vBX0FNfv0fUdF-> SW}p<$Gz|s@md(tJVT=HmIX|ob diff --git a/tweak.o b/tweak.o index 45fab2df96140259dde2f03a3b072334df14267c..cc845754150dec777ed39db4ebd7cd8d0c805bdf 100755 GIT binary patch delta 77 zcmbQqGLvP3E^|+i|3m{3>-QZ}3=JC4nkY RB`XV3i}f-tZmgfh2mnC>9P$7F delta 77 zcmbQqGLvP3F7qt*cQSU-yq06{w(@&Et; -- 2.39.5