From 56199f5865f2648b18b07cea23ba04aa6b2ddbb3 Mon Sep 17 00:00:00 2001 From: sparky4 Date: Mon, 15 Feb 2016 10:15:23 -0600 Subject: [PATCH] tweak being made wwww going to port p16 code wwww --- asmyt.err | 442 ++++++++++++++++++++++++++++++------------------------ makefile | 6 +- tweak.c | 31 ++++ tweak.err | 26 ---- tweak.o | Bin 0 -> 422 bytes 5 files changed, 277 insertions(+), 228 deletions(-) create mode 100755 tweak.c delete mode 100755 tweak.err create mode 100755 tweak.o diff --git a/asmyt.err b/asmyt.err index d5af799..9ffd574 100755 --- a/asmyt.err +++ b/asmyt.err @@ -1,200 +1,242 @@ -asmyt.asm(3513): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(4116): Error! E039: Operands must be the same size -asmyt.asm(4117): Error! E039: Operands must be the same size -asmyt.asm(4124): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(4593): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(4595): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(4600): Error! E039: Operands must be the same size -asmyt.asm(4601): Error! E039: Operands must be the same size -asmyt.asm(5203): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(5209): Error! E039: Operands must be the same size -asmyt.asm(5301): Error! E085: Only register or label is expected in override -asmyt.asm(5331): Error! E040: Invalid instruction operands -asmyt.asm(5337): Error! E040: Invalid instruction operands -asmyt.asm(5403): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(5405): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(5413): Error! E039: Operands must be the same size -asmyt.asm(5414): Error! E039: Operands must be the same size -asmyt.asm(5913): Error! E085: Only register or label is expected in override -asmyt.asm(5991): Error! E040: Invalid instruction operands -asmyt.asm(6020): Error! E040: Invalid instruction operands -asmyt.asm(6022): Error! E040: Invalid instruction operands -asmyt.asm(6024): Error! E040: Invalid instruction operands -asmyt.asm(6026): Error! E040: Invalid instruction operands -asmyt.asm(6028): Error! E040: Invalid instruction operands -asmyt.asm(6030): Error! E040: Invalid instruction operands -asmyt.asm(6032): Error! E040: Invalid instruction operands -asmyt.asm(6631): Error! E040: Invalid instruction operands -asmyt.asm(6633): Error! E040: Invalid instruction operands -asmyt.asm(6635): Error! E040: Invalid instruction operands -asmyt.asm(6637): Error! E040: Invalid instruction operands -asmyt.asm(6639): Error! E040: Invalid instruction operands -asmyt.asm(6641): Error! E040: Invalid instruction operands -asmyt.asm(6669): Error! E040: Invalid instruction operands -asmyt.asm(6749): Error! E085: Only register or label is expected in override -asmyt.asm(7247): Error! E039: Operands must be the same size -asmyt.asm(7256): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(7258): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(7324): Error! E040: Invalid instruction operands -asmyt.asm(7333): Error! E040: Invalid instruction operands -asmyt.asm(7461): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(8065): Error! E039: Operands must be the same size -asmyt.asm(8066): Error! E039: Operands must be the same size -asmyt.asm(8073): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(8541): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(8543): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(8548): Error! E039: Operands must be the same size -asmyt.asm(8549): Error! E039: Operands must be the same size -asmyt.asm(9151): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(9157): Error! E039: Operands must be the same size -asmyt.asm(9249): Error! E085: Only register or label is expected in override -asmyt.asm(9279): Error! E040: Invalid instruction operands -asmyt.asm(9285): Error! E040: Invalid instruction operands -asmyt.asm(9352): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(9354): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(9362): Error! E039: Operands must be the same size -asmyt.asm(9363): Error! E039: Operands must be the same size -asmyt.asm(9865): Error! E085: Only register or label is expected in override -asmyt.asm(9944): Error! E040: Invalid instruction operands -asmyt.asm(9973): Error! E040: Invalid instruction operands -asmyt.asm(9975): Error! E040: Invalid instruction operands -asmyt.asm(9977): Error! E040: Invalid instruction operands -asmyt.asm(9979): Error! E040: Invalid instruction operands -asmyt.asm(9981): Error! E040: Invalid instruction operands -asmyt.asm(9983): Error! E040: Invalid instruction operands -asmyt.asm(9985): Error! E040: Invalid instruction operands -asmyt.asm(10583): Error! E040: Invalid instruction operands -asmyt.asm(10585): Error! E040: Invalid instruction operands -asmyt.asm(10587): Error! E040: Invalid instruction operands -asmyt.asm(10589): Error! E040: Invalid instruction operands -asmyt.asm(10591): Error! E040: Invalid instruction operands -asmyt.asm(10593): Error! E040: Invalid instruction operands -asmyt.asm(10621): Error! E040: Invalid instruction operands -asmyt.asm(10701): Error! E085: Only register or label is expected in override -asmyt.asm(11199): Error! E039: Operands must be the same size -asmyt.asm(11208): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(11210): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(11276): Error! E040: Invalid instruction operands -asmyt.asm(11285): Error! E040: Invalid instruction operands -asmyt.asm(11561): Error! E039: Operands must be the same size -asmyt.asm(11564): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(11586): Error! E085: Only register or label is expected in override -asmyt.asm(11598): Error! E040: Invalid instruction operands -asmyt.asm(11623): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(11875): Error! E085: Only register or label is expected in override -asmyt.asm(12005): Error! E085: Only register or label is expected in override -asmyt.asm(12113): Error! E085: Only register or label is expected in override -asmyt.asm(12166): Error! E085: Only register or label is expected in override -asmyt.asm(12170): Error! E003: LOCK prefix is not allowed on this instruction -asmyt.asm(12173): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(12520): Error! E085: Only register or label is expected in override -asmyt.asm(12583): Error! E085: Only register or label is expected in override -asmyt.asm(12665): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(12669): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(12670): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(12697): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(12699): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(12776): Error! E085: Only register or label is expected in override -asmyt.asm(12885): Error! E085: Only register or label is expected in override -asmyt.asm(13028): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(13029): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(13030): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(13033): Error! E003: LOCK prefix is not allowed on this instruction -asmyt.asm(13034): Error! E003: LOCK prefix is not allowed on this instruction -asmyt.asm(13062): Error! E085: Only register or label is expected in override -asmyt.asm(13158): Error! E040: Invalid instruction operands -asmyt.asm(13218): Error! E039: Operands must be the same size -asmyt.asm(13268): Error! E085: Only register or label is expected in override -asmyt.asm(13285): Error! E040: Invalid instruction operands -asmyt.asm(13315): Error! E085: Only register or label is expected in override -asmyt.asm(13411): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(13413): Error! E039: Operands must be the same size -asmyt.asm(13834): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(13837): Error! E039: Operands must be the same size -asmyt.asm(13988): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(13992): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(13999): Error! E039: Operands must be the same size -asmyt.asm(14000): Error! E039: Operands must be the same size -asmyt.asm(14108): Error! E040: Invalid instruction operands -asmyt.asm(14133): Error! E039: Operands must be the same size -asmyt.asm(14324): Error! E040: Invalid instruction operands -asmyt.asm(14328): Error! E040: Invalid instruction operands -asmyt.asm(14640): Error! E040: Invalid instruction operands -asmyt.asm(14815): Error! E085: Only register or label is expected in override -asmyt.asm(14849): Error! E085: Only register or label is expected in override -asmyt.asm(14948): Error! E039: Operands must be the same size -asmyt.asm(14951): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(15021): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(15027): Error! E039: Operands must be the same size -asmyt.asm(15100): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(15101): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(15135): Error! E040: Invalid instruction operands -asmyt.asm(15142): Error! E040: Invalid instruction operands -asmyt.asm(15174): Error! E085: Only register or label is expected in override -asmyt.asm(15345): Error! E085: Only register or label is expected in override -asmyt.asm(15347): Error! E085: Only register or label is expected in override -asmyt.asm(15349): Error! E085: Only register or label is expected in override -asmyt.asm(15351): Error! E085: Only register or label is expected in override -asmyt.asm(15353): Error! E085: Only register or label is expected in override -asmyt.asm(15626): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(15891): Error! E039: Operands must be the same size -asmyt.asm(15894): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(15916): Error! E085: Only register or label is expected in override -asmyt.asm(15928): Error! E040: Invalid instruction operands -asmyt.asm(15953): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(16206): Error! E085: Only register or label is expected in override -asmyt.asm(16335): Error! E085: Only register or label is expected in override -asmyt.asm(16443): Error! E085: Only register or label is expected in override -asmyt.asm(16496): Error! E085: Only register or label is expected in override -asmyt.asm(16500): Error! E003: LOCK prefix is not allowed on this instruction -asmyt.asm(16503): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(16851): Error! E085: Only register or label is expected in override -asmyt.asm(16913): Error! E085: Only register or label is expected in override -asmyt.asm(16995): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(16999): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(17000): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(17027): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(17029): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(17106): Error! E085: Only register or label is expected in override -asmyt.asm(17215): Error! E085: Only register or label is expected in override -asmyt.asm(17358): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(17359): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(17360): Error! E101: REPZ, REPNZ, REPE or REPNE prefix is not allowed on this instruction -asmyt.asm(17363): Error! E003: LOCK prefix is not allowed on this instruction -asmyt.asm(17364): Error! E003: LOCK prefix is not allowed on this instruction -asmyt.asm(17392): Error! E085: Only register or label is expected in override -asmyt.asm(17489): Error! E040: Invalid instruction operands -asmyt.asm(17548): Error! E039: Operands must be the same size -asmyt.asm(17598): Error! E085: Only register or label is expected in override -asmyt.asm(17615): Error! E040: Invalid instruction operands -asmyt.asm(17645): Error! E085: Only register or label is expected in override -asmyt.asm(17741): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(17743): Error! E039: Operands must be the same size -asmyt.asm(18164): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(18167): Error! E039: Operands must be the same size -asmyt.asm(18319): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(18323): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(18330): Error! E039: Operands must be the same size -asmyt.asm(18331): Error! E039: Operands must be the same size -asmyt.asm(18421): Error! E040: Invalid instruction operands -asmyt.asm(18445): Error! E039: Operands must be the same size -asmyt.asm(18635): Error! E040: Invalid instruction operands -asmyt.asm(18639): Error! E040: Invalid instruction operands -asmyt.asm(18951): Error! E040: Invalid instruction operands -asmyt.asm(19126): Error! E085: Only register or label is expected in override -asmyt.asm(19160): Error! E085: Only register or label is expected in override -asmyt.asm(19259): Error! E039: Operands must be the same size -asmyt.asm(19262): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(19333): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(19339): Error! E039: Operands must be the same size -asmyt.asm(19411): Warning! W096: size not specified -- WORD PTR is assumed -asmyt.asm(19412): Warning! W095: size not specified -- BYTE PTR is assumed -asmyt.asm(19446): Error! E040: Invalid instruction operands -asmyt.asm(19453): Error! E040: Invalid instruction operands -asmyt.asm(19485): Error! E085: Only register or label is expected in override -asmyt.asm(19652): Error! E085: Only register or label is expected in override -asmyt.asm(19654): Error! E085: Only register or label is expected in override -asmyt.asm(19656): Error! E085: Only register or label is expected in override -asmyt.asm(19658): Error! E085: Only register or label is expected in override -asmyt.asm(19660): Error! E085: Only register or label is expected in override -asmyt.asm(19936): Warning! W095: size not specified -- BYTE PTR is assumed +asmyt.asm(3): Error! E019: Unknown directive +asmyt.asm(26): Error! E514: Colon is expected +asmyt.asm(30): Error! E065: Operator is expected +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(64): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(64): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(48): Error! E077: A constant operand is expected in multiplication +asmyt.asm(50): Error! E077: A constant operand is expected in multiplication +asmyt.asm(57): Error! E077: A constant operand is expected in multiplication +asmyt.asm(59): Error! E077: A constant operand is expected in multiplication +asmyt.asm(67): Error! E027: Cannot use 386 register with current CPU setting +asmyt.asm(70): Error! E065: Operator is expected +asmyt.asm(74): Error! E600: 'C' is already defined +asmyt.asm(76): Error! E611: ARG may only be used within a PROC and before the first instruction +asmyt.asm(95): Error! E506: Block nesting error +asmyt.asm(99): Error! E600: 'C' is already defined +asmyt.asm(101): Error! E611: ARG may only be used within a PROC and before the first instruction +asmyt.asm(109): Error! E002: Invalid instruction with current CPU setting +asmyt.asm(115): Error! E506: Block nesting error diff --git a/makefile b/makefile index e391842..6f3b820 100755 --- a/makefile +++ b/makefile @@ -85,11 +85,13 @@ plzpart.$(OBJ): plzpart.h plzpart.c # plz.$(OBJ): plz.h plz.c wcl $(FLAGS) -c plz.c +tweak.$(OBJ): tweak.h tweak.c + wcl $(FLAGS) -c tweak.c #tasm compiled... copper.$(OBJ): copper.h copper.asm wcl $(AFLAGS) -zcm=tasm -c copper.asm -tweak.$(OBJ): tweak.h tweak.asm - wcl $(AFLAGS) -zcm=tasm -c tweak.asm +# tweak.$(OBJ): tweak.h tweak.asm +# wcl $(AFLAGS) -zcm=tasm -c tweak.asm asmyt.$(OBJ): asmyt.h asmyt.asm wcl $(AFLAGS) -zcm=tasm -c asmyt.asm diff --git a/tweak.c b/tweak.c new file mode 100755 index 0000000..4e89b13 --- /dev/null +++ b/tweak.c @@ -0,0 +1,31 @@ +#include "tweak.h" +void tw_opengraph2() +{ +__asm{ + mov dx, 03c4h + mov ax, 0604h + out dx, ax ; chain4 off + + mov ax, 0f02h + out dx, ax + mov dx, 0a000h + mov es, dx + xor di, di + xor ax, ax + mov cx, 8000h + rep stosw ; clear vmem + + mov dx, 03d4h + mov ax, 0014h + out dx, ax ; crtc long off + + mov ax, 0e317h + out dx, ax ; crtc byte on + + mov ax, 0009h + out dx, ax ; 400 + + mov ax, 3013h + out dx, ax ; 384 wide +} +} diff --git a/tweak.err b/tweak.err deleted file mode 100755 index 46f9c0f..0000000 --- a/tweak.err +++ /dev/null @@ -1,26 +0,0 @@ -tweak.asm(3): Error! E019: Unknown directive -tweak.asm(81): Error! E027: Cannot use 386 register with current CPU setting -tweak.asm(81): Error! E027: Cannot use 386 register with current CPU setting -tweak.asm(83): Error! E002: Invalid instruction with current CPU setting -tweak.asm(116): Error! E002: Invalid instruction with current CPU setting -tweak.asm(118): Error! E002: Invalid instruction with current CPU setting -tweak.asm(122): Error! E002: Invalid instruction with current CPU setting -tweak.asm(150): Error! E002: Invalid instruction with current CPU setting -tweak.asm(154): Error! E002: Invalid instruction with current CPU setting -tweak.asm(157): Error! E002: Invalid instruction with current CPU setting -tweak.asm(174): Error! E065: Operator is expected -tweak.asm(184): Error! E002: Invalid instruction with current CPU setting -tweak.asm(186): Error! E065: Operator is expected -tweak.asm(191): Error! E514: Colon is expected -tweak.asm(195): Error! E065: Operator is expected -tweak.asm(208): Error! E002: Invalid instruction with current CPU setting -tweak.asm(210): Error! E065: Operator is expected -tweak.asm(245): Error! E065: Operator is expected -tweak.asm(260): Error! E002: Invalid instruction with current CPU setting -tweak.asm(274): Error! E002: Invalid instruction with current CPU setting -tweak.asm(288): Error! E002: Invalid instruction with current CPU setting -tweak.asm(302): Error! E002: Invalid instruction with current CPU setting -tweak.asm(308): Error! E065: Operator is expected -tweak.asm(331): Error! E600: 'C' is already defined -tweak.asm(333): Error! E611: ARG may only be used within a PROC and before the first instruction -tweak.asm(348): Error! E506: Block nesting error diff --git a/tweak.o b/tweak.o new file mode 100755 index 0000000000000000000000000000000000000000..c77bfdc04ed0d0cc28fef6a7df96e1bfff4e1d88 GIT binary patch literal 422 zcmZn=VGzfr!N#|MXaGi+br!@$VE;2PTbbcX=LECwJ5 z4h#wl-*tp}2MgQ#9ZdZ1cQGvJJ7oOd_`ptvhR>^aU18oK!tj2F_~Z9GIDxdV!Ta8{ zZ}D+ak