INT 62 u - FGDRIVER v3.03+ - "FG_ALLOCATE" - CREATE VIRTUAL VIDEO PAGE AX = 0000h BX = page number (0000h-003Fh) Return: AX = status (0000h,0001h,0007h,0008h) (see #03473) Program: FGDRIVER is the external video driver for the shareware Fastgraph/Light by Ted Gruber Software InstallCheck: test for the signature "FG" ten bytes beyond the start of the interrupt handler Notes: the FGDRIVER functions are rearranged with each major release, but their parameters do not change (see #03474) The amount of memory required by the virtual video page depends on the current video mode SeeAlso: AX=0001h,AX=0002h,AX=0003h,AX=0038h Index: installation check;Fastgraph/Light (Table 03473) Values for FGDRIVER status: 0000h successful 0001h specified page is a physical or logical page 0007h virtual page created/released, but memory control blocks corrupted 0008h not enough memory 0009h attempt to free a page which was never created FFFCh insufficient memory FFFDh page already created, or exists as physical or virtual page FFFEh invalid page number FFFFh memory manager not initialized SeeAlso: #03474 (Table 03474) Values for FGDRIVER functions (by driver version): Name v1.10 v3.03 v4.02 FG_ALLOCATE 0042h 0000h 0000h FG_ALLOCCMS 009Dh 0001h 0001h FG_ALLOCEMS 009Eh 0002h 0002h FG_ALLOCXMS 009Fh 0003h 0003h FG_AUTOMODE 0004h 0004h 0004h FG_BESTMODE 0003h 0005h 0005h FG_BOX 00A2h 0006h 0006h FG_BOXDEPTH 00A3h 0007h 0007h FG_BOXX -- 0008h 0008h FG_BUTTON 0078h 0009h 0009h FG_CAPSLOCK 0070h 000Ah 000Ah FG_CHGATTR 0035h 000Bh 000Bh FG_CHGTEXT 0036h 000Ch 000Ch FG_CIRCLE 0030h 000Dh 000Dh FG_CIRCLEF -- 000Eh 000Eh FG_CLIPMAP -- -- 000Fh FG_CLIPMASK 0052h 000Fh 0010h FG_CLPIMAGE 004Ah 0010h 0011h FG_CLPRECT 002Bh 0011h 0012h FG_COLORS -- -- 0013h FG_COPYPAGE 005Fh 0012h 0014h FG_CURSOR 0007h 0013h 0015h FG_DASH 0027h 0014h 0016h FG_DASHREL 0028h 0015h 0017h FG_DEFCOLOR 0014h 0016h 0018h FG_DEFPAGES -- 0017h 0019h FG_DISPFILE 004Fh 0018h 001Ah FG_DISPLAY 004Dh 0019h 001Bh FG_DISPLAYP 004Eh 001Ah 001Ch FG_DISPPCX 0060h -- -- FG_DRAW 0025h 001Bh 001Dh FG_DRAWMAP 0047h 001Ch 001Eh FG_DRAWMASK 0051h 001Dh 001Fh FG_DRAWREL 0026h 001Eh 0020h FG_DRAWRELX -- 001Fh 0021h FG_DRAWX -- 0020h 0022h FG_DRECT 002Ch 0021h 0023h FG_DRWIMAGE 0049h 0022h 0024h FG_EGACHECK 0005h 0023h 0025h FG_ELLIPSE 002Dh 0024h 0026h FG_ELLIPSEF -- 0025h 0027h FG_ERASE 001Eh 0026h 0028h FG_FADEIN 0064h 0027h 0029h FG_FADEOUT 0065h 0028h 002Ah FG_FILLPAGE -- 0029h 002Bh FG_FINDPAGE -- -- 002Ch FG_FLICDONE -- -- 002Dh FG_FLICHEAD -- -- 002Eh FG_FLICMODE -- -- 002Fh FG_FLICOPEN -- -- 0030h FG_FLICPLAY -- -- 0031h FG_FLICSIZE -- -- 0032h FG_FLICSKIP -- -- 0033h FG_FLIPMASK 0054h 002Ah 0034h FG_FLOOD -- 002Bh 0035h FG_FLPIMAGE 004Ch 002Ch 0036h FG_FONTSIZE -- 002Dh 0037h FG_FREEPAGE 0043h 002Eh 0038h FG_GETADDR 0044h 002Fh 0039h FG_GETATTR 0037h 0030h 003Ah FG_GETBANKS -- -- 003Bh FG_GETBLOCK -- 0031h 003Ch FG_GETCHAR 0038h 0032h 003Dh FG_GETCLIP -- -- 003Eh FG_GETCLOCK 0099h 0033h 003Fh FG_GETCOLOR 0015h 0034h 0040h FG_GETDACS 00A4h 0035h 0041h FG_GETENTRY -- 0036h 0042h FG_GETHPAGE 0040h 0037h 0043h FG_GETIMAGE 0048h 0038h 0044h FG_GETINDEX 0016h 0039h 0045h FG_GETKEY 006Eh 003Ah 0046h FG_GETLINES 0010h 003Bh 0047h FG_GETMAP 0046h 003Ch 0048h FG_GETMAXX 000Ah 003Dh 0049h FG_GETMAXY 000Bh 003Eh 004Ah FG_GETMODE 0000h 003Fh 004Bh FG_GETPAGE 003Ch 0040h 004Ch FG_GETPIXEL 0020h 0041h 004Dh FG_GETRGB 001Ch 0042h 004Eh FG_GETVIEW -- -- 004Fh FG_GETVPAGE 003Eh 0043h 0050h FG_GETXBOX -- -- 0051h FG_GETXJOY 0076h 0044h 0052h FG_GETXJUST -- -- 0053h FG_GETXPOS 0021h 0045h 0054h FG_GETYBOX -- -- 0055h FG_GETYJOY 0077h 0046h 0056h FG_GETYJUST -- -- 0057h FG_GETYPOS 0022h 0047h 0058h FG_HUSH 008Eh 0048h 0059h FG_HUSHNEXT 008Fh 0049h 005Ah FG_IMAGEBUF -- 004Ah 005Bh FG_IMAGESIZ 0062h 004Bh 005Ch FG_INITEMS 00A0h 004Ch 005Dh FG_INITJOY 0075h 004Dh 005Eh FG_INITPM -- -- 005Fh??? (NOP in v4.02) FG_INITXMS 00A1h 004Eh 0060h FG_INSIDE -- 004Fh 0061h FG_INTJOY 0079h 0050h 0062h FG_INTKEY 006Fh 0051h 0063h FG_INVERT -- -- 0064h FG_JUSTIFY -- 0052h 0065h FG_KBINIT -- 0053h 0066h FG_KBLAST -- -- 0067h FG_KBRESET -- -- 0068h FG_KBTEST -- 0054h 0069h FG_LOADPCX -- -- 006Ah FG_LOCATE 0033h 0055h 006Bh FG_MAKEPCX 0061h 0057h 006Ch FG_MAKEPPR -- 0058h 006Dh FG_MAKESPR -- 0059h 006Eh FG_MAPRGB 001Dh 005Ah 006Fh FG_MEASURE 0098h 005Bh 0070h FG_MEMAVAIL 009Bh 005Ch 0071h FG_MEMORY -- 005Dh 0072h FG_MOUSE256 -- -- 0073h FG_MOUSEBUT 007Ch 005Eh 0074h FG_MOUSECUR 007Eh 005Fh 0075h FG_MOUSEFIN -- 0060h 0076h FG_MOUSEINI 007Ah 0061h 0077h FG_MOUSELIM 0080h 0062h 0078h FG_MOUSEMOV 0081h 0063h 0079h FG_MOUSEPOS 007Dh 0064h 007Ah FG_MOUSEPTR 007Fh 0065h 007Bh FG_MOUSESPD 0082h 0066h 007Ch FG_MOUSEVIS 007Bh 0067h 007Dh FG_MOVE 0023h 0068h 007Eh FG_MOVEREL 0024h 0069h 007Fh FG_MUSIC 008Ch 006Ah 0080h FG_MUSICB 008Dh 006Bh 0081h FG_NUMLOCK 0072h 006Ch 0082h FG_PACK -- -- 0083h FG_PAGESIZE -- 006Dh 0084h FG_PAINT 002Fh 006Eh 0085h FG_PALETTE 0017h 006Fh 0086h FG_PALETTES 0018h 0070h 0087h FG_PAN 0066h 0071h 0088h FG_PATTERN 0050h 0072h 0089h FG_PCXHEAD -- 0073h 008Ah FG_PCXMODE -- 0074h 008Bh FG_PCXPAL -- -- 008Ch FG_PCXRANGE -- -- 008Dh FG_PLAYING 0091h 0075h 008Eh FG_POINT 001Fh 0076h 008Fh FG_POINTX -- 0077h 0090h FG_POLYEDGE -- -- 0091h FG_POLYFILL -- 0078h 0092h FG_POLYGON 002Eh 0079h 0093h FG_POLYLINE -- 007Ah 0094h FG_POLYOFF -- 007Bh 0095h FG_PRINT -- 007Ch 0096h FG_PRINTC -- -- 0097h FG_PUTBLOCK -- 007Dh 0098h FG_PUTIMAGE -- 007Eh 0099h FG_QUIET 0090h 007Fh 009Ah FG_RECT 002Ah 0080h 009Bh FG_RESET 0006h 0081h 009Ch FG_RESIZE 0045h 0082h 009Dh FG_RESTORE 005Bh 0083h 009Eh FG_RESUME 0092h 0084h 009Fh FG_REVIMAGE 004Bh 0085h 00A0h FG_REVMASK 0053h 0086h 00A1h FG_SAVE -- 0087h 00A2h FG_SCALE -- -- 00A3h FG_SCRLOCK 0074h 0088h 00A4h FG_SCROLL 0067h 0089h 00A5h FG_SETATTR 0019h 008Ah 00A6h FG_SETBANKS -- -- 00A7h FG_SETCAPS 0071h 008Bh 00A8h FG_SETCLIP 0029h 008Ch 00A9h FG_SETCOLOR 001Ah 008Dh 00AAh FG_SETDACS 00A5h 008Eh 00ABh FG_SETENTRY -- 008Fh 00ACh FG_SETFUNC 009Ch 0090h 00ADh FG_SETHPAGE 0041h 0091h 00AEh FG_SETLINES 0011h 0092h 00AFh FG_SETMODE 0001h 0093h 00B0h FG_SETNUM 0073h 0094h 00B1h FG_SETPAGE 003Dh 0095h 00B2h FG_SETRGB 001Bh 0096h 00B3h FG_SETVIEW -- -- 00B5h FG_SETVPAGE 003Fh 0098h 00B6h FG_SHEAR -- -- 00B7h FG_SHOWFLIC -- -- 00B8h FG_SHOWPCX -- 009Ah 00B9h FG_SHOWPPR -- 009Bh 00BAh FG_SHOWSPR -- 009Ch 00BBh FG_SOUND 0088h 009Dh 00BCh FG_SOUNDS 0089h 009Eh 00BDh FG_SPLIT -- -- 00BEh FG_STALL 0097h 009Fh 00BFh FG_SUSPEND 0093h 00A0h 00C0h FG_SVGAINIT -- 00A1h 00C1h FG_SVGASTAT -- 00A2h 00C2h FG_SVGAVER -- 00A3h 00C3h FG_TCDEFINE -- 00A4h 00C4h FG_TCMASK 005Eh 00A5h 00C5h FG_TCXFER 005Dh 00A6h 00C6h FG_TESTMODE 0002h 00A7h 00C7h FG_TEXT 0032h 00A8h 00C8h FG_TEXTC -- -- 00C9h FG_TRANSFER 005Ch 00A9h 00CAh FG_UNPACK -- -- 00CBh FG_VBADDR -- -- 00CCh FG_VBALLOC -- -- 00CDh FG_VBCLOSE -- -- 00CEh FG_VBCOPY -- -- 00CFh FG_VBCUT -- -- 00D0h FG_VBDEFINE -- -- 00D1h FG_VBFREE -- -- 00D2h FG_VBHANDLE -- -- 00D3h FG_VBINIT -- -- 00D4h FG_VBOPEN -- -- 00D5h FG_VBPASTE -- -- 00D6h FG_VBTCCOPY -- -- 00D7h FG_VBTCXFER -- -- 00D8h FG_VBUNDEF -- -- 00D9h FG_VGASTATE -- -- 00DAh FG_VOICE 008Ah 00AAh 00DBh FG_VOICES 008Bh 00ABh 00DCh FG_WAITFOR 0096h 00ACh 00DDh FG_WAITKEY 006Dh 00ADh 00DEh FG_WAITVR -- 00AEh 00DFh FG_WHERE 0034h 00AFh 00E0h FG_XALPHA 000Ch 00B0h 00E1h FG_XCONVERT 000Eh 00B1h 00E2h FG_XVIEW -- -- 00E3h FG_YALPHA 000Dh 00B2h 00E4h FG_YCONVERT 000Fh 00B3h 00E5h FG_YVIEW -- -- 00E6h SeeAlso: #03473