please dont rip this site

Function 01h Set Cursor Type

set the size of the cursor or turn it off.

Time    Reg     Values                                      
entry   AH      01h 
	CH      bit values: 
		bits 0-4  top line for cursor in character cell 
		bits 5-6  blink attribute 
			  00    normal 
			  01    invisible (no cursor) 
			  10    slow      (not used on original IBM PC) 
			  11    fast 
	CL      bit values: 
		bits 0-4  bottom line for cursor in character cell 
return  none 

note

  1. ) The ROM BIOS default cursors are: monochrome mode 07h: start 11 end 12 text modes 00h-03h: start 6 end 7
  2. ) The blinking in text mode is caused by hardware and cannot be turned off, though some kludges can temporarily fake a nonblinking cursor
  3. ) The hardware cursor is not available in graphics mode
  4. ) One the EGA, MCGA, and VGA in text modes 00h-03h, the ROM BIOS accepts cursor start and end values as though the character cell were 8 by 8, and remaps the values as appropriate for the true character cell dimensions. This mapping is called cursor emulation. Function 01h Set Cursor Type - set the size of the cursor or turn it off note
  5. ) You can turn off the cursor in several ways. On the MDA, CGA, and VGA, setting register CH to 20h causes the cursor to disappear. Techniques that involve setting illegal starting and ending lines for the current display mode tend to be unreliable.
  6. ) Another method of turning off the cursor in text mode is to position it to a nondisplayable address, such as (X,Y)=(0,25) 7) Buggy on EGA systems - BIOS remaps cursor shape in 43 line modes, but returns unmapped cursor shape

Sample Code:

Asm\Lib\BIOS.INC -@BIOSVidCurSzSet MACRO first,last

Set43b.COM              ;Sets EGA 43 line mode with a block cursor
	MOV	AX,0003
	INT	10		;Int\10f\00 -03h  Set 80x25 16 color text
	MOV	AX,1112
	XOR	BX,BX
	INT	10		;Int\10f\11 -12h  Load 8x8 characters
	MOV	AH,01
	MOV	CX,0005
	INT	10		;Int\10f\01 Set block cursor
	RET


file: /Techref/int/10f/01.htm, 2KB, , updated: 1999/4/26 09:10, local time: 2024/12/29 05:02,
TOP NEW HELP FIND: 
18.224.44.233:LOG IN

 ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/Techref/int/10f/01.htm"> Function 01h Set Cursor Type - set the size of the cursor or turn it off</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
sales, advertizing,
& kind contributors
just like you!

Please don't rip/copy
(here's why

Copies of the site on CD
are available at minimal cost.
 

Welcome to sxlist.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .