TIP: Click on subject to list as thread! ANSI
echo: 80xxx
to: JAMES VAHN
from: DENIS BOYLES
date: 1997-03-30 08:47:00
subject: bliny and interrupts

JV> DB> --------------- ;[BLINKY.ASM] - Public Domain by Denis
JV> DB> Boyles
JV> DB>        ;set ES to access BIOS data     xor     byte ptr
JV> DB> ES:[417h],LED      ;toggle LED via BIOS keyboard byte
JV>Gak! TAB's in your source code?  Anyhow, it is a prudent thing
Darn those tabs! I use 4 places in the text editor, but I forgot to tranlsate
them to spaces for posting.
JV>to issue a call to int 16/1 after the change to the BDA. Some
JV>BIOS' issue the call on every timer IRQ, some don't. Those that
JV>don't won't change the LED and your program won't work.  :-)
I found out by a kowinky dink that INT 16-01 will update the LEDs. However
I never suspected that some BIOS's didn't update them every tick. On my PC 
he
LEDs do get updated and it's an IBM PC/BIOS. Guess that blows the IBM
compatible PC theory out the window hugh!? :)
Thanks,
  Denis Boyles
 * OLX 2.1 TD * C Borg:Pointers are irrelevant,you shall be dereferenced
--- Maximus/2 3.01
---------------
* Origin: Frog Hollow Port Moody BC 604-469-0264/0284 (1:153/290)

SOURCE: echomail via exec-pc

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.