🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.ibm.pc.programmer
2 messages
2 total messages Started by thomas.b.cook Fri, 31 May 1991 12:04
getting current cursor
#1233
Author: thomas.b.cook
Date: Fri, 31 May 1991 12:04
6 lines
706 bytes
I want to be able to get the current text cursor shape, so that I 
can change it in my application, and then restore it when I'm finished.
Setting the cursor is ok (bios 10H)...but how can you read it?

Thanks.
Tom Cook       att!pruxg!tbc        609-639-3131
Re: getting current cursor
#1236
Author: Bill de Beaubien
Date: Mon, 03 Jun 1991 14:42
29 lines
1452 bytes
In article <1991May31.120405.12515@cbnewsk.att.com> tbc@cbnewsk.att.com (thomas.b.cook) writes:
>I want to be able to get the current text cursor shape, so that I 
>can change it in my application, and then restore it when I'm finished.
>Setting the cursor is ok (bios 10H)...but how can you read it?
>
>Thanks.
>Tom Cook       att!pruxg!tbc        609-639-3131

From Ralf Brown's Interrupt Listing, release 25:

Int 10h, Service 3 - Get Cursor Position and Size
	AH = 03h
	BH = page number
		0-3 in modes 2&3
		0-7 in modes 0&1
		0 in graphics modes
Return: AX = 0h (Phoenix BIOS)
	CH = start scan line
	CL = end scan line
	DH = row (00h is top)
	DL = column (00h i sleft)
Note:	a separate cursor is maintained for each of up to 8 display pages


-- 
"Bless me, Father; I ate a lizard."
"Was it an abstinence day, and was it artificially prepared?"
-------------------------------------------------------------
Bill de Beaubien / wjb@moscom.com 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads