Code: Select all
mov ax, 40h
mov ds, ax
mov dx, [ds:1Eh]
sorry for stupid questions - i'm common student, not asm guru
Code: Select all
mov ax, 40h
mov ds, ax
mov dx, [ds:1Eh]
No, i can't.crchemist wrote:Ok, another question - can i get access to keyboard buffer in kolibri? Can i access to 40:1АН in protected mode?
Sure you can, but you can only read the first key in buffer, by using this function:crchemist wrote:Ok, another question - can i get access to keyboard buffer in kolibri?
Code: Select all
; write 123 into the byte memory
mov byte[label_to_byte], 123
;.....
;now lets read the byte into al
mov al, byte[label_to_byte]
;....
label_to_byte: db 0
Users browsing this forum: No registered users and 8 guests