Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
en:docs:macrolib:setmode [2022/04/10 06:43] – prokushev | en:docs:macrolib:setmode [2022/11/21 09:10] (current) – prokushev | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{page> | + | {{page> |
====== @SetMode ====== | ====== @SetMode ====== | ||
+ | ===== Version ===== | ||
+ | |||
+ | IBM 5150 and higher | ||
===== Brief ===== | ===== Brief ===== | ||
- | |||
Set the current video mode | Set the current video mode | ||
+ | |||
+ | ===== BIOS Interrupt ===== | ||
+ | |||
+ | [[en: | ||
+ | |||
+ | ===== Family API ===== | ||
+ | |||
+ | [[en: | ||
===== Syntax ===== | ===== Syntax ===== | ||
Line 18: | Line 28: | ||
===== Parameters ===== | ===== Parameters ===== | ||
- | * mode (BYTE) - mode | + | * mode (BYTE) - [[en: |
===== 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> |