delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/04/22/12:45:22

From: b52g AT usa DOT net
Newsgroups: comp.os.msdos.djgpp
Subject: Problems with Real-Mode Transfer Buffer
Date: Wed, 22 Apr 1998 11:28:34 -0600
Organization: Deja News - The Leader in Internet Discussion
Lines: 20
Message-ID: <6hl5rh$lfc$1@nnrp1.dejanews.com>
NNTP-Posting-Host: 195.11.199.175
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I have a fairly large DJGPP application, which makes use of mikmod for sound
services, and uses allegro's _install_irq functions for the timer.
(This means there will be a lot of realmode interrupt activity)

If the mikmod mixing kernel is running when the display is set up, the program
crashes with a GPF in RMCB, as soon as a getch() or bioskey() is executed.

The program stops crashing if I set the size of the RealMode Transfer buffer
to be 32k instead of 16.

Any ideas why this is happening, what can I do about it?
Is changing the RMTB size masking the problem or fixing it?
If so, can I set the RMTB size in my program, like the stack size?
(Having to run stubedit after each compile is a pain.)
Alternatively, could I make a new stub with a default of 32k RMTB?
Thanks..


-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/   Now offering spam-free web-based newsreading

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019