🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #44352

Re: [slrn.0953.win95] can't do "slrn --spool"

#44352
From: Todd Fiske
Date: Sat, 07 Nov 1998 00:00
70 lines
2700 bytes
On Fri, 06 Nov 1998 10:24:54 GMT, David R. Conrad <drc@darwin.adni.net>
wrote:

> [program to set, clear, and test VGA blink bit]

Hi David -

Thanks very much for that program. I've reworked it into a debug script
which any DOS user should be able to use to create a tiny little BRIGHT.COM
program. I also included a batch file to use as the slrn editor command. It
runs EDIT.COM, then BRIGHT.COM to set the screen to bright background mode
before returning to slrn.

Copy them both to files in the slrn home directory, then go to the directory
in a DOS command prompt window and run the debug script.

   debug < bright.dbg

Finally, edit slrn.rc as shown, and all should work swimmingly <g>:

   set editor_command "ed %s"

I also wrote a corresponding BLINK.DBG script to put blink mode back on,
if anybody wants it. 

----

; BRIGHT.DBG - debug script to create BRIGHT.COM
; enter DEBUG < BRIGHT.DBG to make, ignore errors
a
mov dx, 3da ; force register 03C0h flipflop into address mode
in  al, dx
mov dx, 3c0 ; access vga register 03C0h index 10h ( 30h = 32 + 10h )
mov al, 30
out dx, al
mov dx, 3c1 ; read current value
in  al, dx
mov ah, f7  ; create mask in ah of xxxx.xxx to clear bit 4
and al, ah  ; mask al with ah
mov dx, 3c0 ; write byte
out dx, al
int 20      ; terminate program

rcx
18
nbright.com
w
q

; eof - include this line!

---- 

: ED.BAT - kludge to turn blinking bit off after running Edit.Com
@echo off
edit %1
bright

----

>"On two occasions I have been asked [by members of Parliament!], `Pray,
>Mr. Babbage, if you put into the machine wrong figures, will the right
>answers come out?'  I am not able rightly to apprehend the kind of
>confusion of ideas that could provoke such a question." -- Charles Babbage

Love that quote! The beginnings of "Garbage In, Gospel Out"! =)

Cheers, Todd

Technical Details
Message-ID: <7206ba$5sl@lotho.delphi.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
References: <slrn73mr02.3vvo667.tfiske@70451.1424.compuserve.com> <71gsim$g2t$2@thingy.apana.org.au> <71j46i$ih@lotho.delphi.com> <71jsc1$2nu$2@youknow.apana.org.au> <71odo1$84b@lotho.delphi.com> <slrn745jhp.6r4.drc@darwin.adni.net>

Show Full Headers
Complete Article Headers
Message-ID: <7206ba$5sl@lotho.delphi.com>
Subject: Re: [slrn.0953.win95] can't do "slrn --spool"
Date: Sat, 07 Nov 1998 00:00:00 +0000
From: tfiske@delphi.com (Todd Fiske)
References: <slrn73mr02.3vvo667.tfiske@70451.1424.compuserve.com> <71gsim$g2t$2@thingy.apana.org.au> <71j46i$ih@lotho.delphi.com> <71jsc1$2nu$2@youknow.apana.org.au> <71odo1$84b@lotho.delphi.com> <slrn745jhp.6r4.drc@darwin.adni.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!not-for-mail
X-Deja-AN: 409218308
Organization: Delphi Internet Services <http://www.delphi.com/>
User-Agent: slrn/0.9.5.3 (Windows)
Newsgroups: news.software.readers