From: "DigitalFX" Newsgroups: comp.os.msdos.djgpp Subject: DOSMEMGET Problems Date: Thu, 6 Nov 1997 22:26:23 -0500 Organization: Concentric Internet Services Lines: 19 Message-ID: <63u1qv$ond@examiner.concentric.net> NNTP-Posting-Host: ts023d16.sag-mi.concentric.net To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I've got some code that loads the 8x8 BIOS font with dosmemget. For some reason it doesn't want to work anymore under plain old DOS. It works fine under a DOS box from Windows 95. Is this a bug in CWSDPMI? I'm almost 100% sure that this code worked before, and I haven't changed it since. Here's the line that fouls up: void GI_LoadFont(void) { GI_CHAR_SET = malloc(8*256); // get the ROM font from F000:FA6E and load into memory dosmemget((0xF000*16)+0xFA6E, 8*256, GI_CHAR_SET); } Like I stated before this code worked fine until today. I have no idea what the problem is!