Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-tis!ames!oliveb!sun!burgundy!jborza From: jborza%burgundy@Sun.COM (Jim_Borza) Newsgroups: comp.sys.ibm.pc Subject: Re: Fast video routines... Summary: WHOOPS !!! Message-ID: <81806@sun.uucp> Date: 15 Dec 88 17:36:33 GMT References: <45714@yale-celray.yale.UUCP> <81802@sun.uucp> Sender: news@sun.uucp Lines: 18 In article <81802@sun.uucp>, jborza%burgundy@Sun.COM (Jim_Borza) writes: > Better to use int 16h (ah=0Fh). That'll get the *current* video mode (the > user may have >1 Adapter). If the return is Mode=7, the display is mono- > chrome and the display segment is B000:0. If it's anything else, you can > force it to Mode=3 with int 16h (ah=0) and use B800:0 (This is assuming > you are using 80X25 TEXT mode - graphics is a tad more complex). As al- > ways, it is polite to store the mode returned from the inquiry and restore > the original mode on exit. Monochrome is always Mode=7. All standard > graphics adapters will accept Mode=3. > > Jim Borza > AIEEEEE! I meant to say "int 10h" or "int 16d". Please hold the flames - I know, I know! Jim Borza