Search found 126 matches

by JosepMa
Sat 03 Mar, 2018 2:32 pm
Forum: Development
Topic: Large (> 8GB) hard drive support
Replies: 15
Views: 2760

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

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

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

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

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

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

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

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

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

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: 8
Views: 1365

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

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 dots don't really represent th...
by JosepMa
Wed 14 Feb, 2018 8:35 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1792

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

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: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 40
Views: 7005

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...
by JosepMa
Tue 13 Feb, 2018 9:44 pm
Forum: General
Topic: 430/VX with AWE32 crashes emulator on start
Replies: 11
Views: 1404

Re: 430/VX with AWE32 crashes emulator on start

Will try now with a debug build, but so far, I've got this. Thread 33 received signal SIGSEGV, Segmentation fault. [Switching to Thread 12632.0x2948] 0x005bb0ea in sb_get_buffer_emu8k () (gdb) bt #0 0x005bb0ea in sb_get_buffer_emu8k () #1 0x0057bce4 in sound_poll () #2 0x005c4ebf in timer_process ()...
by JosepMa
Tue 13 Feb, 2018 9:35 pm
Forum: Development
Topic: [Feb 2018 ed.] PCem MSYS2 build guide (with wxWidgets)
Replies: 40
Views: 7005

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

These instructions are in an incorrect order: $ ./configure --enable-networking --enable-release-build $ autoreconf $ mingw32-make -j autoreconf (preferably with the -i parameter), comes before the ./configure line, as basically autoreconf will regenerate the configure script. And this is incorrect ...
by JosepMa
Tue 13 Feb, 2018 10:02 am
Forum: General
Topic: Sound Blaster Pro 2 suddenly silent
Replies: 7
Views: 963

Re: Sound Blaster Pro 2 suddenly silent

it is strange, indeed, but also because it's not what happens here: config.sys: c:\sbpro\drv\ctsbpro.sys /unit=0 /blaster=a:220 i:5 d:1 c:\sbpro\drv\ctmmsys.sys autoexec.bat: (this line is supposed to restore the mixer settings previously saved with the sbpset DOS mixer application) c:\sbpro\sbpset ...
by JosepMa
Mon 12 Feb, 2018 5:02 pm
Forum: General
Topic: Sound Blaster Pro 2 suddenly silent
Replies: 7
Views: 963

Re: Sound Blaster Pro 2 suddenly silent

I tested with V13.1 release, and with the current development version and I get sound. I even created a new machine (and hard disk) without the drivers installed, and there, test-sbp works fine. (My previous one has another version of the soundblaster pro drivers that didn't have test-sbp, but which...
by JosepMa
Sun 11 Feb, 2018 7:05 pm
Forum: General
Topic: Sound Blaster Pro 2 suddenly silent
Replies: 7
Views: 963

Re: Sound Blaster Pro 2 suddenly silent

It's strange...
I have to investigate a bug where configuring some applications to use a soundblaster pro, and having a soundblaster 16 or AWE32 on the machine setup doesn't produce sound, but your case worked here on the applications that I tried.

Can you tell the names of those that fail?
by JosepMa
Thu 08 Feb, 2018 9:00 pm
Forum: Merged patches
Topic: [Patch] MinGW Configure
Replies: 30
Views: 3367

Re: [Patch] MinGW Configure

I tested the patch here and worked as expected. The only downside is that it is quite slower than building with the Makefile file. The reason is because the generated Makefile continuously forks "sh" and other commands (standard behaviour), which under msys2 (Windows) is quite slow. I even tried bui...
by JosepMa
Tue 06 Feb, 2018 8:08 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1792

Re: How music is emulated in PCem (MIDI)

Ok, after serveral executions, it seems that it is more a problem of incorrect initialization, and sometimes it just plays incorrectly.
There was a similar issues with Doom too, that was solved during development.

I will try to check what happens in the following days
by JosepMa
Tue 06 Feb, 2018 7:14 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1792

Re: How music is emulated in PCem (MIDI)

After trying it, I believe the problem is that you run Duke Nukem from Windows. I could reproduce your bad sound running it from inside Windows. Boot up to DOS and it will work fine. The reason why this could matter is that the EMU8000 (the music chip in the AWE32) needs to be controlled directly by...
by JosepMa
Mon 05 Feb, 2018 7:28 pm
Forum: General
Topic: 430VX and Win98/ME now crashes PCem
Replies: 25
Views: 3029

Re: 430VX and Win98/ME now crashes PCem

leilei wrote:
Sun 04 Feb, 2018 8:03 pm

Code: Select all

onesec
New CD command 12 446892401
New CD command 5A 446965045
New CD command 5A 446985185
On a side note, I don't know if you have some reference for the ATAPI commands.
I could find this wiki on internet:
https://wiki.osdev.org/ATAPI

Code: Select all

INQUIRY 	0x12 
MODE SENSE (10) 	0x5A 
by JosepMa
Mon 05 Feb, 2018 7:21 pm
Forum: General
Topic: How music is emulated in PCem (MIDI)
Replies: 11
Views: 1792

Re: How music is emulated in PCem (MIDI)

First, as Sarah told you, ensure that you have configured Duke nukem 3D to use the AWE32, instead of the FM/OPL audio or any other setting. Then, be aware that the AWE32 emulation is not perfect. I have been improving it for the release v13 specially in regards to its envelopes and LFOs, as well as ...
by JosepMa
Thu 18 Jan, 2018 7:34 pm
Forum: General
Topic: [Linux] [PCem v13.1] Compile errors
Replies: 9
Views: 1401

Re: [Linux] [PCem v13.1] Compile errors

@TheMechanist: try running autoreconf -i first if ./configure isn't enough
by JosepMa
Wed 13 Dec, 2017 10:29 pm
Forum: General
Topic: v13 released!
Replies: 25
Views: 3811

Re: v13 released!

As for the OpenAL32.dll, It also performs badly here. A direct replacement is removing it and placing msys2 libopenal-1.dll in PCem's dir (not even needed to rename it).
by JosepMa
Tue 12 Dec, 2017 7:46 pm
Forum: General
Topic: PCem 13 first impressions
Replies: 15
Views: 1889

Re: PCem 13 first impressions

omarsis81: I suggest you to try the openGL (either the normal, or the GL3) video modes instead of the older ones.
Then, use the scale filtering, output-stretch mode and maybe even the output scale options from the Video menu.
by JosepMa
Sat 18 Nov, 2017 10:29 am
Forum: Development
Topic: Floppy does not work
Replies: 6
Views: 891

Re: Floppy does not work

I don't know if it is really a bug, but in order to make it work now, you need to go to "integrated peripherals" section of the BIOS, and there, Enable "Onboard FDD controller".
by JosepMa
Sat 11 Nov, 2017 10:42 pm
Forum: General
Topic: NT4 could not logon after SP6a installed
Replies: 20
Views: 4578

Re: NT4 could not logon after SP6a installed

I can only confirm that there seems to be some type of problem. In my case I have an original Windows NT 4 Workstation (bought in 1997 which came with Windows 95 too. I never used any of them, because they sent me an Italian version instead of Spanish). I tried installing it in PCem and works, but a...