en:docs:bios:api:int10:03

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
en:docs:bios:api:int10:03 [2022/03/13 09:58] – created prokusheven:docs:bios:api:int10:03 [2024/05/20 08:14] (current) prokushev
Line 10: Line 10:
  
 Get Cursor Position and Size Get Cursor Position and Size
 +
 +===== osFree Macro Library =====
 +
 +[[en:docs:macrolib:@GetCur]]/[[en:docs:macrolib:@GetCsr]]
  
 ===== Family API ===== ===== Family API =====
Line 15: Line 19:
 [[en:docs:fapi:VioGetCurPos]] [[en:docs:fapi:VioGetCurType]] [[en:docs:fapi:VioGetCurPos]] [[en:docs:fapi:VioGetCurType]]
  
-===== Input ===== +===== Parameters =====
- +
-  AH = 03h +
-  BH = page+
  
 +  * AH = 03h
 +  * BH = page
  
 ===== Return ===== ===== Return =====
  
-  CH = start scan line +  CH = start scan line 
-  CL = end scan line +  CL = end scan line 
-  DH = row (00h is top) +  DH = row (00h is top) 
-  DL = column (00h is left)+  DL = column (00h is left)
  
 ===== Macro ===== ===== Macro =====
Line 33: Line 36:
 INCLUDE BIOS.INC INCLUDE BIOS.INC
  
-@SetCurPos 7,10+@GetCur 0
 </code> </code>
  
Line 41: Line 44:
   * many ROM BIOSes incorrectly return the default size for a color display (start 06h, end 07h) when a monochrome display is attached   * many ROM BIOSes incorrectly return the default size for a color display (start 06h, end 07h) when a monochrome display is attached
   * With PhysTechSoft's PTS ROM-DOS the BH value is ignored on entry.   * With PhysTechSoft's PTS ROM-DOS the BH value is ignored on entry.
- +  * Text based on [[http://www.cs.cmu.edu/~ralf/files.html|Ralf Brown Interrupt List Release 61]]
-===== Note ===== +
- +
-Text based on [[http://www.cs.cmu.edu/~ralf/files.html|Ralf Brown Interrupt List Release 61]]+
  
 {{page>en:templates:biosapi}} {{page>en:templates:biosapi}}