Jump to content

turn on and off keyboard LED's in Assembly !

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
worldman

worldman

    Newbie

  • Members
  • Pip
  • 1 posts
Hi dears

I would like to turn on/off keyboard LED's in my assembly program .

I changed LED's byte at 40:0ED H and have sent it to keyboard by port 60h . but LEDs not changed .

my code :

Bios_Data SEGMENT AT 40H

   ORG 0EDH

   kbstatue DB ?

Bios_Data Ends


XOR    es:kbstatue , 00000100b

MOV   AL , ES:kbstatue

OUT   60H , AL

can you help me ?

thanks a lot

#2
brightmatter

brightmatter

    Learning Programmer

  • Members
  • PipPipPip
  • 36 posts
possible stuck in memory? Try MOVIA