Search found 743 matches

by Battler
Tue 11 Aug, 2015 8:15 pm
Forum: General
Topic: Windows 3.1 DOS Box VGA grabbing
Replies: 41
Views: 31878

Re: Windows 3.1 DOS Box VGA grabbing

Actually, switching to windowed mode does redraw the DOS window correctly, it just clears it immediately afterwards for some reason... Do you have the MS-DOS Prompt in Windows 3.1 configured to window by default or full screen by default? If it's the former, then it might simply redraw the old cont...
by Battler
Tue 11 Aug, 2015 7:47 pm
Forum: General
Topic: Windows 3.1 DOS Box VGA grabbing
Replies: 41
Views: 31878

Re: Windows 3.1 DOS Box VGA grabbing

There is a discrepancy between RAM to VRAM between read and write during this process: - During write, real offset 000B8835 corresponds to VRAM offset 000020D4. - During read, real offset 000B8835 corresponds to VRAM offset 00000835. No wonder then it's reading all zeroes. Writing to real address X ...
by Battler
Tue 11 Aug, 2015 7:26 pm
Forum: General
Topic: Windows 3.1 DOS Box VGA grabbing
Replies: 41
Views: 31878

Re: Windows 3.1 DOS Box VGA grabbing

Actually, switching to windowed mode does redraw the DOS window correctly, it just clears it immediately afterwards for some reason... Do you have the MS-DOS Prompt in Windows 3.1 configured to window by default or full screen by default? If it's the former, then it might simply redraw the old cont...
by Battler
Tue 11 Aug, 2015 4:56 pm
Forum: General
Topic: Windows 3.1 DOS Box VGA grabbing
Replies: 41
Views: 31878

Re: Windows 3.1 DOS Box VGA grabbing

- TomWalker: Ahhh OK. BTW, as I just added to my previous post, it seems like there's something wrong with VRAM mappings in V86 mode. For some reason, writes to virtual segments A000-BFFF inside a Windows 3.1 DOS box never actually reach the VRAM, hence why they are not reflected in the real A000-BF...
by Battler
Tue 11 Aug, 2015 3:55 pm
Forum: General
Topic: Windows 3.1 DOS Box VGA grabbing
Replies: 41
Views: 31878

Re: Windows 3.1 DOS Box VGA grabbing

After further examination, it seems to me that the Windows screen grabber reads the text buffer when going from full screen mode to windowed mode, but for some reason by the time it reads the buffer, the buffer has already been emptied. I suspect it might have to do with how VRAM to RAM memory mappi...
by Battler
Sun 09 Aug, 2015 4:02 pm
Forum: General
Topic: Emulator crash on hard reset with some video adapters
Replies: 1
Views: 2846

Emulator crash on hard reset with some video adapters

With some video adapters, the emulator crashes on hard reset.
The following are affected:
Standalone:
- CGA;
- MDA.
Chipset-specific:
- PC1640;
- PC200;
- Olivetti M24;
- PCjr;
- Tandy 1000.

At least for the CGA ones, the crash occurs during the recalculation of timings. Not sure about the rest.
by Battler
Sat 08 Aug, 2015 10:34 pm
Forum: General
Topic: Closing the device config dialog causes 64-bit PCem to crash
Replies: 2
Views: 3380

Re: Closing the device config dialog causes 64-bit PCem to c

Found a fix.

In win-deviceconfig.c, in deviceconfig_open(), find:

Code: Select all

uint16_t *data = malloc(16384);
After this, add:

Code: Select all

uint16_t *data_ = data;
Then, find:

Code: Select all

free(data);
Change to:

Code: Select all

free(data_);
It will then no longer crash.
by Battler
Sat 08 Aug, 2015 4:09 pm
Forum: General
Topic: Closing the device config dialog causes 64-bit PCem to crash
Replies: 2
Views: 3380

Closing the device config dialog causes 64-bit PCem to crash

For example, click the Configure button next to the video card selection box, and change the VRAM amount. Press OK or Cancel, it doesn't matter. Some time after that dialog closes, 64-bit PCem will crash. 32-bit PCem is not affected.
by Battler
Sat 08 Aug, 2015 3:48 pm
Forum: General
Topic: Norton Commander 5 Install program does not work
Replies: 4
Views: 5128

Re: Norton Commander 5 Install program does not work

