Search found 118 matches

by JosepMa
Sun 05 Aug, 2018 9:51 am
Forum: General
Topic: "Disk I/O Error" when switching machines
Replies: 3
Views: 260

Re: "Disk I/O Error" when switching machines

What might happen is that either the bock size configuration when adding the disk to PCem, or the BIOS detected parameters do not match with those used when the disk was created.
Please, check the values in the PCem disk setup from the working machine and replicate those to the other machines.
by JosepMa
Fri 27 Jul, 2018 5:54 pm
Forum: General
Topic: how to enable Log in PCem ?
Replies: 3
Views: 533

Re: how to enable Log in PCem ?

Mmm.... indeed, seems the log is completely disabled from release builds :

Code: Select all

void pclog(const char *format, ...)
{
#ifndef RELEASE_BUILD
        char buf[1024];
    [...]
#endif
}
by JosepMa
Wed 27 Jun, 2018 8:28 pm
Forum: General
Topic: VHD support
Replies: 46
Views: 6679

Re: VHD support

Correct. VirtualBox supports different disk formats that support dynamic size allocation, including VHD and VDI
by JosepMa
Wed 27 Jun, 2018 7:00 pm
Forum: General
Topic: VHD support
Replies: 46
Views: 6679

Re: VHD support

@xXLuckyXx : The answer is actually in that screenshot. 20GB disk (as seen by Windows 98 in PCem), sizing around 250MB on physical disk. Shermanp did already implement fixed-size VHD support (which is almost a raw image with some headers), but he is currently implementing, with success, dynamic-size...
by JosepMa
Fri 22 Jun, 2018 9:05 pm
Forum: Development
Topic: 3DFX compatibility list
Replies: 91
Views: 28411

Re: 3DFX compatibility list

Hey, I didn't see it mentioned (other than a old failure of the DOS version), but I've successfully been playing FIFA 98 under PCem, Windows 98, and 3dFX with SLI. This is the one that had the "Blur - Song 2" theme on startup. I use a Pentum MMX 166 configuration with the AWARD 430VX ROM under a Cor...
by JosepMa
Thu 17 May, 2018 6:45 pm
Forum: General
Topic: Strange shader manager problem
Replies: 9
Views: 1036

Re: Strange shader manager problem

I wonder if all is caused by the use of wx 3.1 in Sarah's build (at least it was 3.1 on previous releases. now it's hard to tell since it's statically linked). The stable version is still 3.0, although the development has gone on for some time. It might even be some small incompatibility between tho...
by JosepMa
Sun 29 Apr, 2018 8:28 pm
Forum: General
Topic: MacOS X
Replies: 17
Views: 1343

Re: MacOS X

Ok. It seems that the wxwidgets part is not properly prepared for MacOS for autoreconf to work, so ok, keep the original copy of configure.
by JosepMa
Sat 28 Apr, 2018 5:51 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 30
Views: 4772

Re: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)

How to include all dll's in exe? Just locate them in msys2 and copy them into your final dist folder. They are: libexpat-1.dll libgcc_s_dw2-1.dll libjpeg-8.dll liblzma-5.dll libopenal-1.dll libpng16-16.dll libstdc++-6.dll libtiff-5.dll libwinpthread-1.dll SDL2.dll wxbase30u_gcc_custom.dll wxbase30u...
by JosepMa
Fri 27 Apr, 2018 10:06 pm
Forum: General
Topic: AudioPCI impressions
Replies: 19
Views: 2424

Re: AudioPCI impressions

Not something that really answers your question but.. why do you want to use AudioPCI under plain DOS? Very few, programs might support it explicitly, and for the rest, you would need to use soundblaster emulation, so what's the point? Also, for the programs that support it, I am guessing that they ...
by JosepMa
Fri 27 Apr, 2018 10:02 pm
Forum: General
Topic: MacOS X
Replies: 17
Views: 1343

Re: MacOS X

@jznomoney: You did the opposite of what I told you to do: You had this: #define cycles cpu_state._cycles; And I told you to do this: #define cycles_ibm cpu_sate._cycles; The problem is that you can't really do that without breaking the compilation, so you might have to do another workaround: The co...
by JosepMa
Thu 26 Apr, 2018 6:17 pm
Forum: General
Topic: Networking roms not being detected (Linux)
Replies: 2
Views: 282

