Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

DOS Columns Game in <256 bytes

12 views
Skip to first unread message

Kerr-Mudd, John

unread,
Sep 25, 2023, 8:00:21 PM9/25/23
to
DOS Columns Game in <256 bytes


Based on Sensenstahl's £(expletive) columns, the"
https://www.pouet.net/prod.php?which=88444

but with fixed sides, cursor controls and scoring.

Keys are Esc - Exit; Cursor Left/Right to move the stick erm Left or Right,
with Cursor Up Down or Spacebar to rotate the colours.
(All keys perform one of these actions, you might find some other
combination is more suitable).

Scoring is 3 points for each line of 3 matching coloured blocks
(so 4 in a line scores 6!)

Uses DOS int 10 to set screen mode to 40 columns, int 16 for Inkey.
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 .P.@..........'.
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 Ku...t.......@..
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


xposted to
comp.lang.asm.x86,alt.lang.asm,comp.os.msdos.programmer

0 new messages