Path: utzoo!utgpu!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!rochester!pt.cs.cmu.edu!b.gp.cs.cmu.edu!Ralf.Brown@B.GP.CS.CMU.EDU From: Ralf.Brown@B.GP.CS.CMU.EDU Newsgroups: comp.sys.ibm.pc Subject: Re: How to do fast video - summary Message-ID: <23ad0735@ralf> Date: 19 Dec 88 13:42:13 GMT Sender: ralf@b.gp.cs.cmu.edu Lines: 28 In-Reply-To: <46013@yale-celray.yale.UUCP> In article <46013@yale-celray.yale.UUCP>, spolsky-joel@CS.Yale.EDU (Joel Spolsky) writes: }A while ago I asked what the politically correct way is to do fast }(text) video. Several people were kind enough to reply. The following }procedure should work for any display: } }-Find out the video mode as follows: } set AH to 0x0F } call interrupt 0x10 (Video Services) } look in AL for the video mode }-If the video mode is 7, screen memory starts at B000:0000 }-otherwise, screen memory starts at B800:0000 Please add: put assumed screen address in ES:DI set AH to 0xFE call interrupt 0x10 store returned ES:DI as actual screen address to let the program run in a small window under any of TopView, TaskView, OmniView, DESQview, ALL ChargeCard with 960K DOS, and probably MS Windows. vvv and the address is B800:0000 }-if the user wants snow suppression, wait for port 0x3DA to become }odd before poking to the screen. -- UUCP: {ucbvax,harvard}!cs.cmu.edu!ralf -=-=-=- Voice: (412) 268-3053 (school) ARPA: ralf@cs.cmu.edu BIT: ralf%cs.cmu.edu@CMUCCVMA FIDO: Ralf Brown 1:129/31 Disclaimer? I claimed something? You cannot achieve the impossible without attempting the absurd.