Article View: alt.lang.asm
Article #142Re: What's wrong with this?
From: Christian Blum
Date: Fri, 18 Dec 1992 13:41
Date: Fri, 18 Dec 1992 13:41
32 lines
2580 bytes
2580 bytes
Mark Kovarski <kovarski@zooid.guild.org> writes:
>
> I have the following it of code which was given to me. Aside from the "few"
> errors, the person claims that this will cause a message:
>
> ON BOARD PARITY ERROR
> mov al,74
> out 43,al
> mov al,ff
> out 41,al
> mov al,ff
> out 41,al
> ret
No way this will work. The refresh rate is set to 18.2 per second; since
there are 512 rows to refresh, this means every bit in your computer's
DRAM is refreshed every 20 seconds! There are DRAMS that survive 15ms
without being refreshed, but a 70ns DRAM can't take it. Try about 10ms
(a value of about 80, I guess), this will probably work. But there are
some PCs that need special refresh rates when beeping or accessing the
floppy drive! Sounds strange, I know, but I've encountered it... and
wrote a small TSR that intercepts those actions, retores the refresh rate,
does the action and restores the fast value. Interested? -> mail.
Chris
--
"Think for yourself, and always carry a light bulb."
- Bob Dylan 1965
---------------------------------------------------------------------
Christian Blum Universitaet des Saarlandes, Germany
Friedrich-Ebert-Str. 50 chbl@stud.uni-sb.de
W-6685 Heiligenwald chbl@sbustd.rz.uni-sb.de
Germany Tel (+49) (0) 6821 67476
Technical Details
Message-ID:
<1gske7INNgje@coli-gate.coli.uni-sb.de>Path:
arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!ira.uka.de!sbusol.rz.uni-sb.de!coli.uni-sb.de!sbustd!chblReferences:
<1992Dec15.205835.643@zooid.guild.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!sol.ctr.columbia.edu!ira.uka.de!sbusol.rz.uni-sb.de!coli.uni-sb.de!sbustd!chbl From: chbl@sbustd.rz.uni-sb.de (Christian Blum) Newsgroups: alt.lang.asm,comp.sys.ibm.pc.hardware Subject: Re: What's wrong with this? Date: 18 Dec 1992 13:41:27 GMT Organization: Studenten-Mail, Rechenzentrum Universitaet des Saarlandes Lines: 32 Message-ID: <1gske7INNgje@coli-gate.coli.uni-sb.de> References: <1992Dec15.205835.643@zooid.guild.org> NNTP-Posting-Host: sbustd.stud.uni-sb.de