Kerr-Mudd, John
2023-09-25 10:41:12 UTC
DOS Columns game in <256 bytes
reworked from -
https://www.pouet.net/prod.php?which=88444
'(rude word) columns, the' by Sensenstahl
but now with "proper" sides, scoring and cursor controls.
Keys are Escape to quit, Cursor Left/Right to erm... move the stick, Cursor
Up or Down or Space Bar to Rotate colours. All keys do one of the above
functions, so you might find other combos work better for you!
Score is 3 per line of 3; scores 6 for 4 in a row, etc!
Uses int 16 for inkey, int 10 to set screen mode to 40 columns.
assumes ax=bl=ch=0 at start.
-> d 100 lF9
16AF:0100 BD 50 00 40-CD 10 B7 B8-8E DB BF D0-07 88 27 88 ***@..........'.
16AF:0110 01 4B 75 F9-B8 20 70 89-45 CE 89 45-E2 29 EF 75 .Ku.. p.E..E.).u
16AF:0120 F6 42 BF D0-07 38 2D 7D-38 8B 05 BE-04 00 2E 8A .B...8-}8.......
16AF:0130 9C F4 01 57-B1 02 01 DF-38 65 01 75-20 E2 F7 B1 ...W....8e.u ...
16AF:0140 03 88 2D 56-BE D0 07 4E-4E B8 30 0A-87 04 0C 30 ..-V...NN.0....0
16AF:0150 40 3C 3A 74-F2 88 04 5E-29 DF E2 E5-99 5F 4E 75 @<:t...^)...._Nu
16AF:0160 CD 4F 4F 75-C0 BB D0 07-8B 07 89 DE-3E 38 2A 75 .OOu........>8*u
16AF:0170 0E 89 3C 01-EE 89 04 EB-F3 83 FE D8-75 A3 C3 4B ..<.........u..K
16AF:0180 4B 75 E5 09-D2 74 9A BF-D8 FF B3 F0-E4 40 F7 E0 ***@..
16AF:0190 25 D0 07 0D-DB 08 89 01-29 EB 75 F0-89 FE B1 0D %.......).u.....
16AF:01A0 BA DA 03 EC-A8 08 74 FB-EC A8 08 75-FB E2 F4 39 ......t....u...9
16AF:01B0 8C 40 01 75-C4 8D 3A B3-F0 B4 01 CD-16 89 C8 74 ***@.u..:........t
16AF:01C0 08 CD 16 3C-1B 74 B7 88-E0 98 48 78-0E 40 24 06 ...<.t....Hx.@$.
16AF:01D0 74 09 7A F3-83 E8 03 D1-E0 01 C7 38-29 75 D0 09 t.z........8)u..
16AF:01E0 C0 74 0C 31-C0 87 00 89-01 29 EB 75-F6 EB AD 87 .t.1.....).u....
16AF:01F0 05-89 01 EB A7-02 4E 50 52 ......NPR
-> q
reworked from -
https://www.pouet.net/prod.php?which=88444
'(rude word) columns, the' by Sensenstahl
but now with "proper" sides, scoring and cursor controls.
Keys are Escape to quit, Cursor Left/Right to erm... move the stick, Cursor
Up or Down or Space Bar to Rotate colours. All keys do one of the above
functions, so you might find other combos work better for you!
Score is 3 per line of 3; scores 6 for 4 in a row, etc!
Uses int 16 for inkey, int 10 to set screen mode to 40 columns.
assumes ax=bl=ch=0 at start.
-> d 100 lF9
16AF:0100 BD 50 00 40-CD 10 B7 B8-8E DB BF D0-07 88 27 88 ***@..........'.
16AF:0110 01 4B 75 F9-B8 20 70 89-45 CE 89 45-E2 29 EF 75 .Ku.. p.E..E.).u
16AF:0120 F6 42 BF D0-07 38 2D 7D-38 8B 05 BE-04 00 2E 8A .B...8-}8.......
16AF:0130 9C F4 01 57-B1 02 01 DF-38 65 01 75-20 E2 F7 B1 ...W....8e.u ...
16AF:0140 03 88 2D 56-BE D0 07 4E-4E B8 30 0A-87 04 0C 30 ..-V...NN.0....0
16AF:0150 40 3C 3A 74-F2 88 04 5E-29 DF E2 E5-99 5F 4E 75 @<:t...^)...._Nu
16AF:0160 CD 4F 4F 75-C0 BB D0 07-8B 07 89 DE-3E 38 2A 75 .OOu........>8*u
16AF:0170 0E 89 3C 01-EE 89 04 EB-F3 83 FE D8-75 A3 C3 4B ..<.........u..K
16AF:0180 4B 75 E5 09-D2 74 9A BF-D8 FF B3 F0-E4 40 F7 E0 ***@..
16AF:0190 25 D0 07 0D-DB 08 89 01-29 EB 75 F0-89 FE B1 0D %.......).u.....
16AF:01A0 BA DA 03 EC-A8 08 74 FB-EC A8 08 75-FB E2 F4 39 ......t....u...9
16AF:01B0 8C 40 01 75-C4 8D 3A B3-F0 B4 01 CD-16 89 C8 74 ***@.u..:........t
16AF:01C0 08 CD 16 3C-1B 74 B7 88-E0 98 48 78-0E 40 24 06 ...<.t....Hx.@$.
16AF:01D0 74 09 7A F3-83 E8 03 D1-E0 01 C7 38-29 75 D0 09 t.z........8)u..
16AF:01E0 C0 74 0C 31-C0 87 00 89-01 29 EB 75-F6 EB AD 87 .t.1.....).u....
16AF:01F0 05-89 01 EB A7-02 4E 50 52 ......NPR
-> q
--
Bah, and indeed Humbug.
Bah, and indeed Humbug.