Re: Networking roms not being detected (Linux)

You need to run ./configure with --enable-networking swith for the build to have networking support. Using slirp is included in the sources. I think that additional sources are needed for pcap support (i haven't tested that much). Also, I don't know what you mean with drivers. You need to install th...
by JosepMa
Wed 25 Apr, 2018 7:24 pm
Forum: General
Topic: MacOS X
Replies: 17
Views: 1343

Re: MacOS X

Do NOT modify system headers!!!! That is only going to cause you troubles. As i said, the file that needs to be modified is ibm.h and replace the usage of the word "cycles" in there by something else (except, obviously, in cpu_state._cycles ) Also, even though the scripts (like install.sh) should wo...
by JosepMa
Tue 24 Apr, 2018 8:38 pm
Forum: General
Topic: MacOS X
Replies: 17
Views: 1343

Re: MacOS X

huh... That looks like a conflict with a define used in ibm.h file. In other words, the define in ibm.h would need to have a different name.
by JosepMa
Thu 19 Apr, 2018 7:43 pm
Forum: General
Topic: [BUG] broken OPL3 with SB16/AWE32 using mixerset
Replies: 3
Views: 351

Re: [BUG] broken OPL3 with SB16/AWE32 using mixerset

While it doesn't have a direct relation with your problem, I would suggest not to use 4x output amplification, and in case you need that much amplification, use PCem's new output level that you can find in the Sound menu. The soundblaster hardware amplification can cause clipping on the sound before...
by JosepMa
Sun 15 Apr, 2018 2:43 pm
Forum: General
Topic: [Bug] Window size changes when leaving fullscreen
Replies: 5
Views: 568

Re: [Bug] Window size changes when leaving fullscreen

Heh, I found a different way to trigger the bug: Video -> Resolution -> Resizable (only this one triggers the bug) Video -> Output stretch-mode -> Any other than None No need to check remember size Now Switch between the different Renderer drivers. Note also, that doing this, also moves the window p...
by JosepMa
Sun 15 Apr, 2018 1:54 pm
Forum: General
Topic: [Bug] Window size changes when leaving fullscreen
Replies: 5
Views: 568

Re: [Bug] Window size changes when leaving fullscreen

Hello. Just tested on released 13.1 and on my own recent compile. It still seems to be the case. Given the amount of size that increases here, it would be that it counts the menubar on that size (since the menubar is not present in the linux version, it could have been an overlooked thing). I will t...
by JosepMa
Wed 21 Mar, 2018 7:32 pm
Forum: General
Topic: OpenGL 3.0
Replies: 4
Views: 733

Re: OpenGL 3.0

Direct3D used to have a bug on v12 where it would crash the emulator after minimizing or doing other things that stopped the screen refresh. That is already fixed in v13. Other than that, it is really a question of which one works better with your graphics driver. And as leiley said, if you care abo...
by JosepMa
Sun 11 Mar, 2018 6:07 pm
Forum: General
Topic: [REQUEST] record PCem audio output to a WAV file
Replies: 2
Views: 390

Re: [REQUEST] record PCem audio output to a WAV file

Adding the ability to record the output at the final stage might be easy, but it will be at 16bit 48Khz. (soundopenal.c) Recording the sound at the emulated card level will be more complicated, more so because internally some parts already sample at 44 or 48Khz, or already do some mixing at the emul...
by JosepMa
Sun 11 Mar, 2018 5:29 pm
Forum: General
Topic: Remember size & position option
Replies: 4
Views: 531

Re: Remember size & position option

Now I've tested it with the released version of PCem (instead of my own compile) and indeed, it does what you describe.
My build is with msys2/gcc 7.3.0 and wxwidgets 3.0 while the compiled one is with mingw/gcc 4.9.2 and wxwidgets 3.1.
by JosepMa
Fri 09 Mar, 2018 7:58 pm
Forum: General
Topic: No Sound
Replies: 2
Views: 370

Re: No Sound

Are you emulating MS-DOS or Windows? If it is Windows, do you see a yellow speaker in the taskbar? Clicking on it should open the Mixer and you could verify the volume. It might be simply playing too soft. If it is on DOS, some programs need the blaster variable set up properly to correctly detect t...
by JosepMa
Wed 07 Mar, 2018 10:48 pm
Forum: General
Topic: Remember size & position option
Replies: 4
Views: 531

Re: Remember size & position option

That might depend on the operating system. I have had to fix this behaviour in other programs, when the window was opening not just a few pixels, but more than 20 pixels above the expected position, and the toolbar could move outside of the screen. Also, on operating systems that use the X window (l...
by JosepMa
Wed 07 Mar, 2018 10:41 pm
Forum: General
Topic: Time synchronizing
Replies: 1
Views: 272

Re: Time synchronizing

It is perfectly expected. A lower than 100% emulation speed means that the emulated machine is going slower than realtime, so it takes more time to do the same (like increasing one second).

In other words, your machine is not capable of emulating a Pentium 200 with PCem.
by JosepMa
Sat 03 Mar, 2018 2:32 pm
Forum: Development
Topic: Large (> 8GB) hard drive support
Replies: 15
Views: 1949

Re: Large (> 8GB) hard drive support

Sarah: Yes, I've seen it. What I see is that it has a fixed limit on the heads and sectors of 16 and 63 respectively, which corresponds to the limit that I mention above of Old bios + EIDE standard. I have just tested it, created a 2GB image to use on a 486 (Amibios), with 4095 cylinders, and the "f...
by JosepMa
Sat 03 Mar, 2018 11:27 am
Forum: Development
Topic: Large (> 8GB) hard drive support
Replies: 15
Views: 1949

Re: Large (> 8GB) hard drive support

Hello. For some time, I wasn't sure about what values should I be using to create disks to use with PCem. I roughly remembered some hard disk drives I had, and tried to follow what the hdd autodetection of the BIOS suggested, but I believe that some additional information to the user would be useful...
by JosepMa
Sun 25 Feb, 2018 9:03 pm
Forum: Development
Topic: Possible to get ALT+TAB trapped properly?
Replies: 5
Views: 750

Re: Possible to get ALT+TAB trapped properly?

I am looking at the code, and currently, the place where the keyboard handling is done is in two files, different depending on the platform: windows: wx-sdl2-display-win.c linux/osx: wx-sdl2-display.c I see that the file is quite similar, but with several differences. They were forked at revision 82...
by JosepMa
Fri 23 Feb, 2018 7:30 pm
Forum: Development
Topic: I know it's technically too late to add new machines
Replies: 8
Views: 3599

Re: I know it's technically too late to add new machines

I just recently read about SeaBIOS and thought that it would be a good way to have a working emulator for first-time users. I can understand that such a BIOS does not represent a real hardware, which is what PCem tries to emulate, but still it could be a good thing for it. There could even be a smal...
by JosepMa
Sun 18 Feb, 2018 9:10 pm
Forum: General
Topic: PCem community first timer.
Replies: 3
Views: 605

Re: PCem community first timer.

Yup, gen_angry gave the basic differences between the software you mentioned: Virtual machines: Intended to run today's or yesterday's software (although DOS-era applications aren't too well supported) on current machines, simulating some parts, and just wrapping others to the physical ones. They do...
by JosepMa
Sun 18 Feb, 2018 1:03 pm
Forum: Development
Topic: [Request] Sound Blaster Live! Support
Replies: 8
Views: 1058

Re: [Request] Sound Blaster Live! Support

@leilei: I don't think openAL could help here, since the chip is programable (and i believe default programs might be included with the drivers). Also, i'm not really sure if the front/back differences would make much sense in emulating, given that we don't add any specific audio quality control to ...
by JosepMa
Sat 17 Feb, 2018 2:07 pm
Forum: Development
Topic: [Request] Sound Blaster Live! Support
Replies: 8
Views: 1058

Re: [Request] Sound Blaster Live! Support

After looking a bit more for public information about the inner-workings of the card, I couldn't find a document from creative detailing the operation of the emu10k1 (there's only a document detailing what the chip can do, and some kind of schematic, but no info at all about how to operate it). So t...
by JosepMa
Fri 16 Feb, 2018 9:40 pm
Forum: Development
Topic: [Request] Sound Blaster Live! Support
Replies: 8
Views: 1058

Re: [Request] Sound Blaster Live! Support

No. I am saying that the first thing for a good emulation is having documentation. And thanks to the existence of the Kx project, it could be better documented. That does not imply that emulating it is easy. Also, as I've edited above, the EMU8000 had the efects integrated, while on the Live, the ef...