-> ok, i've tried this a few HUNDERED different ways in C/C++, but to no
avail.
-> I'm trying to make the caps,num,scroll lock lights flash. could someone
post
-> some code that does this, because i'm having one heck of a time with it.
How about this:
MOV AX, 0040h ; please note this is a REAL MODE segment,
MOV ES, AX ; not a protected mode selector.
MOV BX, 0017h
; to activate caps lock (& light)
MOV AL, 01000000b
; to activate num lock (& light)
MOV AL, 00100000b
; to activate scroll lock (& light)
MOV AL, 00010000b
;then, once you know which ones to activate:
OR ES:[BX], AL
((Cloud))
MauveCloud@juno.com
--- PCBoard (R) v15.3/M 10
---------------
* Origin: Next time, Dial The Wrong Number! (209) 943-1880 (1:208/205)
|