| [Back Home] |
VBE BIOS API
MagicGraph 256 AV 48K
Copyright 1994-98 NeoMagic Corp. All Rights Reserved.
| AX |
BX |
CX |
DX |
RETURNS |
Function |
| 4F11 |
|||||
| 4F11 |
0106 |
0101 0000 |
center image |
||
| 4F11 |
0107 |
0000 0303 |
expand on/off |
| AX |
BX |
CX |
DX |
RETURNS |
Function |
| 4F14 |
BL subfunc BH subsubfunc |
Params (usually) |
AL=4F if OK AX=014F if failed |
||
| 4F14 |
0000 |
Fixed CX=400 DX=300 BH=00 --- in BL 4th bit of GR21 only |
get some info GR21 = Panel Type Select cxVisScreenRight=CX-2 cyVisScreenBottom=DX |
||
| 4F14 | 0001 |
IN BX CX DX the phys base |
get physical base using PCI BIOS |
||
| 4F14 |
0002 |
If ROM address bigger than C000: seg000:33CC if C000 or less than returns AX=014F |
|||
| 4F14 | ??02 |
in CL CR1E (Scratch Pad) 3 lowest bits |
|||
| 4F14 | ??03 |
in BX CX DX |
get some fixed info |
||
| 4F14 | 0004 |
in BX (bl) see bellow BH=unknown |
get output devices |
||
| 4F14 | 0104 |
CL=what bit0 - LCD bit1 - CRT bit2 - TVon bit3 - TVStandart 1=PAL |
set output devices |
||
| 4F14 | 0005 |
||||
| 4F14 | 0006 |
||||
| 4F14 |
0106 |
||||
| 4F14 | 0007 |
CX=0403 |
get info??? also from CR8ECR8F
index 4 CL=11b is chrontel CL=01b is analog bit0 of CH maybe something to do with PAL/NTSC ??? |
||
| 4F14 | 0107 |
CX=303 expand CX=noexpand |
unimplemented/expand image |
||
| 4F14 | 0207 |
CH = 1 get CH = 0 set in CL |
get or set CR8ECR8F index 3 lowest 3 bits only |
||
| 4F14 | 0307 |
CX=0 - fill in CR 91, CR96 (TV
Horiz /Vert Start High) CX=0F or F0 Manipulate TV FRQ |
If result of some test ZF=0 CF=0
then try values of CX else call BX=0909 |
||
| 4F14 |
0407 |
similar |
|||
| 4F14 |
0507 |
????? |
|||
| 4F14 | 0108 |
BL=1 is busmater DX=base shift by 14 to left |
Get MMIO base |
||
| 4F14 | 0009 |
CL which register |
CH value |
Chrontel (7004) get register |
|
| 4F14 |
0109 |
CL which register CH what |
Chrontel (7004) get register | ||
| 4F14 | 0209 |
CL = val CX=0101 - tv off? CX=0100 - tv on? |
index 6 ffromCR8ECR8F
load new lowest three bits from CH, shift value in CL by 1 to
left or it with previos write back |
||
| 4F14 | 0309 |
in CX |
get index 6 from CR8ECR8F, in CH is bit 1 in CL is bit 2 |
||
| 4F14 | 0409 |
similar as next |
|||
| 4F14 | 0509 |
chrontel + vga programming |
|||
| 4F14 | 0609 |
set TV mode |
|||
| 4F14 | 0709 |
unimplemented |
|||
| 4F14 | 0809 |
CL = 1 2 3 4 |
set flick filter |
||
| 4F14 | 0909 |
CX = 0000 CX = 0100 |
set position |
||
| 4F14 | 0A09 |
CH=1/0 CL val |
set/GET contrast |
||
| 4F14 | 0B09 |
similar |
set/get black level |
||
| 4F14 | 0010 |
||||
| 4F14 | 0110 |
||||
| 4F14 | 0210 |
set refresh rate ??? |
|||
| 4F14 | 000B |
||||
| 4F14 | 0020 |
CX=G2mode CX=1FFF get current in CX CX = FF disable |
BH:DX=physbasec DI=G2SCREENWIDTHBYTES |
set G2 mode 101h/111h - CRT 640x480 8/16 bit 103h/114h - CRT 800x600 8/16 bit 105h ?117 - CRT 1024x768 8 bit 120h/121h - CRT 320x240 8/16 bit 122h/123h - CRT 400x300 8/16 bit 200h/210h - NTSC 640X480 8/16 201h/211h - PAL 640x480 8/16 bit 202h/212h - PAL 800x600 8/16 bit 220h/221h - NTSC 320x240 8/16 bit 222h/223h - PAL 320x240 8/16 bit 224h/225h - PAL 400x300 8/16 bit 0FFh - Disable the display path ======================= Compare with: [100] 640x400 (256 color palette) [101] 640x480 (256 color palette) [102] 800x600 (model=3) [103] 800x600 (256 color palette) [104] 1024x768 (model=3) [105] 1024x768 (256 color palette) [107] 1280x1024 (256 color palette) [10d] 320x200 (5:5:5) [10e] 320x200 (5:6:5) [110] 640x480 (5:5:5) [111] 640x480 (5:6:5) [112] 640x480 (8:8:8) [113] 800x600 (5:5:5) [114] 800x600 (5:6:5) [115] 800x600 (8:8:8) [116] 1024x768 (5:5:5) [117] 1024x768 (5:6:5) [118] 1024x768 (8:8:8) [120] 320x240 (256 color palette) [121] 320x240 (5:6:5) [122] 400x300 (256 color palette) [123] 400x300 (5:6:5) [124] 512x384 (256 color palette) [125] 512x384 (5:6:5) seg000:0B97 dw 101h ^ dw 111h % dw 103h = dw 114h % dw 105h % dw 117h % dw 120h % dw 121h % dw 122h % dw 123h % dw 124h % dw 125h % dw 300h % dw 301h % dw 310h dw 311h dw 200h dw 201h dw 202h dw 210h % dw 211h % dw 212h % dw 220h % dw 221h % dw 222h % dw 230h % dw 231h % dw 232h dw 101h dw 103h dw 111h dw 114h dw 120h dw 121h dw 122h dw 123h dw 200h dw 201h dw 202h dw 203h dw 210h dw 211h dw 212h dw 213h dw 220h dw 221h dw 222h dw 230h dw 231h dw 232h |
|
| 4F14 | ??21 |
Maybe G2 mode address start BH:DX |
|||
| 4F14 | ??23 |
||||
| 4F14 | ??24 |
G2SCREENWIDTH, cx
G2SCREENHEIGHT, dx |
|||
| TV mode |
TV NORM |
Depth |
Resolution |
VESA MODE |
| 0x200 |
NTSC |
8 |
640x480 |
0x101 |
| 0x201 |
PAL |
8 |
640x480 | 0x101 |
| 0x202 |
PAL |
8 |
800x600 |
0x103 |
| 0x203 ??? | NTSC |
8 |
800x600 |
0x103 |
| 0x210 |
NTSC |
16 |
640x480 | 0x111 |
| 0x211 |
PAL |
16 |
640x480 | 0x111 |
| 0x212 |
PAL |
16 |
800x600 | 0x114 |
| 0x213 ??? |
NTSC |
16 |
800x600 | 0x114 |
| 0x220/0x220 |
NTSC |
8 |
320x240 |
0x120 |
| 0x221/0x222 |
PAL |
8 |
320x240 |
0x120 |
| 0x222/0x224 |
PAL |
8 |
400x300 |
0x122 |
| 0x230/0x221 |
NTSC |
16 |
320x240 | 0x121 |
| 0x231/0x223 |
PAL |
16 |
320x240 | 0x121 |
| 0x232/0x225 |
PAL |
16 |
400x300 |
0x123 |
| 0x300 |
???? |
|||
| 0x301 |
???? |
|||
| 0x310 |
???? |
|||
| 0x311 |
???? |
EOF