Search found 201 matches

by JosepMa
Sat 28 Apr, 2018 5:51 pm
Forum: Development
Topic: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 84
Views: 119673

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: 18618

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: 18
Views: 23747

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: 3295

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: 18
Views: 23747

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)...
by JosepMa
Tue 24 Apr, 2018 8:38 pm
Forum: General
Topic: MacOS X
Replies: 18
Views: 23747

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: 5342

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: 15
Views: 12890

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: 15
Views: 12890

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: 4784

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: 3253

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: 5884

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: 5527

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: 5884

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: 2965

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: 18067

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 &q...
by JosepMa
Sat 03 Mar, 2018 11:27 am
Forum: Development
Topic: Large (> 8GB) hard drive support
Replies: 15
Views: 18067

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: 6717

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: 12606

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: 6150

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: 7
Views: 8431

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: 7
Views: 8431

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: 7
Views: 8431

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...
by JosepMa
Fri 16 Feb, 2018 8:49 pm
Forum: General
Topic: HD not found by attempted XENIX installation.
Replies: 2
Views: 3271

Re: HD not found by attempted XENIX installation.

The lines on your second post can be ignored. Basically it says that it tried to connect to jack server ( a sound API on linux/ unix systems), and those menu item lines are just something about the UI that wasn't properly corrected before release (and still isn't, but it's not problematic). As for y...
by JosepMa
Fri 16 Feb, 2018 8:45 pm
Forum: General
Topic: PCem Roms
Replies: 2
Views: 4128

Re: PCem Roms

First: Don't ask about roms. Almost all roms are copyrighted and as mentioned in several places, these boards don't distribute or help distribute them. Said that, whatever roms you had, they might still work for the current version. As for you second question, I assume you ask about basic DOS usage....
by JosepMa
Fri 16 Feb, 2018 8:37 pm
Forum: Development
Topic: [Request] Sound Blaster Live! Support
Replies: 7
Views: 8431

Re: [Request] Sound Blaster Live! Support

The soundblaster AWE32 and AWE64 use the EMU8000 chip for wavetable synthesis. The soundblaster Live uses the EMU10K1 chip. (Edit: And I see there is an additional programable DSP chip which is responsible of the effects. This one could be more difficult to emulate properly) I did a quick google sea...
by JosepMa
Wed 14 Feb, 2018 9:49 pm
Forum: General
Topic: 430/VX with AWE32 crashes emulator on start
Replies: 11
Views: 11783

Re: 430/VX with AWE32 crashes emulator on start

@Sarah: First, apologies about the "Edit 2". I overlooked the "if" that controls that pos gets incremented only when the last channel has been processed. About "edit 3", I believe I just got fooled by the lack of precision. As it can be seen in the images i attach, the ...
by JosepMa
Wed 14 Feb, 2018 8:35 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 12382

Re: How music is emulated in PCem (MIDI)

@vorob: The answer to that is the sentence that reads "The reason why this could matter...".

I didn't enter into detail, and it is possible that the emulated chip is more susceptible for incorrect initialization/control, but overall, the issue could happen in theory on real hardware.
by JosepMa
Tue 13 Feb, 2018 11:34 pm
Forum: General
Topic: 430/VX with AWE32 crashes emulator on start
Replies: 11
Views: 11783

Re: 430/VX with AWE32 crashes emulator on start

As a temporary patch for the crash, you can use this patch.

Currently the startup process is full of blips until the soundcard is correctly initialized by the drivers or an application, so more works needs to be done for a full fix.
by JosepMa
Tue 13 Feb, 2018 9:53 pm
Forum: Development
Topic: [Sep 2020 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 84
Views: 119673

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

Btw, Windows 10 + Windows Defender. I got speeds similar to when compiling with the premade Makefile by excluding the msys folder and the sources folder for Windows Defender scan (I have the sources outside of msys). The setting is found by opening Windows Defender, going to the second sidebar optio...