Category : Recently Uploaded Files
Archive   : 80XXX_94.ZIP
Filename : BLINK.ASM

 
Output of file : BLINK.ASM contained in archive : 80XXX_94.ZIP
;-------------------
;Blink.Asm- the keyboard LED's
;
cseg segment
assume cs:cseg
org 100h ; COM format
Start:
sub ax,ax ; set DS to 0000
mov ds,ax
mov cx,0fh ; number of times to cycle

Blink:
mov bx,0417h ; Pointing to 0000:0417
mov byte ptr [bx],16d ; Turn only Scroll Lock ON
call Delay
mov byte ptr [bx],64d ; Turn only Caps Lock ON
call Delay
mov byte ptr [bx],32d ; Turn only Num Lock ON
call Delay

loop Blink ; Loop 15 times then
mov ax,4C00h ; exit to DOS.
int 21h ;
Delay:
mov ah,01h ; update the BIOS and
int 16h ; turn the LED's on.

push cx
mov cx,0A000h
lo1: in al,4Fh ; Port 4Fh is used for
loop lo1 ; a do-nothing delay.
pop cx
ret

cseg ends
end Start


  3 Responses to “Category : Recently Uploaded Files
Archive   : 80XXX_94.ZIP
Filename : BLINK.ASM

  1. Very nice! Thank you for this wonderful archive. I wonder why I found it only now. Long live the BBS file archives!

  2. This is so awesome! 😀 I’d be cool if you could download an entire archive of this at once, though.

  3. But one thing that puzzles me is the “mtswslnkmcjklsdlsbdmMICROSOFT” string. There is an article about it here. It is definitely worth a read: http://www.os2museum.com/wp/mtswslnk/