"Joseph Morris" <j...@it-he.org> a écrit dans le message news: 3A98F4F5.455E0...@it-he.org...
> Okay. Now it does two different things. > Under Xdos, it creates a VGA-sized window and then hangs. > On the console, I get a stream of Phar-lap exception handler messages > saying something like 'xxxxxxxxx inside a system call'. > I would imagine it's a GPF inside a system call or something but I can't > tell because the messages are moving too quickly and I can't slow them
down.
If that stream stops without you having to Ctl-C it, you may try to U8W >alogfile (stdout) and possibly do the same for stderr. As a matter of fact 286|Dos was written in MetaWare C, so it looks a bit like a C program...
> Agh! A lot of the problems are caused by having sound switched on > (DOSEMU sound is notoriously bad). > The intro is running. If you hit ESC is crashes. > I've just let the intro run, and it crashes at the end:
And withoud sound ?
> [root@seaharrier u8]# xdos > kernel CPU speed is 1000070000 Hz > Running on CPU=586, FPU=1 > ERROR: general protection at 0x2cd89: 66 > ERROR: SIGSEGV, protected insn...exiting! > [root@seaharrier u8]#
Two questions from the Linux ignorant but eager learner :
What is xdos and how does it relate to dosemu ?
How should we read 0x2cd89:66 ? This does not look like a segmented address (2cd89 is > 16 bits) Would that be 2cd89 = linear address, content = 66 first byte of the faulting instruction ? Also 66, would that be decimal or hexadecimal ? And who emits that message ? DosEmu ? VM86 ? The kernel ?
> JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org > Fun things to do with the Ultima games (http://www.it-he.org) > Developing a U6/U7 clone (http://fly.to/ire)
"Joseph Morris" <j...@it-he.org> a écrit dans le message news: 3A992655.8949A...@it-he.org...
> Joseph Morris wrote: > BTW, Baroque, if this isn't a known bug with 1.08, the symptoms > are:
> Blue screen of death, with the messages: > Exception 0E at 0028:0000070F in VxD ---. > Called from 0028:C000B56F in VMM(01) + A56F
No, it is not known. Could you state whether you use Win95 or 98 or ME ? Could you help me by checking whether it occurs again, without sound or music ? Possibly, is your mouse or video unusual ?
Is the message really "in VxD ---" ? Anyway looks like there has been a rather wild branch taken, I am rather sure that there cannot be any VxD at locations like 70F ...
> JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org > Fun things to do with the Ultima games (http://www.it-he.org) > Developing a U6/U7 clone (http://fly.to/ire)
> > Blue screen of death, with the messages: > > Exception 0E at 0028:0000070F in VxD ---. > > Called from 0028:C000B56F in VMM(01) + A56F
> No, it is not known. Could you state whether you use Win95 or 98 or ME ? > Could you help me by checking whether it occurs again, without sound > or music ? Possibly, is your mouse or video unusual ?
Windows is Windows 98SE. Video is a Matrox G400. The mouse is a microsoft serial mouse. It does this whether sound set to Soundblaster or None. Files=40 (it crashed differently with the default number of files). It did this with both 1.05 and 1.08 generated executables.
> Is the message really "in VxD ---" ?
Yes.
> Anyway looks like there has been a rather wild branch taken, I am rather > sure that there cannot be any VxD at locations like 70F ...
-- JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org Fun things to do with the Ultima games (http://www.it-he.org) Developing a U6/U7 clone (http://fly.to/ire) d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB---- uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
> "Joseph Morris" <j...@it-he.org> a écrit dans le message news: > 3A98F4F5.455E0...@it-he.org...
> > Okay. Now it does two different things. > > Under Xdos, it creates a VGA-sized window and then hangs. > > On the console, I get a stream of Phar-lap exception handler messages > > saying something like 'xxxxxxxxx inside a system call'. > > I would imagine it's a GPF inside a system call or something but I can't > > tell because the messages are moving too quickly and I can't slow them > down.
> If that stream stops without you having to Ctl-C it, you may try to > U8W >alogfile > (stdout) and possibly do the same for stderr. As a matter of fact > 286|Dos was written in MetaWare C, so it looks a bit like a C program...
> > Agh! A lot of the problems are caused by having sound switched on > > (DOSEMU sound is notoriously bad). > > The intro is running. If you hit ESC is crashes. > > I've just let the intro run, and it crashes at the end:
> And withoud sound ?
That is without sound. If sound is enabled it asks for more memory (627k is free). I think this is normal for malconfigured soundcards. I've never got sounds to work in dosemu.
> > [root@seaharrier u8]# xdos > > kernel CPU speed is 1000070000 Hz > > Running on CPU=586, FPU=1 > > ERROR: general protection at 0x2cd89: 66 > > ERROR: SIGSEGV, protected insn...exiting! > > [root@seaharrier u8]#
> Two questions from the Linux ignorant but eager learner :
> What is xdos and how does it relate to dosemu ?
DOSemu can run on the console or from within Xwindows. If you run from the console, it can access the video display 'natively' using SVGAlib, so it can actually switch into mode 13h and the SVGA modes. This is much faster and looks a lot nicer. You can get unstuck if the program malfunctions.
xdos is the X11 version. It creates a little window and resizes it to the screen size. It's 'safer' than dosemu on the console, but slower and I have problems with the mouse.
> How should we read 0x2cd89:66 ? This does not look > like a segmented address (2cd89 is > 16 bits) Would > that be 2cd89 = linear address, content = 66 first byte > of the faulting instruction ? Also 66, would that be decimal > or hexadecimal ? And who emits that message ? DosEmu ? > VM86 ? The kernel ?
It's dosemu. I've just looked at the code and it's part of the general protection fault handler in do_vm86.c. Its a linear address, apparently made from CS:IP, and the byte is the contents. I'm going to hack this up a bit and see what I can find.
It seems to be the default case for an instruction it doesn't like. It's a switch statement.. if it gets an IO operation or something it emulates it. Whatever this opcode is, it doesn't know what to do with it.
I'll post more details as I get them ;-)
> > JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org > > Fun things to do with the Ultima games (http://www.it-he.org) > > Developing a U6/U7 clone (http://fly.to/ire)
> Dragon Baroque > === UDIC ===
-- JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org Fun things to do with the Ultima games (http://www.it-he.org) Developing a U6/U7 clone (http://fly.to/ire) d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB---- uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
Damn. I think I was using a version of DOSemu compiled against 2.2.18 kernel. I'm running 2.4.2 now, and so the VM86 part of the kernel will be quite different.
The problem is that now I've recompiled DOSemu with extra debugging, it doesn't crash out anymore. Instead, I get a stream of Divide Error messages and a Phar Lap crash:
..then again, perhaps this will be more useful to you.
> -- > JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org > Fun things to do with the Ultima games (http://www.it-he.org) > Developing a U6/U7 clone (http://fly.to/ire) > d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB---- > uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
-- JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org Fun things to do with the Ultima games (http://www.it-he.org) Developing a U6/U7 clone (http://fly.to/ire) d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB---- uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
Sound problems and other queries (anybody who could help -_-) Bear in mind that I'm a technilogical illiterate, so anything weird involving, say, DOS is gonna screw me. I'm running Win98, using Pagan off of the UC, running the cheat mode. I can run U8w fine. The game works great, and I can usually avoid crashes and whatnot. However, I can only get sound right after I save a load, which means I usually get a Guardian quip and a couple of footstep. I get the music track consistantly. I'm running a Sound Blaster varient. Any ideas would be appreciated. Also... <slight U8 spoilers, but not biggies>
When I give the apprentice Necromancer (whos name I can't remember), he runs through the entire ritual of killing the old Necro, but after he summons the ghouls, a big quake is summoned. This quake seems to go on forever. I haven't waited longer then a couple of minutes; should I? Sorry if this is not very clear, I'll be glad to clarify any points.
________ -=Dragon's Dragon=- Usenet: The greatest thing since sliced television.
> Sound problems and other queries (anybody who could help -_-) > Bear in mind that I'm a technilogical illiterate, so anything weird involving, > say, DOS is gonna screw me. > I'm running Win98, using Pagan off of the UC, running the cheat mode. I can > run U8w fine. The game works great, and I can usually avoid crashes and > whatnot. > However, I can only get sound right after I save a load, which means I usually > get a Guardian quip and a couple of footstep. I get the music track > consistantly. I'm running a Sound Blaster varient. Any ideas would be > appreciated. > Also... > <slight U8 spoilers, but not biggies>
> When I give the apprentice Necromancer (whos name I can't remember), he runs > through the entire ritual of killing the old Necro, but after he summons the > ghouls, a big quake is summoned. This quake seems to go on forever. I haven't > waited longer then a couple of minutes; should I? > Sorry if this is not very clear, I'll be glad to clarify any points.
I suspect your problem is related to the IRQ setting of your sound card. When running the INSTALL program of U8, you have to choose a IRQ setting - from memory it's 2, 3, 5 or 7. Make sure that this is what your computer thinks is correct - look up your card in start/settings/control panel/system/hardware/sound, music devices/your card/resources. More boring details are on my Ultima 7 For Beginners page :)
Re the earthquake: From the Origin tech help page.......
"When I am watching Lothian being sacrificed, the screen won't quit shaking!" Continual shaking of the screen is a problem related to your Sound Card's IRQ setting. Run the INSTALL program from the C:\ULTIMA8 directory. Ensure that the settings are correct. If you know them to be correct, but cannot get past the shaking, set the game for NO sound and NO music. Save the settings for the install program and run the game again. Without sound, you should be able to get past this point, save the game again, run the install program and reconfigure your sound for the rest of the game. See our Sound Card Help Page for more information.
>"Ethan" <lemmius...@aol.comsucks> wrote in message >news:20010225200136.20283.00002975@ng-fv1.aol.com... >> Sound problems and other queries (anybody who could help -_-) >> Bear in mind that I'm a technilogical illiterate, so anything weird >involving, >> say, DOS is gonna screw me. >> I'm running Win98, using Pagan off of the UC, running the cheat mode. I >can >> run U8w fine. The game works great, and I can usually avoid crashes and >> whatnot. >> However, I can only get sound right after I save a load, which means I >usually >> get a Guardian quip and a couple of footstep. I get the music track >> consistantly. I'm running a Sound Blaster varient. Any ideas would be >> appreciated. >> Also... >> <slight U8 spoilers, but not biggies>
>> When I give the apprentice Necromancer (whos name I can't remember), he >runs >> through the entire ritual of killing the old Necro, but after he summons >the >> ghouls, a big quake is summoned. This quake seems to go on forever. I >haven't >> waited longer then a couple of minutes; should I? >> Sorry if this is not very clear, I'll be glad to clarify any points.
>I suspect your problem is related to the IRQ setting of your sound card. >When running the INSTALL program of U8, you have to choose a IRQ setting - >from memory it's 2, 3, 5 or 7. Make sure that this is what your computer >thinks is correct - look up your card in start/settings/control >panel/system/hardware/sound, music devices/your card/resources. More boring >details are on my Ultima 7 For Beginners page :)
>Re the earthquake: From the Origin tech help page.......
>"When I am watching Lothian being sacrificed, the screen won't quit >shaking!" >Continual shaking of the screen is a problem related to your Sound Card's >IRQ setting. Run the INSTALL program from the C:\ULTIMA8 directory. Ensure >that the settings are correct. If you know them to be correct, but cannot >get past the shaking, set the game for NO sound and NO music. Save the >settings for the install program and run the game again. Without sound, you >should be able to get past this point, save the game again, run the install >program and reconfigure your sound for the rest of the game. See our Sound >Card Help Page for more information.
You're a saint.
________ -=Dragon's Dragon=- Usenet: The greatest thing since sliced television.
> >Re the earthquake: From the Origin tech help page.......
> You're a saint.
Er, doesn't that mean he dead?
> ________ > -=Dragon's Dragon=- > Usenet: The greatest thing since sliced television.
-- JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org Fun things to do with the Ultima games (http://www.it-he.org) Developing a U6/U7 clone (http://fly.to/ire) d+++ e+ N+ T++ Om U1234!56!7'!S'!8!9!KA u++ uC+++ uF+++ uG---- uLB---- uA--- nC+ nR---- nH+++ nP++ nI nPT nS nT wM- wC- y a(YEAR - 1976)
"Joseph Morris" <j...@it-he.org> a écrit dans le message news: 3A9985B2.DE920...@it-he.org...
> > How should we read 0x2cd89:66 ? This does not look > > like a segmented address (2cd89 is > 16 bits) Would > > that be 2cd89 = linear address, content = 66 first byte > > of the faulting instruction ? Also 66, would that be decimal > > or hexadecimal ? And who emits that message ? DosEmu ? > > VM86 ? The kernel ? > It seems to be the default case for an instruction it > doesn't like. It's a switch statement.. if it gets an > IO operation or something it emulates it. Whatever > this opcode is, it doesn't know what to do with it.
Agreed. 66 hex is not an opcode. It is an instruction prefix that enables 32 bits registers in 16 bit mode (and vice versa). So whatever did crash was coming from after this byte. Pity it did not tell more, like the full set of registers ... That would have helped.
> JP Morris - aka DOUG the Eagle (Dragon) -=UDIC=- d...@it-he.org > Fun things to do with the Ultima games (http://www.it-he.org) > Developing a U6/U7 clone (http://fly.to/ire)