Path: utzoo!attcan!uunet!ginosko!gem.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!ECNCDC.BITNET!MSRS002 From: MSRS002@ECNCDC.BITNET ("The Doctor.") Newsgroups: comp.lang.modula2 Subject: re: Using Text in Graphics Message-ID: Date: 23 Sep 89 14:55:00 GMT Sender: daemon@ucbvax.BERKELEY.EDU Reply-To: Modula2 List Organization: The Internet Lines: 16 When you're in a graphic mode, the bits stored in the display memory control pixels directly. When you're in text mode, the bits are mapped by a character generator into characters. The BIOS of a PC or AT will translate characters into bit patterns when you do writes in graphic mode. Since the Window module manipulates screen memory directly, it won't work in graphic mode. If you don't have the window module included, writes (in IO) will show correctly on the screen, but you don't have any cursor control. You would have to do BIOS calls to position characters on the screen. I have a module I wrote which can write "stroked" line segment characters on the screen in graphic mode. You can scale the characters horizontaly and vertically, and could create additional character fonts. If you'd like, I could send you source (three files). Tom Ruby MSRS002@ECNCDC