bios cursor location

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
DruG5t0r3

bios cursor location

Post by DruG5t0r3 »

Anyway to query the bios to find where the cursor is located on boot?

I'm trying to get it to print text without having to clear the screen basically.
evincarofautumn

Re:bios cursor location

Post by evincarofautumn »

int 0x10
ah = 3
bh = page number (default 0)

ret:
dh = row of cursor (from 0)
dl = column of cursor
ch = starting scan line of the cursor within the character block (0 is top line)
cl = ending scan line (max 7 for text or colour; 13 for mono)

p.s. In the future, please use google before asking questions such as these :D

Cheers. :)
User avatar
Candy
Member
Member
Posts: 3882
Joined: Tue Oct 17, 2006 11:33 pm
Location: Eindhoven

Re:bios cursor location

Post by Candy »

Post Reply