en:docs:macrolib:setmode

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
en:docs:macrolib:setmode [2022/03/27 14:31] prokusheven:docs:macrolib:setmode [2022/11/21 09:10] (current) prokushev
Line 1: Line 1:
 {{page>en:templates:biosint}} {{page>en:templates:biosint}}
 +
  
 ====== @SetMode ====== ====== @SetMode ======
  
 +===== Version =====
 +
 +IBM 5150 and higher
  
 ===== Brief ===== ===== Brief =====
- 
  
 Set the current video mode Set the current video mode
 +
 +===== BIOS Interrupt =====
 +
 +[[en:docs:bios:api:int10|INT10H]]: [[en:docs:bios:api:int10:00|00H]]
 +
 +===== Family API =====
 +
 +[[en:docs:fapi:VioSetMode]]
  
 ===== Syntax ===== ===== Syntax =====
Line 17: Line 28:
 ===== Parameters ===== ===== Parameters =====
  
-  * mode (BYTE) - mode+  * mode (BYTE) - [[en:docs:bios:api:int10:modes|Mode]]
  
 ===== Return ===== ===== Return =====
  
 +  * AL = video mode flag (Phoenix, AMI BIOS)
 +    * 20h mode > 7
 +    * 30h modes 0-5 and 7
 +    * 3Fh mode 6
 +  * AL = CRT controller mode byte (Phoenix 386 BIOS v1.10)
  
-none+===== Notes =====
  
 +IBM standard modes do not clear the screen if the high bit of AL is set (EGA or higher only)
  
 +{{page>en:templates:biosapi}}