Search found 124 matches

by basic2004
Sat 15 Jul, 2017 2:47 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I modified src/sound_mpu401.c (from line 810) like PCem style. static device_config_t mpu401_standalone_config[] = { { .name = "base", .description = "MPU-401 Address", .type = CONFIG_SELECTION, .selection = { { .description = "0x300", .value = 0x300 }, { .description = "0x330", .value = 0x330 }, { ...
by basic2004
Sat 15 Jul, 2017 1:33 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I tried latest fluidsynth branch again in my Windows, I saw these errors(warnings) gcc -DPCEM_USE_FLUIDSYNTH -march=i686 -O3 -m32 -msse2 -mfpmath=sse -fomit-frame-pointer -mstackrealign -Werror -fno-strict-aliasing -DRELEASE_BUILD -c sound_mpu401.c sound_mpu401.c:816:42: error: overflow in implicit ...
by basic2004
Sat 15 Jul, 2017 6:49 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Here's some shader presets to have fun with https://github.com/leilei-/someshaders feel free to improve/whatever. I hope i'm doing this right (I did think about implementing V1/V2/V3 filter as a shader for this repo, but that would also require a Voodoo CLUT shader to apply after it, as well as ext...
by basic2004
Thu 13 Jul, 2017 4:33 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I compiled latest revision again, I understood why you select multibyte(ANSI)...
I saw no warnings anymore in this revision. Great!!

Is PCem plan to support language pack?
by basic2004
Thu 13 Jul, 2017 4:27 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 22168

Re: [Patch] CGA monochrome & selectable mono display

That would sound like a brilliant idea to implement monochrome EGA/VGA support with selectable mono display. Did you know that there is a gas plasma version of these displays? I believe that gas plasma displays consist of shades of yellow to brown as well as red. I don't know about real amber monit...
by basic2004
Thu 13 Jul, 2017 12:15 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 22168

Re: [Patch] CGA monochrome & selectable mono display

I made these palettes injected to grayBT601 shader, original works by Aybe. Thanks to him.
https://github.com/aybe/RetroArch-shaders

You can test these shaders with PCem-wx-SDL2.
shaders-emulate-monochrome-monitor.zip
(2.2 KiB) Downloaded 243 times
by basic2004
Thu 13 Jul, 2017 12:09 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 22168

Re: [Patch] CGA monochrome & selectable mono display

That would sound like a brilliant idea to implement monochrome EGA/VGA support with selectable mono display. Did you know that there is a gas plasma version of these displays? I believe that gas plasma displays consist of shades of yellow to brown as well as red. Latest PCem-wx-SDL2 supports OpenGL...
by basic2004
Thu 13 Jul, 2017 1:25 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Apparently wxWidgets is Unicode-enabled by default, and the code from win.c is probably not Unicode-aware. Maybe an easy fix would be to use ANSI-version (for example SetWindowTitleA) of those functions? I tried SetWindowTextA already but I use it SDL_SetWindowTitle if PCem applied language pack la...
by basic2004
Wed 12 Jul, 2017 7:06 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Titlebar's encoding is messed up. I'm not sure what's causing this. Do anyone have any idea? I found this problem, this title encoded ANSI or UTF8 but titlebar want showing to Unicode(UTF-16LE) on Windows, since 41ca9f5 , showing strange title when launching machine. but 95ee9fd showing strange tit...
by basic2004
Wed 12 Jul, 2017 2:01 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Oh, I forgot it...
I used Ctrl+Alt+PgDn from wxWidgets version also this hotkey can release mouse capture too.
by basic2004
Tue 11 Jul, 2017 1:03 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I want to select synth mode from configuration of 'Roland MT-32 Emulation'. Synth Module : MT-32, CM-32L MT-32 : need mt32_control.rom and mt32_pcm.rom CM-32L : need cm32l_control.rom and cm32l_pcm.rom Selectable between MT-32, CM-32L when both detected. Grayed(force selected) when detected one. Dis...
by basic2004
Tue 11 Jul, 2017 11:19 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I tested latest revision. Titlebar's encoding is messed up. PCem-titlebar.jpg And I tested click middle button to releasing mouse from PCem. It works well. I agree with them. I am with leilei that the middleclick feature should be restored. As I understand, it was removed in order to add support for...
by basic2004
Sun 09 Jul, 2017 4:27 pm
Forum: Development
Topic: [Bug] Show desktop in Windows 10 crashes the emulator
Replies: 17
Views: 8771

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

Thanks to fix!
I often turning my Windows 10 to lockscreen, PCem was crash silently when locking but this fixed after your patch.

[EDIT] PCem freezes only screen instead crashing when lock Windows 10. minimize and restore PCem, screen working back.
by basic2004
Sun 09 Jul, 2017 9:06 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I think you will like the latest commits to my GitHub/master. The wx/SDL2 Windows-version now uses much of the code from the D3D Windows-version, which means that there is now a menu bar and the keyboard should behave the same, so hopefully no stickiness or accidental ALT+F4. The rendering is still...
by basic2004
Wed 05 Jul, 2017 2:15 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Thanks to Windows-specific fixing but I need to solve this.
Right click context menu don't disappear when clicking except this context menu,
Is this problem only Windows-specific?
by basic2004
Tue 04 Jul, 2017 3:32 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I made a new config, and set FluidSynth. this code is FluidSynth settings from config file. [FluidSynth] sound_font = B:\kgs88.sf2 output_gain = 0 chorus = 0 chorus_voices = 0 chorus_level = 0 chorus_speed = 0 chorus_depth = 0 chorus_waveform = 0 reverb = 0 reverb_room_size = 0 reverb_damping = 0 re...
by basic2004
Tue 04 Jul, 2017 3:24 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

And no sound from FluidSynth, and MT-32 emulation only this branch too. I modify cfg file manually, FluidSynth and MT-32 emulation plays correctly. I think this was configuration problem. [FluidSynth] and [Roland MT-32 Emulation]'s settings are turned to 0 after configuration. and these device conf...
by basic2004
Tue 04 Jul, 2017 3:11 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I testing fluidsynth branch in my Windows 10, wxWidgets UI showing MIDI configuration correctly but Windows UI isn't. This problem appeared on advanced configuration of Roland MT-32 emulation too. CONFIG_FILE, CONFIG_SPINNER is missing on Windows UI. pcem-wx.png pcem-win.png And no sound from FluidS...
by basic2004
Sun 02 Jul, 2017 12:36 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

bit wrote:Seems like it might be an old opengl32-library. Try the branch gl3-test and see if that builds for you.
I built gl3-test branch, this launched successful.
GL3 renderer with shader, crt-geom.glslp (from RetroArch.)
gl3-test.jpg
gl3-test.jpg (167.18 KiB) Viewed 13100 times
by basic2004
Sat 01 Jul, 2017 6:23 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I tried to build your latest revision, but failed. wx-sdl2-video-gl3.o:wx-sdl2-video-gl3.c:(.text+0x1d1b): undefined reference to `_imp__glActiveTexture@4' wx-sdl2-video-gl3.o:wx-sdl2-video-gl3.c:(.text+0x2e72): undefined reference to `_imp__glActiveTexture@4' collect2.exe: error: ld returned 1 exit...
by basic2004
Sun 18 Jun, 2017 7:53 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

I want this feature, Showing MIDI Message (eg. 'The saga continues..' message showing when starting Prince of Persia 2) from PCem Machine(wxWidgets version) and Misc/Status(Windows version) When I select "Roland MT-32 Emulation". I'm working on this right now. Is there anything else that could be o...
by basic2004
Sat 17 Jun, 2017 4:12 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Oops, sorry. I had forgot to commit the makefile from my Windows PC, I've done that now :) Thanks to updating, I compiled wxWidgets version and works well. This branch listing and playing "Roland MT-32 Emulation" with Windows version and wxWidgets version both, when I injected 2 roms in roms/mt32. ...
by basic2004
Sat 17 Jun, 2017 3:11 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Take a look at the mt32emu-branch on my GitHub. It's an experimental branch that adds built-in support for Roland MT-32 emulation using Munt and also adds Windows MIDI in the Windows-version. Oh! Standalone Intelligent MPU-401 with MUNT, this is very wonderful feature! I'm very happy if you support...
by basic2004
Sat 17 Jun, 2017 1:36 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 22168

Re: [Patch] CGA monochrome & selectable mono display

Monochrome VGA is simply a grayscale version of a real VGA screen. Here's a example: http://www.computernerdkev.heliohost.org/skd-4000/img/Small/P1010035,s.jpg Monochrome EGA displays can have up to 16 grayscale shades (16 colours out of 64 palette colours). Monochrome VGA displays can have up to 6...
by basic2004
Sat 17 Jun, 2017 8:02 am
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 22168

Re: [Patch] CGA monochrome & selectable mono display

basic2004, have you though of applying the patch to add support for EGA and VGA monochrome displays yet? It would be awesome to add support! :D That's interesting but I don't know about monochrome EGA. I want to know EGA 16 colors on real monochrome monitor and 64 palettes on real monochrome monito...
by basic2004
Sat 17 Jun, 2017 7:32 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 112262

Re: [Linux] GUI discussion

Thanks for patching, but wxWidgets version didn't support MIDI out device yet.
If wxWidgets version can support MIDI, I'll use this on my Windows.
by basic2004
Fri 09 Jun, 2017 6:58 am
Forum: Development
Topic: PCem crashes or closes * without any warning * if Direct3D/DirectDraw HW acceleration is disabled
Replies: 3
Views: 2517

Re: PCem crashes or closes * without any warning * if Direct3D/DirectDraw HW acceleration is disabled

Thanks for patching!

I ran "8088MPH" with D3D, PCem crashes after showing Intel inside logo.
But now this works well both, D3D and DDraw since applied this patch.
by basic2004
Tue 06 Jun, 2017 6:40 pm
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 54225

Re: [Solved] PCem v12 and Sound Lag

People use various machines to run PCem, so maybe make this buffer length user configurable so the user can find the right value for his system. In DOSBox this value called "blocksize" and is configurable by the user. Maybe make this division value an integer (48000/X) and let the user adjust it fr...
by basic2004
Tue 06 Jun, 2017 12:29 am
Forum: General
Topic: [Partially-Solved] PCem v12 and Sound Lag
Replies: 124
Views: 54225

Re: [Solved] PCem v12 and Sound Lag

Someday this will support Vulkan renderer after supports OpenGL and D3D11/12. OpenGL is good but slow, I using SDL2+wxWidgets in Windows...
by basic2004
Sun 04 Jun, 2017 4:57 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 22168

Re: [Patch] CGA monochrome & selectable mono display

Thanks for commit, and thanks to bit and you!