On Fri, 25 Jun 1999, Eric Wampner wrote:
> The problem:
> Only the last IRQ requested for IRQ passing is acutally configured.
> The CONF messages note the request, but the vm86 request is never
> made, and the IRQ is not allocated to dosemu.
>
> The solution:
> For some reason, the config.sillyint variable is zeroed EVERY time
> a value is parsed in the irqpassing grammar. Only the last value
> is saved.
Yup, that's correct. However, the statement is intended to be given only
_once_ but with all IRQ flags you need.
> I looked and I think config.sillyint is initialized correctly
> before the grammar gets going, to I have no idea why this rule
> is coded like that. I just removed the clear and it works for me.
Don't do that, it has other odds. The bug is in global.conf (not in
parser.y) doing multiple statements, here is the patch:
--- dosemu-0.98.7/etc/global.conf~ Sat Jun 5 18:51:04 1999
+++ dosemu-0.98.7/etc/global.conf Sat Jun 26 00:59:42 1999
@@ -499,10 +499,12 @@
# misc stuff
dpmi $_dpmi
if (strlen($_irqpassing))
+ $yyy = "irqpassing { "
foreach $xxx (" ", $_irqpassing)
- $xxx = "irqpassing { use_sigio ", $xxx, " }";
- $$xxx
+ $yyy = $yyy, "use_sigio ", $xxx
done
+ $yyy = $yyy, " }";
+ $$yyy
else
irqpassing off
endif
Hans
<[EMAIL PROTECTED]>