;Setting the keyboard lights ;The num lock, scroll lock and caps lock on the keyboard can all be set ; without affecting the actual setting of those keys. Through hardware ; the lights can be quikly flashed on and off. ;1. Send 0EDh out port 60h ;2. Verify that byte was sent properly by getting a byte from ; port 60h. If the byte is not 0FAh, something (very precise ; is it not?) is wrong. :( ;3. Send a byte out port 60h coded as follows: ; Bit0=Scroll Lock Status ; Bit1=Num Lock Status ; Bit2=Caps Lock Status ; Bits3-7=undefined org 100h section .text MOV AL,0EDh out 60h,AL ;Send the request byte. lops: in al,60h cmp al,0fah ;Loop until O.K jne lops mov al,00000001b ;or al,00000001b out 60h,al ;Turn on Scroll lock ;wait for any key press MOV AH,10h INT 16h ;exit to DOS MOv AH,4Ch INT 21h ;DOES NOT WORK!!!!!!!!!!!!!