VOGONS

Common searches


Search results

Display options

Re: Finding bugs in 8086-80386 emulation core?

Looking at the BOUND instruction that's executed again: it's executing with an segment of SS, which has value 1BFDh, with an EA offset of 10AA0h. The 10AA0h value is truncated to 16-bits, since it's using 16-bit offsets. I'll disable this and try again. Edit: That causes the Compaq Deskpro 386 BIOS …

Re: Finding bugs in 8086-80386 emulation core?

Filename 394.jpg File size 91.13 KiB Views 1492 views File comment Selecting a car Filename 396.jpg File size 101.9 KiB Views 1492 views File comment Gameplay starting Filename 398.jpg File size 85.82 KiB Views 1492 views File comment And just before stopping the recording of audio.

Re: Finding bugs in 8086-80386 emulation core?

Now trying Megarace on the Compaq Deskpro 386 again. Audio and video seem to work now? Although slowly, at only 16% speed on a 4GHz Intel i7 4790K. Edit: The Megarace demo now seems to run all the way into the gameplay itself :D Windows 95 setup still crashes on that BOUND instruction, though, for …

Re: Finding bugs in 8086-80386 emulation core?

Just tried the Windows 95 setup again(no parameters). It will end up with a BOUND instruction faulting to itself(the bound exception handler IRETs back to the BOUND instruction which produces the same kind of loop). It's a BOUND SI,[SS:BP+DI+74] instruction at 0FDE:C36A. SI being 4778h.

Re: Finding bugs in 8086-80386 emulation core?

Whoops. Thinking about it: it won't work. The instruction is a REP MOVSD instead of REP MOVSB(typo). So it'll run on a 80386+ only(32-bit instruction that's faulting). I'll have to check the fault, but it's going to take a while on 4% speed to run it. Also, the ESI/EDI registers are loaded with 32- …

Re: Finding bugs in 8086-80386 emulation core?

One thing I know for sure(without firing up the debugger on the currently very slow 2.0GHz CPU running the 16MHz 80386 at 2-4% speed), is that the REP MOVSB attempts to move memory past the 1MB barrier, somewhere between 1MB and 2MB(DS/ES offset), causing infinite General Protection faults that …

Finding bugs in 8086-80386 emulation core?

When I try stuff like installing Windows 95(setup.exe) or starting Megarace(the demo version), I end up with it somehow keep returning to an REP MOVSB instruction, which infinitely faults with #GP because it's reaching past the segmentation limits(limit field being 0xFFFF, with the offset taken …

Re: IDE Command protocol

My emulation is based on two specifications only: ATA-1 for emulated harddisks and ATA/ATAPI-4 for CD-ROM drives(still buggy for some unknown reasons). Yes, both are combined into a single version, using either ATA-1(HDD only) or ATA/ATAPI-4(CD-ROM only). And even so, only implemented the mandatory …

Making UniPCemu faster on Android?

When I try to run UniPCemu when the current commit is build for Android using the android-NDK, I see it booting up, but very slowly(up to 8700 cycles/second usually). Can anyone see why this is so slow? After starting and clearing the CGA screen, it's running at 11000 cyclesd, then back to around 9. …

Re: UniPCemu MIDI synth loud volume/tone problems?

Just improved the reverb effect, by making it filter the reverb lines by 70% of the low-pass frequency to tone them down somewhat: https://bitbucket.org/superfury/unipcemu/src/955335c35bea5c468847e812b80662c858900557/UniPCemu/hardware/midi/mididevice.c?at=master The problem of the incorrect tones …

Re: UniPCemu MIDI synth loud volume/tone problems?

I've improved the lookups for generators and modulators to take the endOper and NULL modulators into account. But for some reason, some instruments still disappear after playing them, as well as loudness problems? Core midi hardware/playback: https://bitbucket.org/superfury/unipcemu/src/ …

Re: UniPCemu MIDI synth loud volume/tone problems?

Looking at the decay of the harp, I notice it's generating 367990 samples of decay of instrument Troubharp E2(44.1kHz samplerate) and 113985 samples of release. It's supposed to be 0.00s decay, 0.01s release. So UniPCemu somehow calculates around 8.3s decay and 2.5s release? That cannot be right, …

Re: UniPCemu MIDI synth loud volume/tone problems?

This is what I'm currently using to determine the factor(linear factor) to apply to the samplerate(thus playing the samples at that factor's speed to obtain the effective tone without pitch bend. Pitch bends are calculated the same way and multiplied with this factor to obtain the final factor to …

UniPCemu MIDI synth loud volume/tone problems?

I'm testing with the AweROMGM and 8MBGMSFX Soundfonts. But some instruments(like harps and string instruments), for some reason, have very loud volume(despite being soft foreground notes). They completely overwhelm most of the background instruments, making them unable to be heared. Can anyone see …

Page 147 of 229