Rev 292 fixed the only bug I saw with Norton Commander 5.0 on the x86-64 recompiler, where it was complaining about corrupt source files. Didn't have any trouble with 486SX though. What's QVIEW? Never heard of it before. A hex viewer for DOS. Here is a floppy image: http://citadel.ringoflightning.n...
by Battler
Sat 08 Aug, 2015 11:19 am
Forum: General
Topic: Norton Commander 5 Install program does not work
Replies: 4
Views: 5128

Re: Norton Commander 5 Install program does not work

- ppgrainbow: As I said, it's not present in 5.0 either. I just misinterpreted certain behaviors as emulator bugs.

However, QVIEW does freeze on x64 dynarec but not on x86 dynarec so that is a bug.
by Battler
Sat 08 Aug, 2015 12:52 am
Forum: General
Topic: Norton Commander 5 Install program does not work
Replies: 4
Views: 5128

Norton Commander 5 Install program does not work

Under an emulated Pentium, it starts, asks you to specify install path, then it freezes. Under an emulated 486, it does not even start, just shows a run-time error R6003, - integer divide by 0. Other information: installing from 1.44 MB floppy image to hard disk under MS-DOS 6.00. Edit: Turns out th...
by Battler
Wed 05 Aug, 2015 1:39 am
Forum: General
Topic: No sound on Win64 compile
Replies: 1
Views: 3137

No sound on Win64 compile

So I just compiled the emulator for Win64 using MSYS 2 (which has a GCC 4.9.x), and the resulting Win64 has no sound. Internally, sound appears to be working, but I can hear nothing. No problems on the 32-bit compile. Edit: Uncommented the pclog call in the error function in soundopenal.c and now th...
by Battler
Tue 04 Aug, 2015 5:58 pm
Forum: General
Topic: Dynamic recompiler bugs
Replies: 11
Views: 10666

Re: Dynamic recompiler bugs

- Tom Walker: No, my friend tried setting it to i686 too, it still crashed. It might be a result of too fast hardware (though then I wonder why it would happen on my Pentium Dual-Core E5700).
by Battler
Sun 02 Aug, 2015 5:38 pm
Forum: General
Topic: Dynamic recompiler bugs
Replies: 11
Views: 10666

Re: Dynamic recompiler bugs

Well, a friend of mine did some testing just now and it seems that the crash is because of architecture set to core2 instead of i686. Edit: I just did a test myself... the crash occurs inside voodoo_generate_filter, and for some reason, having it log every single step of both loops make it no longer...
by Battler
Tue 21 Jul, 2015 11:12 am
Forum: General
Topic: Dynamic recompiler bugs
Replies: 11
Views: 10666

Re: Dynamic recompiler bugs

Well there's still a bug in the code if using better optimization switches causes emulator crashes. :p
by Battler
Mon 20 Jul, 2015 5:05 pm
Forum: Development
Topic: Info Package for 64 bit compiler for Windows
Replies: 11
Views: 11650

Re: Info Package for 64 bit compiler for Windows

but unless it is then what's the point in providing 64-bit binaries? To facilitate the abandonment of Win32 in favor of Win64. I remember when Windows 95 was released, 32-bit ports of Win16 appliations started popping up like mushrooms and in a few years, Win16 was a thing of the past. However, I'v...
by Battler
Mon 20 Jul, 2015 11:53 am
Forum: Development
Topic: Info Package for 64 bit compiler for Windows
Replies: 11
Views: 11650

Re: Info Package for 64 bit compiler for Windows

It's mainly for Linux. It might turn out to be faster than 32-bit, in which case I'll release a 64-bit Windows binary, but otherwise it's of no interest for Windows users. I don't get this. Every single developer of anything I seem to read, seems to think Linux should move forward with technology, ...
by Battler
Sun 19 Jul, 2015 8:17 pm
Forum: General
Topic: Dynamic recompiler bugs
Replies: 11
Views: 10666

Re: Dynamic recompiler bugs

Ever since revision 278, the emulator now crashes when hard resetting at any point except for in POST phase, at least with the 430VX. Edit: Turns out it was not that 278 that introduced it but leilei's Voodoo patch as it crashes during Voodoo initialization on reset (I had to make it log every step ...
by Battler
Sun 12 Jul, 2015 3:59 pm
Forum: General
Topic: Dynamic recompiler bugs
Replies: 11
Views: 10666

Re: Dynamic recompiler bugs

