Drench for DOS

79 views
Skip to first unread message

Kerr-Mudd, John

unread,
Jul 23, 2021, 5:25:49 PM7/23/21
to
"The World's simplest Web game"
http://flashbynight.com/drench/


redone for text mode DOS; uses int10 for cls, int16 for keyboard.
I would like to do a cursor select (I doubt I could do mouse support!) colour choosing input. CGA might give a better look.
Still to fix: if you win the number of moves available decreases each time;
but if you lose you should restart at 30.

same rubbish "random" generator!

-> d 100 l200
1631:0100 BD 20 00 4D-55 B8 03 00-CD 10 B8 00-B8 50 07 BF . .MU........P..
1631:0110 44 00 B9 06-00 B8 30 07-05 01 10 AB-AF E2 F9 B1 D.....0.........
1631:0120 04 BF 7D 03-B3 0E 81 C7-84 00 B7 0E-E4 40 83 E0 ..}..........@..
1631:0130 07 74 F9 48-74 F6 D2 E0-AA 47 FE CF-75 EE 4B 75 .t.Ht....G..u.Ku
1631:0140 E5 BA D5 01-4D 74 47 89-E8 D4 0A 05-30 30 BF 2C ....MtG.....00.,
1631:0150 02 26 88 25-AF AA B4 00-CD 16 3C 1B-74 30 2C 30 .&.%......<.t0,0
1631:0160 76 F4 3C 06-77 F0 B9 04-00 D2 E0 BF-01 04 26 8A v.<.w.........&.
1631:0170 25 E8 34 00-BF 7C 03 B1-0E 81 C7 84-00 B5 0E 47 %.4..|.........G
1631:0180 AE 75 06 FE-CD 75 F8 E2-F0 75 B9 BA-CB 01 5D B4 .u...u...u....].
1631:0190 09 CD 21 BA-DF 01 B4 09-CD 21 B4 00-CD 16 24 DF ..!......!....$.
1631:01A0 3C 59 75 03-E9 5C FF C3-26 3A 25 75-15 AA 4F BE <Yu..\..&:%u..O.
1631:01B0 C3 01 B1 04-03 3C A7 51-57 56 E8 EB-FF 5E 5F 59 .....<.QWV...^_Y
1631:01C0 E2 F2 C3 00-00 9C 00 5C-FF 60 FF 59-6F 75 20 57 .......\.`.You W
1631:01D0 69 6E 21 20-24 59 6F 75-20 4C 6F 73-65 21 24 4E in! $You Lose!$N
1631:01E0 65 77 20 47-61 6D 65 3F-20 28 59 2F-4E 29 24 C9 ew Game? (Y/N)$.






--
Bah, and indeed Humbug.

wolfgang kern

unread,
Jul 24, 2021, 5:11:55 AM7/24/21
to
sorry my eyes are still under construction yet, I'm happy to see
something at all with one remaining but defective, not sure if the
second will ever recover. never trust a medic scientist !
__
wolfgang (didn't lose my humor anyway)

JJ

unread,
Jul 24, 2021, 7:19:31 PM7/24/21
to
On Fri, 23 Jul 2021 17:38:34 +0100, Kerr-Mudd, John wrote:
> "The World's simplest Web game"
> http://flashbynight.com/drench/
>
> redone for text mode DOS; uses int10 for cls, int16 for keyboard.
> I would like to do a cursor select (I doubt I could do mouse support!)
> colour choosing input. CGA might give a better look.

I think you meant the 40x25 display mode. Cause CGA's default text mode is
same as VGA, which is 80x25 16 colors.

Kerr-Mudd, John

unread,
Jul 26, 2021, 12:38:38 PM7/26/21
to
Yes. And it does look better with "square" blocks.

change the value at 0106 from 3 to 1.
i.e. on the top line
... B8 03 00 ...
becomes
... B8 01 00 ...

Kerr-Mudd, John

unread,
Jul 26, 2021, 4:09:06 PM7/26/21
to
On Fri, 23 Jul 2021 17:38:34 +0100
"Kerr-Mudd, John" <ad...@nospicedham.127.0.0.1> wrote:

> "The World's simplest Web game"
> http://flashbynight.com/drench/
>
>
> redone for text mode DOS; uses int10 for cls, int16 for keyboard.
> I would like to do a cursor select (I doubt I could do mouse support!) colour choosing input. CGA might give a better look.
Fixed
also cls back to 25x80 text mode on exit
> Still to fix: if you win the number of moves available decreases each time;
> but if you lose you should restart at 30.
Fixed
>
> same rubbish "random" generator!

>
-> d 100 l200
1631:0100 81 FA DA 01-74 06 BA E4-01 BD 20 00-4D 55 B8 01 ....t..... .MU..
1631:0110 00 CD 10 B4-01 B9 00 B8-CD 10 51 07-BF 6C 00 B9 ..........Q..l..
1631:0120 06 00 B8 30-07 05 01 10-AB AF E2 F9-B1 04 BF C5 ...0............
1631:0130 01 B3 0E 83-C7 34 B7 0E-E4 40 83 E0-07 74 F9 48 .....4...@...t.H
1631:0140 74 F6 D2 E0-AA 47 FE CF-75 EE 4B 75-E6 4D 74 46 t....G..u.Ku.MtF
1631:0150 89 E8 D4 0A-05 30 30 BF-64 01 26 88-25 AF AA B4 .....00.d.&.%...
1631:0160 00 CD 16 3C-1B 74 2F 2C-30 76 F4 3C-06 77 F0 B9 ...<.t/,0v.<.w..
1631:0170 04 00 D2 E0-BF F9 01 26-8A 25 E8 3A-00 BF C4 01 .......&.%.:....
1631:0180 B1 0E 83 C7-34 B5 0E 47-AE 75 06 FE-CD 75 F8 E2 ....4..G.u...u..
1631:0190 F1 75 BA BA-DA 01 5D B4-09 CD 21 52-BA EE 01 B4 .u....]...!R....
1631:01A0 09 CD 21 B4-00 CD 16 24-DF 3C 59 5A-75 03 E9 4F ..!....$.<YZu..O
1631:01B0 FF B8 03 00-CD 10 C3 26-3A 25 75 15-AA 4F BE D2 .......&:%u..O..
1631:01C0 01 B1 04 03-3C A7 51 57-56 E8 EB FF-5E 5F 59 E2 ....<.QWV...^_Y.
1631:01D0 F2 C3 00 00-4C 00 AC FF-B0 FF 59 6F-75 20 57 69 ....L.....You Wi
1631:01E0 6E 21 20 24-59 6F 75 20-4C 6F 73 65-21 24 4E 65 n! $You Lose!$Ne
1631:01F0 77 20 47 61-6D 65 3F 20-28 59 2F 4E-29 24 00 00 w Game? (Y/N)$..

Kerr-Mudd, John

unread,
Jul 28, 2021, 2:56:32 PM7/28/21
to
On Sat, 24 Jul 2021 10:58:17 +0200
wolfgang kern <now...@nospicedham.never.at> wrote:

> On 23.07.2021 18:38, Kerr-Mudd, John wrote:
> > "The World's simplest Web game"
> > http://flashbynight.com/drench/
> >
> >
> > redone for text mode DOS;

[]

>
> sorry my eyes are still under construction yet, I'm happy to see
> something at all with one remaining but defective, not sure if the
> second will ever recover. never trust a medic scientist !

Sorry to hear that, not many asm programmers left here now.

wolfgang kern

unread,
Jul 29, 2021, 3:12:44 AM7/29/21
to

-------- Forwarded Message --------
Subject: Re: Drench for DOS
[]
> sorry my eyes are still under construction yet, I'm happy to see
> something at all with one remaining but defective, not sure if the
> second will ever recover. never trust a medic scientist !

Sorry to hear that, not many asm programmers left here now.

thanks to the zoom I can read but I better say guess :) many words.
I'm still under treatment and hope to once can make use of this new
plastic lens (aka special recycle garbage).
With my Oxigen generator and this lens I became already a Borg :)
__
wolfgang

Reply all
Reply to author
Forward
0 new messages