VOGONS

Common searches


Search results

Display options

Re: UniPCemu crashing on current commit?

Confirmed: disabling the compaq's 6 channel PIT(two PITs actually), instead using the PC-compatible 3-channel PIT, makes UniPCemu not crash anymore. So there's a problem with the 6-channel PIT emulation itself it seems. I've already increased all the buffers to support 6 channels, but for some …

Re: UniPCemu crashing on current commit?

I've tried to place data breakpoints using Visual Studio, but the error still occurs during the PIT audio rendering(rendering the raw 44.1kHz audio stream to the double buffer). I've fixed some buffers to work properly(adjusting some of the 3 channel variables to support the full 6-channel array …

UniPCemu Compaq Deskpro 386 emulation problems?

When I try to run UniPCemu's with ET4000 SVGA, Compaq Deskpro 386 with 80386 CPU, the application somehow crashes rendering audio samples to the output buffer, with the PIT audio buffers being corrupted. Anyone can see what's causing this? I've ran Visual Studio's code analysis, but even fixing …

Re: x86 segment descriptor type checking?

The cs.nyu.edu link tells me as I've implemented it. The pdf file linked to by vladstamate instead tells 10CRA instead of the (probably correct) 11CRA fields? They're both supposed to be the same manual. Perhaps the html version is a newer revision?

Re: x86 segment descriptor type checking?

Something I've found out: both manuals have the same error in bit 3 of the type field(left of the E or C bits): the bits are set to 0 in both images. It should have 0 for data and 1 for code? So 0EW for data and 1CR for executable segments? Pages 109-110 give some examples on when the type field is …

x86 segment descriptor type checking?

The manual I use (http://www.cs.nyu.edu/~mwalfish/classes/14fa/ref/i386/s06_03.htm ) only mentions a few (examples) of the type checking performed during loading segments(e.g. using a MOV instruction) and during execution of memory accesses(using the loaded segment descriptor to resolve or fault …

Completing UniPCemu's adlib emulation?

The OPL2 melodic emulation works very well currently(Fully 100% accurate), but still some part is missing(or rather, it isn't completely finished yet. It's running, but not 100% correct output yet): the rhythm part of the OPL2 emulation. The formulas were originally taken from OPL3EMU, but that …

Re: UniPCemu 80286/80386+ protected mode problems?

My code currently doesn't clear CF afterwards with INC/DEC instructions, but instead sets it to the value before the INC/DEC executed(i.e. it's unchanged during execution of the instruction, neither cleared nor set). I've removed the manual 0xF(dec) and 0x0(inc) checks on the low 4 bits, because …

Re: UniPCemu 80286/80386+ protected mode problems?

It seems still some problems occur with the shift/rotate instructions. Anyone can see what's going wrong? 8086+ 8/16-bit version: byte op_grp2_8(byte cnt, byte varshift) { //word d, INLINEREGISTER word s, shift, oldCF, msb; word backup; //if (cnt>0x8) return(oper1b); //NEC V20/V30+ limits shift …

Re: UniPCemu 80286/80386+ protected mode problems?

After running the 80186 test suite again, I've found at least one problem with the flags handling: The Auxiliary flag isn't correctly updated? The emulation sets it when it's supposed to be cleared, according to the result file? This at least happens with the GRP2 SHL/SHR opcodes? 8086 opcodes …

Re: x86 loading CS after setting protected mode bit?

So the only way that's affected is how the loads of segment registers(and interrupts/exceptions) are handled? The only problem would be reloads of CS or other segment registers, which load descriptor table entries instead of filling (part of) it with predetermined values(access rights and real-mode …

Re: UniPCemu emulator releases

hi any new build version with last advance on 8088mph demo ? thanks in advance breiztiger I'm still sorting out some errors in the newer CPU cores(286+) with the new improved cycle-accurate handling. Once that's fixed, I'll release it(Even though the credits SMC hangs it due to timing inaccuracies( …

Re: UniPCemu cycle accurate 8088 implementation

I'm now retesting the 808X core, but it seems something is going wrong with various instructions. One thing that immediately pops out is the DIV instruction not faulting on 8-bit overflow(result of 101h isn't giving an error with resultbits being 8?) void CPU8086_internal_DIV(uint_32 val, word …

Re: UniPCemu 80286/80386+ protected mode problems?

Anyone can see what's going wrong with the protected mode emulation? Mainly look at Protected mode basics and maybe Paging . Anyone can see what's going wrong? Jepael? Edit: The AT BIOS crashes on this now. It reports POST codes up until 1E, 1F, 20, then resets completely, starting at 01, 02 and …

Re: Unipcemu slow on Android?

I've finally got it somewhat running at the same speed on a 2.2GHz laptop(Intel Dual core CPU). It runs at ~6% as well. I've managed to make it compile and start profiling with GCOV, but trying to convert the profiler dump to a text file seems to fail, asking for an unexistant data file? I call " …

Re: (S)VGA Chain-2 / Odd/Even mode

The main purpose of replacing bit 0 with bit 16 seems to be: When disabled: A0000 maps to plane 0, byte 0 A0001 maps to plane 1, byte 0 A0002 maps to plane 0, byte 2 A0003 maps to plane 0, byte 2 The A16 line has no effect, so it's a duplicate of the above(at B0000-BFFFF). etc. But when the A0 …

Page 151 of 229