VOGONS

Common searches


Search results

Display options

Re: IBM PC AT emulation crashing?

in PC Emulation
Unfortunately my documentation on the NEC µPD765 doesn't explain that behaviour:( http://www.isdaman.com/alsos/hardware/fdc/floppy.htm That's where you got the seek failed thing from, huh. You need to look at the datasheet for controller registers instead, http://www.classiccmp.org/dunfield/r/765. …

Re: IBM PC AT emulation crashing?

in PC Emulation
I've changed the setting of ST2 to 0x00 instead during seek to an invalid track. My latest source code: https://bitbucket.org/superfury/unipcemu/src/99f267f5cb8f160404d30e5a52746b733fa1871b/UniPCemu/hardware/floppy.c?at=master - Recalibrate always returns success, no matter what the floppy disk …

Re: IBM PC AT emulation crashing?

in PC Emulation
Oh, that's your code, I thought that was from bochs. If you look at bochs it only returns track 0 not found if the drive is missing or the motor is off (which was a mistake in my comment above as drives won't seek if not spinning). Made a error which reversed what I meant. So if there's no floppy …

Re: IBM PC AT emulation crashing?

in PC Emulation
Oh, that's your code, I thought that was from bochs. If you look at bochs it doesn't return track 0 not found if the drive is missing or the motor is off (which was a mistake in my comment above as drives won't seek if not spinning).

Re: IBM PC AT emulation crashing?

in PC Emulation
According to https://www.google.ch/patents/US5822778 the 80286 uses the FS and GS segments (just like the 80386), even though most documentations (like http://ref.x86asm.net/coder32.html#x65 ) mark the instructions prefixes as 80386+? I've modified the CPU core to use and allow the FS and GS …

Re: x86 Exceptions vs normal interrupts error code?

in PC Emulation
I see no reason to think that double faults don't exist in real mode, after all you'd have to jump though hoops to even get one. As I said though, there's no docs one way or another and I'm fairly sure no one has actually tested it so you if you really want to know, you'll have to try it.

Re: x86 Exceptions vs normal interrupts error code?

in PC Emulation
#GP and #SP faults in real mode were not a concern of the 80286 designers. If a #GP fault arrives and the IRQ 5 handler that can't deal with the error code is invoked there's nothing that can be done about it. I'm sure Intel did lots of PC/XT software compatibility testing before releasing the 286. …

Re: x86 Exceptions vs normal interrupts error code?

in PC Emulation
That's why they shouldn't do that. By keeping the interrupt gate DPL less than CPL for the interrupts that could also be faults the OS can make sure INT 00h-0Eh will cause a #GP fault rather than a software interrupt. Then just set the PIC to relocate the IRQs and do fix the DPL for them too. And …

Re: DOSEMU in Windows?

in PC Emulation
DOSEMU (and Wine for win16 support) require the ability to create LDT descriptors. Linux permits it in x86-64 mode but Windows doesn't. DOSEMU2 can use KVM so this might be possible to port with hyper-v paravirtualization. Edit: Looking back DOSEMU uses VM86 mode if available but can emulate the …

Re: IBM PC AT BIOS hangs on UniPCemu's 286 emulation?

in PC Emulation
Edit: Tried changing that resulting value with no disk inserted giving a ST0 register value of 0x70 (Indicates: error, track 0 not found, Seek Ended). But the BIOS still gives errors about the floppy disk controller? Seeks shouldn't fail this way. The only time track 0 not found should be returned …

Re: IBM PC hardware clock division (XT 14MHz clock)?

in PC Emulation
The Sound Blaster 1.0 uses a 12Mhz clock input to an 8051 timer (as mentioned above it's 12Mhz, I was thinking of an sb clone that has a 30mhz clock). The Sound Blaster 16 uses a 46.615120Mhz clock divided by (1024*256) and multiplied by a 8-bit value from a lookup table based on the desired …

Page 8 of 11