Re: display.sys / turbo3 / nansi / ms- and freedos / crashing DPMI1
Aitor Santamaria Merino <[email protected]> Wed, 13 Nov 2002 11:19:56 +0100
| Newsgroups | gmane.os.freedos.devel |
|---|---|
| Message-ID | <[email protected]> |
> > >EA> loading specific charsets into your video hardware. You are right, most > > Yes, this utility was developed precisely for dealing with fonts, >although Aitor states, that it also used to handle requests of changing >codepages. > From RBIL, int2Fh: Int 2F/AX=AD00h - DOS 3.3+ DISPLAY.SYS internal - INSTALLATION CHECK Int 2F/AX=AD00h - DR DOS 3.41-5.0, Novell DOS 7 KEYB - INSTALLATION CHECK Int 2F/AX=AD01h - DOS 3.3+ DISPLAY.SYS internal - SET ACTIVE CODE PAGE Int 2F/AX=AD01h - DR DOS 3.41,5.0 KEYB - GET CONFIGURATION Int 2F/AX=AD01h - Novell DOS 7 KEYB - GET/SET??? CONFIGURATION Int 2F/AX=AD02h - DOS 3.3+ DISPLAY.SYS internal - GET ACTIVE CODE PAGE Int 2F/AX=AD02h - Novell DOS 7 KEYB - ??? Int 2F/AX=AD03h - DOS 3.3+ DISPLAY.SYS internal - GET CODE PAGE INFORMATION Int 2F/AX=AD04h - DOS 4.x only DISPLAY.SYS internal - ??? Int 2F/AX=AD10h - DOS 4.x DISPLAY.SYS internal - INSTALLATION CHECK??? Int 2F/AX=AD10h - DOS 5+ DISPLAY.SYS internal - ??? These (AD00h, AD01h, AD02h) and the two temporary "backdoors" Int 2F/AX=AD0Eh - FreeDOS DISPLAY.COM 0.06+ internal - PREPARE CODEPAGE Int 2F/AX=AD0Fh - FreeDOS DISPLAY.COM 0.06+ internal - RETRIEVE PREPARED CODEPAGE INFORMATION are what will be defined in DISPLAY 0.06. An accompaining utility (MODECON.EXE) will communicate with this, until I turn it into a device driver, and IOCTL is ready. Generic IOCTL request: DOS 3.2+ - IOCTL - GENERIC CHARACTER DEVICE REQUEST AX = 440Ch BX = device handle CH = category code (see #01545) CL = function number (see #01546) DS:DX -> parameter block (see #01547,#01548,#01549,#01550,#01551,#01552) SI = parameter to pass to driver (European MS-DOS 4.0, OS/2 comp box) DI = parameter to pass to driver (European MS-DOS 4.0, OS/2 comp box) Return:CF set on error AX = error code (see #01680 at AH=59h/BX=0000h) CF clear if successful DS:DX -> iteration count if CL=65h SI = returned value (European MS-DOS 4.0, OS/2 comp box) DI = returned value (European MS-DOS 4.0, OS/2 comp box) where (Table 01546) Values for generic character IOCTL function: 00h MAC driver Bind (STARLITE) (see #01547) 40h DOS 3??? only:Was reserved for set screen mode (see #04116) 45h set iteration (retry) count (see #01548) 4Ah select code page (see #01549) 4Ch start code-page preparation (see #01550) 4Dh end code-page preparation (see #01551) 5Fh set display information (DOS 4.0+) (see #01552) 60h DOS 3??? only:Was reserved for get screen mode (see #04116) 65h get iteration (retry) count 6Ah query selected code page (see #01549) 6Bh query codepage prepare list (DOS 4.0+) (see #01553) 7Fh get display information (DOS 4.0+) (see #01552) Aitor