Search found 92 matches

by JosepMa
Wed 02 Aug, 2017 9:53 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1692

Re: [Bug] IDE HDD stuttering emulation

I also don't think that the Host's I/O plays any role in this problem (Maybe in the Hosts' CDROM case but not on HDD image). The problem is on the emulated side. I don't know if you have experienced it, but audio stuttering on Windows 98 startup sound is the norm here, and that's with an i7 6700 @3....
by JosepMa
Wed 02 Aug, 2017 7:27 pm
Forum: Development
Topic: [Bug] IDE HDD stuttering emulation
Replies: 27
Views: 1692

Re: [Bug] IDE HDD stuttering emulation

The thing that I don't understand is why does disk I/O affect the emulated speed. Concretely, the emulated CPU is halted while I/O operations are in place. Once, installing software from a Host's CDROM drive, 10 minutes passed on the Host side while only 2 minutes passed on the emulated side. If it ...
by JosepMa
Sun 30 Jul, 2017 12:38 pm
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 591

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

No. The Makefile that autoconf generates for the sources is sized 350KB. Compared to 4KB of the manually created one. (ok, generally these files have many unnecessary things but still..) But the important part is that a subdir ".deps" is generated with some files with a .To extension that have the d...
by JosepMa
Sun 30 Jul, 2017 9:15 am
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 591

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 JosepMa
Sat 29 Jul, 2017 6:25 pm
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 591

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

Yeah.. I am not compiling in 64bits with mingw, even though I have it installed. Basically, I had read that the 64bits one was less stable (especially the voodoo part) and had a few random issues when building on linux 64bits, so when I finally got msys2 to compile, i simply stayed with 32bits. Btw....
by JosepMa
Sat 29 Jul, 2017 4:27 pm
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 591

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

@Battler: as for the NT DDK, I changed the _MINGW64 #ifdef to __MINGW32__ and that worked for me. (msys2). ( __MINGW64__ is only defined when building for 64bits ) About the linker libraries, supposedly, we should be using wx-config --libs , sdl-config --libs (or sdl2-config --libs), and I thought t...
by JosepMa
Wed 26 Jul, 2017 7:56 pm
Forum: Development
Topic: [Bug] (AMI WinBIOS 486) 486 processors having issues
Replies: 20
Views: 922

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

Edit/qbasic working fine here too. I just checked, and it might be a problem with a specific ROM (not sure if buggy, or what). This one fails: AAAAMMMMIIII04040404////04040404////1111999999993333 Date:-04/04/93 (C)1985-1993 This one works: AAAAMMMMIIII00008888////00008888////1111999999993333 Date:-0...
by JosepMa
Wed 26 Jul, 2017 6:18 pm
Forum: Development
Topic: [Bug] (AMI WinBIOS 486) 486 processors having issues
Replies: 20
Views: 922

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

Mmmm... something strange does happen.

With such a setup, using the DX2/66, loading dosidle, or a program that uses dos4gw just hangs there, doing nothing.

The weird thing is that, if at that point, I switch to a DX4/100, this does not reset PCem and the loading finishes successfully.
by JosepMa
Sat 22 Jul, 2017 10:06 am
Forum: Development
Topic: Your build environment
Replies: 2
Views: 311

Re: Your build environment

Here is mine (Under windows): Msys2 : http://www.msys2.org/ currently with these versions: - GCC 7.1.0-2 (right now only using the 32bit compiler) - Make 4.2.1-1 - openal 1.18.0-1 Initially, i installed Directx SDK 9, but currently I think i'm using the libraries from MSYS2 itself. (I think i had to...
by JosepMa
Fri 21 Jul, 2017 10:43 am
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

Yet two mores updates: I made more changes to the filter. I found another implementation that acts more like the described filter, but it doesn't sound better so it is there selectable with a #define (maybe with some tweaking it could get nearer...). Also, I made changes to the original filter and I...
by JosepMa
Mon 17 Jul, 2017 9:11 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

Update on progress. I've been working on the envelope and LFO engine these days, and I finally have something that seems to work quite well. I've just commited to my repository these changes and I'm quite happy to hear notable sound differences and to sound more like the real thing. Status: Volume e...
by JosepMa
Sat 15 Jul, 2017 8:29 pm
Forum: Development
Topic: Build instructions for MinGW?
Replies: 7
Views: 563

Re: Build instructions for MinGW?

Dou you mave msys 1 mingw, or do you have msys 2 mingw64? If you have the latter, things almost work, except a few issues: First one, you need to explicitly compile using the Makefile.mingw in the src subfolder. Then, you will need to fix a few errors in the source that make it not compile with that...
by JosepMa
Sat 15 Jul, 2017 8:25 pm
Forum: General
Topic: The sound is silent
Replies: 5
Views: 426

Re: The sound is silent

Most probably, you need to find a mixer application for the operating system that you use ( ms-dos, windows, linux... whatever) and check the volumes there. Also, I believe that the treble and bass controls are a bit incorrect on the soundblaster, and you will notice a boost in volume if you actuall...
by JosepMa
Wed 12 Jul, 2017 8:26 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

Hi there. I have commited the first revision of my reworked emu8k implementation. What is noteworthy is that now, all the programs that I've said at the first post, play and don't have any annoying problem (aside of a glitch sound at the begining of AWEamp playback). This is the comment of the commi...
by JosepMa
Tue 11 Jul, 2017 6:53 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 15068

Re: [Linux] GUI discussion

Also i using Battler's 86Box, Press F12+F8 to release mouse from here. When using 3-button mice (and wheel mice), middle button to using guest's middle button, so F12+F8 is needed. 2-button mode can use F12+F8 too. In PCem, the alternate way to get out of mouse capture is CTRL+END (it's written in ...
by JosepMa
Tue 11 Jul, 2017 6:50 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

Battler: From my experience when working on this, it seems that when programs hang while detecting, is that they expect one register to act in a specific way, and if it doens't it might either hang or refuse to detect. As such, i recommend having a debug printing to pclog.txt of the registers being ...
by JosepMa
Mon 10 Jul, 2017 5:40 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

altheos: Ok good. I will try to build the program during this week (the concept is easy, but i briefly learned pascal and delphi many years ago, and DOS assembler is difficult to write by nature :P ) On the emulation side, it seems that I keep reinventing the same envelope over and over. (as i'm goi...
by JosepMa
Sun 09 Jul, 2017 12:25 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

@leilei : I would like to improve the emulation behaviour of some concrete registers of the AWE, and I would be interested if I could give you a program to do some tests on those cards that you said you have. I still have to implement the application, which could be an MS-DOS application (Based off ...
by JosepMa
Sun 09 Jul, 2017 12:15 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 15068

Re: [Linux] GUI discussion

I am with leilei that the middleclick feature should be restored. As I understand, it was removed in order to add support for middle click for emulated applications, but that was already present, when switching to a Microsoft intellimouse. Serial and PS/2 modes are meant for 2-button setups, and the...
by JosepMa
Sun 09 Jul, 2017 8:44 am
Forum: Development
Topic: [Bug] Show desktop in Windows 10 crashes the emulator
Replies: 17
Views: 1342

Re: [Bug] Show desktop in Windows 10 crashes the emulator

I didn't realize this was already reported. This is my fix for that: https://pcem-emulator.co.uk/phpBB3/view ... ?f=3&t=760 I really didn't thought that the bug was so old...
by JosepMa
Sat 08 Jul, 2017 2:41 pm
Forum: Development
Topic: [PATCH] crash fix when using direct3D and minimizing
Replies: 4
Views: 546

[PATCH] crash fix when using direct3D and minimizing

I've located and fixed a very annoying bug that would crash PCem whenever Direct3D was enabled and the user clicked to minimize the window.

The crash was actually a fatal() called when the rendering fails (which it does, when the window is minimized).
by JosepMa
Wed 05 Jul, 2017 7:50 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

More news on this (Not sure if I should open a new post under development... This one was originally intended for getting in contact and getting something going up). Currently, I have a reasonably good playback under Impulse tracker (fixed several noises and audio problems). Cubic player is still mu...
by JosepMa
Wed 05 Jul, 2017 7:22 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 15068

Re: [Linux] GUI discussion

It is quite interesting how this is evolving. I tried an older version (what is merged into pcem's official repo) and it gave me more instability (not completely sure if it was related to the source, the compiler the binary being built for 64bits , the virtual machine or something else). As for the ...
by JosepMa
Fri 30 Jun, 2017 11:23 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

Phew... build on windows finally working for me. After: - realizing that "makefile -fmakefile.mingw" actually means "make -fmakefile.mingw under src dir" ( why do we have a configure system in place if it only works for linux? ) - fixing indentation problems in several source files, because there's ...
by JosepMa
Wed 28 Jun, 2017 6:53 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

I haven't commited more changes because I am trying to fix some sound issues i have with impulse tracker. I am assuming the oscilators or envelopes go crazy when notes stop or something. It only happens with impulse tracker. I still have to solve the audio being muted with cubic player and AWEamp. A...
by JosepMa
Wed 28 Jun, 2017 6:40 pm
Forum: Development
Topic: Config manager
Replies: 11
Views: 976

Re: Config manager

jbenam: Most probably, you don't have a "configs" folder in the directory where pcem executable is (also, when prompted to save, you have to save it there). I also found this initially and it was until I compiled a linux build myself that i realized the problem.
by JosepMa
Fri 23 Jun, 2017 8:10 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

@leiley : I left testing Windows / AWEAmp for later, but I didn't expect that these small changes could already cause crash on boot. I initially had a crash on launch on cubic player when I incorrectly setup the memory condition to ">" instead of ">=", but the commit already has it fixed. @altheos: ...
by JosepMa
Thu 22 Jun, 2017 9:30 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

I've commited a few more fixes:
- RAM detection on open cubic player working
- Fix of chorus/loopend register using the wrong variable.
- Oscillators, spectrum and spectogram of (open) cubic player, as well as vumeters and playing dots in F3 of Impulse tracker now work too.
by JosepMa
Thu 22 Jun, 2017 7:03 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

Allright, I've gone with the "one fix at a time" procedure and fixed Impusle tracker AWE32 detection. I initially tried to change multiple things that I thought were bugs or incorrectly implemented things and the playback got broken (playing sometimes from rom where it should have been playing from ...
by JosepMa
Wed 21 Jun, 2017 5:41 pm
Forum: General
Topic: Improving the AWE32 emulation
Replies: 26
Views: 2416

Re: Improving the AWE32 emulation

altheos: Have you explicitly selected the AWE32 output on OCP? (press "f", go to the "@", then DEVICES, then select "Soundblaster AWE32"). By default it uses the SB16 output, since by that time, CPU was strong enough to be a better option than using the EMU8000 which implied a few limitations (inclu...