Battler wrote:Saving the settings and exiting CMOS setup with the Advanced/EV causes PCem to fatal with: block->next_2->pc=0 08C29688 .
That is fixed now, but now a similar fatal occurs some time after reset: block->next_2->pc=0 073B4CF0 .
by Battler
Tue 30 Jun, 2015 7:26 pm
Forum: General
Topic: Dynamic recompiler bugs
Replies: 11
Views: 10666

Dynamic recompiler bugs

This GRUB boot disk (http://citadel.ringoflightning.net/boot.dsk) causes PCem to fatal with: Deleting deleted block .

Saving the settings and exiting CMOS setup with the Advanced/EV causes PCem to fatal with: block->next_2->pc=0 08C29688 .
by Battler
Thu 04 Jun, 2015 2:01 pm
Forum: Development
Topic: Problem with Bios of mainboard.
Replies: 4
Views: 5873

Re: Problem with Bios of mainboard.

Yep, it is indeed a missing Super I/O chip. The emulated 496/497 BIOS is made for an UMC 8663B Super I/O chip, which should however be reasonably close to the already emulated 8669F. Edit: Also, PCem incorrectly uses the 8669F for Batman's Revenge and Advanced/EV. In fact, the former actually has a ...
by Battler
Tue 26 May, 2015 12:06 pm
Forum: Development
Topic: Problem with Bios of mainboard.
Replies: 4
Views: 5873

Re: Problem with Bios of mainboard.

Might be a missing Super I/O chip. It'd have to be figured out what Super I/O chip the SiS 496/497 uses.
by Battler
Sat 11 Apr, 2015 3:46 pm
Forum: General
Topic: Alternative to atapi drivers for NT 3.1.
Replies: 10
Views: 10599

Re: Alternative to atapi drivers for NT 3.1.

But apparently they're ready enough for you to encourage others to use your fork with them in. Which would lead me to think that they are 'ready'. Remember, I'm not a mind reader either. Because the more people test it, the more bugs are going to be found and reported, and the less bugs the finishe...
by Battler
Sat 11 Apr, 2015 1:41 pm
Forum: General
Topic: Alternative to atapi drivers for NT 3.1.
Replies: 10
Views: 10599

Re: Alternative to atapi drivers for NT 3.1.

That's one of the risks when you fork a project, instead of just contributing back. If you'd contributed back your FDC changes then I would have ensured that my changes wouldn't have broken them, but I'm under no obligations to avoid changes in a certain area just because some fork somewhere (one w...
by Battler
Fri 10 Apr, 2015 10:12 pm
Forum: General
Topic: Alternative to atapi drivers for NT 3.1.
Replies: 10
Views: 10599

Re: Alternative to atapi drivers for NT 3.1.

- TomWalker: Also, I was considering contributing my FDC rewrite back to you when I was done (I'm still far from done), but you went on and added in your own changes which are completely incompatible with my code. Therefore, I now feel I am unable to contribute that back to you. And I've put everyth...
by Battler
Fri 10 Apr, 2015 11:32 am
Forum: Development
Topic: Dynamic recompiler
Replies: 164
Views: 151596

Re: Dynamic recompiler

- rflego: What about just adding the ability to disable cache then? That way, those who want it, can still use it, while those who don't, can just disable it.
by Battler
Tue 17 Mar, 2015 3:18 pm
Forum: General
Topic: Question about the audio
Replies: 5
Views: 7417

Re: Question about the audio

Is there any way to modify the audio emulated code to not run out of data when the CPU drops below 100%?
by Battler
Tue 10 Mar, 2015 9:54 pm
Forum: General
Topic: Initializing (Formatting) disk problem
Replies: 4
Views: 5995

Re: Initializing (Formatting) disk problem

- TomWalker: You could look at the PCem-X code. The FDC format command is supported and implemented (and works). And I'm working on getting XDF floppies to be loaded correctly.
by Battler
Tue 10 Mar, 2015 2:15 pm
Forum: General
Topic: Initializing (Formatting) disk problem
Replies: 4
Views: 5995

Re: Initializing (Formatting) disk problem

- ibmpc5150: Try PCem-X. I fixed formatting there (in fact, I vastly improved on the FDC code).
by Battler
Sun 08 Mar, 2015 2:05 am
Forum: General
Topic: SHIFT keys don't work properly
Replies: 9
Views: 9655

Re: SHIFT keys don't work properly

Doesn't Wine exist for OS X? If yes, get it and try running PCem under it.

Edit: It does: http://wiki.winehq.org/MacOSX .