Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.lang.asm.x86    |    Ahh, the lost art of x86 assembly    |    4,675 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 3,438 of 4,675    |
|    wolfgang kern to All    |
|    Re: a cursor you move with arrow keys    |
|    17 Jun 18 12:54:15    |
      From: nowhere@never.at              "bilsch01" asked:              >I am writing to screen buffer at segment 0xb800. A cursor is usually a       > horizontal or vertical bar in a text cell together with the character in       > the cell. I'm hoping one is available (from BIOS?) - that I can move       > with arrow keys. How do I get one? TIA. Bill S.              RBIL is your friend here:              VBIOS CursorCtl INT 0x10 AH01 CX shape /0xAH02 set position DX.              and as you use the BIOS anyway you could use this as well:              Write Character INT 0x10 AH09/0A at cursor pos /or AH0x0E at DX.       BIOS GetKEY INT 0x16 AH00       __       wolfgang              --- SoupGate-Win32 v1.05        * Origin: you cannot sedate... all the things you hate (1:229/2)    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca