home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 4,670 of 4,675   
   Kerr-Mudd, John to John"   
   Re: Connect4 for DOS in 255 bytes   
   19 Feb 24 10:39:55   
   
   XPost: alt.lang.asm, comp.os.dos.programmer   
   From: admin@nospicedham.127.0.0.1   
      
   On Wed, 14 Feb 2024 13:51:23 +0000   
   "Kerr-Mudd, John"  wrote:   
      
   > On Tue, 13 Feb 2024 19:53:32 +0000   
   > "Kerr-Mudd, John"  wrote:   
   >   
   > > Been a while, and the thread has expired from my usenet list, but here is   
   > > a tweaked version - it now hilites the /whole/ row when a win is   
   > > detected.   
   > > Two player game, no AI (sorry).   
   > > Cursor L/R to move current player's piece, Enter to drop. (Esc to quit).   
   > > Number of wins at top left & top right above 'board'   
   > > Uses Bios int10 for screen & int16 for keyboard.   
   > > Assumes ax=0 at start to change to 40x25 text mode.   
   > >   
   Smaller, allows space & Enter (and any ASCII key!) to drop   
   Must use Csr keys to move L/R.   
      
   Fixed a bug that meant a draw would have been seen before a last   
   placement win. "Again" message uses colour of last placed char (usually   
   winner), and put on the base bar.   
      
   > > grdb dump:   
   > >   
   ->          d 100 lED   
   16AD:0100 B7 B8 8E C3-8E DB CD 10-B8 5F 77 BA-20 02 B1 06  ........._w. ...   
   16AD:0110 BF EC 02 AB-92 51 B1 07-F3 AB 59 92-AB 83 C7 3E  .....Q....Y....>   
   16AD:0120 E2 F1 B1 09-F3 AB BA 2B-00 BD 23 0C-BB 4F 0E 4A  .......+..#..O.J   
   16AD:0130 74 3A 87 EB-BF A4 02 89-1D B4 00 CD-16 C7 05 20  t:.............   
   16AD:0140 02 3C 1B 74-3C 3C 00 74-39 E8 4C 00-74 E9 72 DF  .<.t<<.t9.L.t.r.   
   16AD:0150 88 F8 98 B1-03 D3 E0 05-EE 01 97 88-FC 4F 4F B0  .............OO.   
   16AD:0160 30 87 05 0C-30 40 3C 3A-74 F3 88 05-B1 06 BE E7  0...0@<:t.......   
   16AD:0170 01 BF CE 04-93 2E AC AB-E2 FB 98 CD-16 24 86 74  .............$.t   
   16AD:0180 87 C3 86 C4-2C 4B 24 02-48 D1 E0 01-F8 3C 9E 72  ....,K$.H....<.r   
   16AD:0190 A6 3C AA 77-A2 97 EB 9F-89 FE 83 C7-50 80 3D 20  .<.w........P.=   
   16AD:01A0 74 F8 83 EF-50 39 FE 74-D8 89 1D B1-02 E8 12 00  t...P9.t........   
   16AD:01B0 73 34 B1 B2-E8 0B 00 73-2D 41 41 E8-04 00 73 26  s4.....s-AA...s&   
   16AD:01C0 49 49 B0 00-E8 04 00 73-1D F7 D9 57-48 40 01 CF  II.....s...WH@..   
   16AD:01D0 39 1D 74 F9-3C 03 72 0D-29 CF 80 4D-01 80 29 CF  9.t.<.r.)..M..).   
   16AD:01E0 39 1D-74 F6 F8 5F-C3 41 67 61-69 6E 3F           9.t.._.Again?   
   ->          q   
   > --   
   > Bah, and indeed Humbug.   
   >   
      
      
   --   
   Bah, and indeed Humbug.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca