Search found 793 matches

by Battler
Sun 30 Jul, 2017 9:59 am
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 1615

Re: [Patch] Fixed misleading indentation above GCC 6.x.x

Then it's the Windows port that leaves a lot to be desired.
by Battler
Sat 29 Jul, 2017 10:58 pm
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 1615

Re: [Patch] Fixed misleading indentation above GCC 6.x.x

This is a GCC/GNU Make problem - it does not keep a list of which files use which headers. OpenWatcom, for example, does, so whenever I change a header, it automatically recompiles every single file that includes it. I think so does Visual Studio. There is a way around it, though, by listing which ....
by Battler
Sat 29 Jul, 2017 9:24 am
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 1615

Re: [Patch] Fixed misleading indentation above GCC 6.x.x

I'm going to make a patch defines two variables that I can MAKE with, one of which will control the NT DDK header mess (so you can compile PCem in a MSys2 environment), and the other will control the OpenAL libraries (-lopenal32 vs. -lopenal -lopenal.dll). That way I can finally compile PCem without...
by Battler
Fri 28 Jul, 2017 3:10 pm
Forum: General
Topic: v12 released!
Replies: 34
Views: 10882

Re: v12 released!

PCem partially already has SCSI emulation in the form of the ATAPI CD-ROM commands which are basically SCSI commands using the IDE bus.
by Battler
Thu 27 Jul, 2017 11:08 pm
Forum: Development
Topic: [Bug] Windows XP Setup segmentation faults the emulator...
Replies: 3
Views: 1008

Re: [Bug] Windows XP Setup segmentation faults the emulator...

It turns out this is caused by a mistake of Sarah's. In both codegen_x86.c and codegen_x86-64.c, this: if ((op_table == x86_opcodes_REPNE || op_table == x86_opcodes_REPE) && !op_table[opcode | op_32]) Should be changed to this: if ((op_table == x86_dynarec_opcodes_REPNE || op_table == x86_dynarec_op...
by Battler
Thu 27 Jul, 2017 5:24 pm
Forum: Development
Topic: [Bug] Windows XP Setup segmentation faults the emulator...
Replies: 3
Views: 1008

[Bug] Windows XP Setup segmentation faults the emulator...

Basically, it boots fine from the CD, loads all the drivers, then goes to black screen + blinking cursor to load the next stage, and then segmentation fault. I tried to gdb it, and it segmentation faults at address 0x00000000, and I couldn't even backtrace - gdb said the stack was corrupted. This ha...
by Battler
Thu 27 Jul, 2017 1:46 pm
Forum: Development
Topic: PCem build guide
Replies: 42
Views: 11943

Re: PCem build guide

You use / as directory separator in the MinGW shell, not \.
by Battler
Thu 27 Jul, 2017 1:46 pm
Forum: General
Topic: Audio cracking\stuttering on win 98
Replies: 12
Views: 2938

Re: Audio cracking\stuttering on win 98

- TheMechanist: That's why sound stutters, the sound stuttering when the emulator's performance % goes below 100%, is by design.
by Battler
Wed 26 Jul, 2017 6:52 am
Forum: Development
Topic: [Bug] (AMI WinBIOS 486) 486 processors having issues
Replies: 20
Views: 3211

Re: [Bug] (AMI WinBIOS 486) 486 processors having issues

I don't think it's commit dc2604f that causes this because it changes something that also affects Pentiums.
by Battler
Mon 24 Jul, 2017 7:56 pm
Forum: Development
Topic: [Bug] The REP reorganization broke NT 3.1 on 386DX
Replies: 9
Views: 1473

Re: [Bug] The REP reorganization broke NT 3.1 on 386DX

Gentoo was named in this thread: https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=423 where I posted my original REP fix patch that you accepted. Edit: OK, after doing some tests in VirtualBox, it seems that when REP is used with a non-string instruction, the REP prefix is ignored and the inst...
by Battler
Mon 24 Jul, 2017 6:44 pm
Forum: Development
Topic: [Bug] AX MS-DOS 5.00 (Japanese) GPF's...
Replies: 2
Views: 714

Re: [Bug] AX MS-DOS 5.00 (Japanese) GPF's...

I just tried this on VirtualBox, and it does not GPF, in fact, it proceeds fine to Setup.
by Battler
Mon 24 Jul, 2017 6:42 pm
Forum: Development
Topic: [Bug] The REP reorganization broke NT 3.1 on 386DX
Replies: 9
Views: 1473

Re: [Bug] The REP reorganization broke NT 3.1 on 386DX

- SarahWalker: Then add a specific handler for RET. Some Linuxes expect REP on invalid instruction to be ignored, and I think reenigne said that happens as well.
by Battler
Mon 24 Jul, 2017 5:20 pm
Forum: Development
Topic: [Bug] The REP reorganization broke NT 3.1 on 386DX
Replies: 9
Views: 1473

Re: [Bug] The REP reorganization broke NT 3.1 on 386DX

Actually, Greatpsycho did it correctly - it should be a simple ignore of the instruction, not a NULL which according to your code will just execute whatever the instruction there is, which is incorrect behavior.
by Battler
Mon 24 Jul, 2017 2:32 pm
Forum: General
Topic: Mouse wheel in PCem
Replies: 7
Views: 2511

Re: Mouse wheel in PCem

It's already there in PCem v12 stable.
by Battler
Mon 24 Jul, 2017 11:55 am
Forum: Development
Topic: [Bug] AX MS-DOS 5.00 (Japanese) GPF's...
Replies: 2
Views: 714

[Bug] AX MS-DOS 5.00 (Japanese) GPF's...

It says this: Interrupt 13: General protection error. It happens on both the recompiler and the interpreter. It works fine on DOSBox.

Edit: After looking at the log, I see this:

Code: Select all

Task switch V86!
.

I suspect the GPF on taskswitch286() with the VM flag set is not correct.
by Battler
Mon 24 Jul, 2017 9:12 am
Forum: Development
Topic: [Bug] The REP reorganization broke NT 3.1 on 386DX
Replies: 9
Views: 1473

Re: [Bug] The REP reorganization broke NT 3.1 on 386DX

Thank you very much, this fixes one half of the problem. The other half remains, which is REP not issuing the debug exception on every repeat when the trap flag is set, but only on command completion.
by Battler
Mon 24 Jul, 2017 7:13 am
Forum: Development
Topic: [Bug] The REP reorganization broke NT 3.1 on 386DX
Replies: 9
Views: 1473

[Bug] The REP reorganization broke NT 3.1 on 386DX

NT 3.1 now just shows a blue screen saying you might be using an early version of the 386DX. It's probably this: set TF bit (0x0100) in eflags causes Debug exception (interrupt 0x01) only at completion of rep movsb (taken from here: https://www.geoffchappell.com/studies/windows/km/cpu/identification...
by Battler
Thu 20 Jul, 2017 8:31 am
Forum: Development
Topic: [Bug] Gentoo 2017_04_11 (486-compatible) does not work...
Replies: 0
Views: 847

[Bug] Gentoo 2017_04_11 (486-compatible) does not work...

It gives a kernel panic. The configuration is: Award 430VX PCI, 256 MB RAM, Pentium MMX 166, S3 ViRGE/DX, no sound card or Voodoo. It did work back in April.
by Battler
Thu 20 Jul, 2017 8:24 am
Forum: Development
Topic: PCem build guide
Replies: 42
Views: 11943

Re: PCem build guide

You need to create a configs directory in your PCem directory.
by Battler
Wed 19 Jul, 2017 2:29 pm
Forum: General
Topic: Best option for Windows 3.11 and high res/colours
Replies: 13
Views: 2751

Re: Best option for Windows 3.11 and high res/colours

You just need to click the zip link instead of the Download button. Anyway, reuploaded the English zip: http://citadel.ringoflightning.net/ENGLISH.ZIP . And before you say it doesn't support 1024x768 at true color, let me quote from the included OEMSETUP.INF: DL1032 = 1:s3trio.drv, "S3 Trio64 1.70.0...
by Battler
Wed 19 Jul, 2017 2:07 pm
Forum: General
Topic: Best option for Windows 3.11 and high res/colours
Replies: 13
Views: 2751

Re: Best option for Windows 3.11 and high res/colours

- teppic: No it's not, the one you had was for Trio64V, this is for Trio64. And I've had both Windows 3.1 and Windows for Workgroups 3.11 installed before, running in 1024x768 at true color.
by Battler
Tue 18 Jul, 2017 10:05 pm
Forum: General
Topic: Best option for Windows 3.11 and high res/colours
Replies: 13
Views: 2751

Re: Best option for Windows 3.11 and high res/colours

- teppic: You downloaded Trio64V drivers, you need the Trio64 drivers, not Trio64V.
by Battler
Tue 18 Jul, 2017 6:28 pm
Forum: General
Topic: Best option for Windows 3.11 and high res/colours
Replies: 13
Views: 2751

Re: Best option for Windows 3.11 and high res/colours

Phoenix S3 Trio64 with 4 MB VRAM can do 1024x768 at true color just fine.
by Battler
Mon 17 Jul, 2017 5:25 pm
Forum: General
Topic: Windows 3.0 real mode problem - with et4000ax
Replies: 6
Views: 1229

Re: Windows 3.0 real mode problem - with et4000ax

- omarsis81: It's a bug with a specific set of ET4000AX drivers. The correct solution is to see if it's actually an emulator bug, and if yes, fix it.
by Battler
Mon 17 Jul, 2017 4:28 pm
Forum: General
Topic: Windows 3.0 real mode problem - with et4000ax
Replies: 6
Views: 1229

Re: Windows 3.0 real mode problem - with et4000ax

He said he's running Windows 3.0 in real mode, therefore, with /r. :p
by Battler
Mon 17 Jul, 2017 3:09 pm
Forum: Development
Topic: [Bug] MR 386DX clone is broken...
Replies: 6
Views: 1345

Re: [Bug] MR 386DX clone is broken...

It might have to do with all the CPU changes (task switching fixes) that were applied after that.
by Battler
Mon 17 Jul, 2017 3:08 pm
Forum: Development
Topic: [Patch] Suggestion : add GUS MAX and Crystal soundcards
Replies: 13
Views: 2439

Re: Suggestion : add GUS MAX and Crystal soundcards

Indeed, this wouldn't hurt to have. :p
by Battler
Mon 17 Jul, 2017 2:33 pm
Forum: Development
Topic: [Bug] MR 386DX clone is broken...
Replies: 6
Views: 1345

[Bug] MR 386DX clone is broken...

When you start it, you just get a black screen and strange beeps. This happens regardless of RAM size or selected graphics card.
by Battler
Mon 17 Jul, 2017 2:28 pm
Forum: Merged patches
Topic: [Patch] Undocumented instructions and processor accuracy
Replies: 25
Views: 6670

Re: [Patch] Undocumented instructions and processor accuracy

Yes, I misapplied one of your patches. I fixed the problem now.