Search found 116 matches

by basic2004
Tue 01 Aug, 2017 4:40 pm
Forum: Development
Topic: Configurator Manager - bug?
Replies: 1
Views: 2347

Re: Configurator Manager - bug?

Configuration Manager need more fixing. Joystick needs pre-initialize because I can't doing joystick configure before loading any machine now. I guess, joystick initialization order should be prior than Configuration Manager. And I wrote other joystick issues to other thread. MIDI settings messed up...
by basic2004
Mon 31 Jul, 2017 5:11 am
Forum: Development
Topic: Patches for wxWidgets/SDL2
Replies: 22
Views: 16942

Re: Patches for wxWidgets/SDL2

Munt 2.2.0 has released.
Newest mt32emu has most accurate old MT-32 emulation and support new MT-32 (2.04) ROMs.
You should update mt32emu.
by basic2004
Sat 29 Jul, 2017 4:44 pm
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 7657

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 ...
by basic2004
Sat 29 Jul, 2017 7:13 am
Forum: Development
Topic: [Patch] Fixed misleading indentation above GCC 6.x.x
Replies: 9
Views: 7657

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

Fixed errors when compiling with GCC 6.x.x, this makefile included -Wall argument.
modified from latest sources.
pcem-3cc3d67-fix-misleading-indentation.patch
(8.49 KiB) Downloaded 430 times
by basic2004
Thu 27 Jul, 2017 10:32 am
Forum: Development
Topic: [Bug] Joystick detection & PCem crashes
Replies: 2
Views: 3139

Re: [Bug] Joystick detection & PCem crashes

I found why PCem crashes when restart twice, button mapping is messed up after 2nd joystick initialization. joystick-before-crash.png and I found broken encoding issue. This issue was a font problem, MS Sans Serif is showing only English. src/win-joystickconfig.c, line 298: data += MultiByteToWideCh...
by basic2004
Thu 27 Jul, 2017 9:05 am
Forum: Development
Topic: [Bug] Joystick detection & PCem crashes
Replies: 2
Views: 3139

Re: [Bug] Joystick detection & PCem crashes

Adding a post because attach limits per post.
If joystick was defined(+saved) and relaunch PCem,

Blank selections when launched PCem and didn't loaded any machines.
joysticknr-not0-confman-firsttime.png
joysticknr-not0-confman-firsttime.png (16.17 KiB) Viewed 3136 times
Broken encoding in non-English Windows when after loading machine.
joysticknr-not0-main.png
joysticknr-not0-main.png (22.8 KiB) Viewed 3136 times
by basic2004
Thu 27 Jul, 2017 8:53 am
Forum: Development
Topic: [Bug] Joystick detection & PCem crashes
Replies: 2
Views: 3139

[Bug] Joystick detection & PCem crashes

I wrote PCem crash problem about 10 days ago, https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=766#p6150 Thanks. I confirmed this fix in Windows 7 32bit on VMware. Why Windows 7, because my native Windows 10 64bit crashes when exit machine and restart over 2 times. always crashes 3rd time ...
by basic2004
Thu 27 Jul, 2017 6:12 am
Forum: Development
Topic: [Bug] MIDI Out device problem
Replies: 12
Views: 11126

Re: [Bug] MIDI Out device problem

An other idea. add midi_close() before midi_init() in win.c, and reverted resetpchard() in pc.c . --- src/win.c.orig 2017-07-26 19:40:08 +0900 +++ src/win.c 2017-07-27 15:02:48 +0900 @@ -702,6 +702,7 @@ keyboard_init(); mouse_init(); joystick_init(); + midi_close(); midi_init(); if (start_in_fullscr...
by basic2004
Thu 27 Jul, 2017 5:58 am
Forum: Development
Topic: [Bug] MIDI Out device problem
Replies: 12
Views: 11126

Re: [Bug] MIDI Out device problem

@SarahWalker: midi_init() should include in resetpchard() because PCem will doing hard reset after changing MIDI out device. so I deleted duplicate call from win.c. changedMidiOutDevice.png @ndavis82: Can you follow this with latest revision? In my case, MIDI out device doesn't changed after change ...
by basic2004
Thu 27 Jul, 2017 5:15 am
Forum: Development
Topic: [Bug] (AMI WinBIOS 486) 486 processors having issues
Replies: 20
Views: 15798

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:-...
by basic2004
Wed 26 Jul, 2017 1:51 am
Forum: Development
Topic: [Bug] MIDI Out device problem
Replies: 12
Views: 11126

Re: [Bug] MIDI Out device problem

I preferred to fix the other way - remove the calls in resetpchard() (as otherwise PCem will keep the MIDI device open when the configuration manager is in use). Can you try rev 817 and let me know if it works? MIDI out device worked when starting PCem machine. but it didn't work correctly when cha...
by basic2004
Mon 24 Jul, 2017 6:07 am
Forum: Development
Topic: [Bug] MIDI Out device problem
Replies: 12
Views: 11126

Re: [Bug] MIDI Out device problem

And my pclog result. path = B:\PCem-test\ Config data : [] vid_resize = 0 vid_force_aspect_ratio = 0 vid_disc_indicator = 1 vid_api = 0 video_fullscreen_scale = 0 video_fullscreen_first = 1 window_w = 0 window_h = 0 window_x = 0 window_y = 0 window_remember = 0 sound_buf_len = 200 [Paths] roms_paths...
by basic2004
Mon 24 Jul, 2017 5:50 am
Forum: General
Topic: Bug? External Midi no longer working in latest revisions
Replies: 6
Views: 4816

Re: Bug? External Midi no longer working in latest revisions

ndavis82 wrote:Sounds like the same issue. Can this fix be compiled with Sarah's source?
I made a patch for mainline PCem, this issue has solved for me. Can you try this?
https://pcem-emulator.co.uk/phpBB3/view ... 6294#p6294
by basic2004
Mon 24 Jul, 2017 5:48 am
Forum: Development
Topic: [Bug] MIDI Out device problem
Replies: 12
Views: 11126

Re: [Bug] MIDI Out device problem

Finally I solved this. --- src/win.c.orig 2017-07-23 16:41:24 +0900 +++ src/win.c 2017-07-24 14:27:57 +0900 @@ -702,7 +702,6 @@ keyboard_init(); mouse_init(); joystick_init(); - midi_init(); if (start_in_fullscreen) { pcem-fix-midioutdevice.patch I deleted midi_init() because this function already d...
by basic2004
Mon 24 Jul, 2017 3:54 am
Forum: General
Topic: Bug? External Midi no longer working in latest revisions
Replies: 6
Views: 4816

Re: Bug? External Midi no longer working in latest revisions

Correction: the same issue is happening with AWE32. Appears to happen at random. I've checked that my USB Midi adapter is working properly with other software such as Dosbox. Is this same with my problem? https://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=3&t=725 If you changed to AWE32 (machin...
by basic2004
Sat 22 Jul, 2017 3:44 pm
Forum: General
Topic: Best way capture pcem video & audio
Replies: 16
Views: 13748

Re: Best way capture pcem video & audio

I using Windows 10's stock game DVR to recording.
If you use Windows 10, press Win+G, remember PCem to game application.
And you can use record(Win+Alt+R) on PCem.
It saves to Videos/Captures directory when recording.
by basic2004
Tue 18 Jul, 2017 7:48 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 34980

Re: [Patch] CGA monochrome & selectable mono display

basic2004: the tweaks shown in your latest post definitely look better to me--good work! :) However, I should warn you that I'm not enough of an expert to be able to tell whether it still needs more tweaking or not. VileRancour is much more knowledgeable about this stuff than probably anyone else y...
by basic2004
Tue 18 Jul, 2017 4:39 am
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 34980

Re: [Patch] CGA monochrome & selectable mono display

Sorry, my mistake... I modified amber monitor again reduced redish more and adjusted brightness. _ret_0 = vec4(1.25 * pow(_w, 0.725), 0.905 * pow(_w, 1.5), 0.225 * pow(_w, 8), _c.w); during pick color and compare F and 7 from Optimized for 16-colors modes of amber. amber_take5_cga_comp.png amber-tak...
by basic2004
Tue 18 Jul, 2017 3:46 am
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 34980

Re: [Patch] CGA monochrome & selectable mono display

Great work, basic2004! Should the amber really be as red as that, though? My recollection, which is seemingly consistent with what I can see in screenshots and on YouTube, is a bit different from the palette you've chosen--I'd say every shade on the amber should be moved a few notches closer to yel...
by basic2004
Tue 18 Jul, 2017 12:09 am
Forum: Development
Topic: Issues with EGA emulation
Replies: 11
Views: 9177

Re: Issues with EGA emulation

I modified EGA monochrome palettes like this URL, palettes bring from HGC/MDA/CGA monochrome monitor type.
https://pcem-emulator.co.uk/phpBB3/view ... =723#p5478

before
egamono-before.png
egamono-before.png (27.79 KiB) Viewed 8672 times
after
egamono-after.png
egamono-after.png (28.1 KiB) Viewed 8672 times
Here is a patch.
vid_ega.c.patch
(3.67 KiB) Downloaded 377 times
by basic2004
Mon 17 Jul, 2017 4:07 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 34980

Re: [Patch] CGA monochrome & selectable mono display

Finally, I adjusted all maybe no more modifying. reduced color burst of amber, and raised some brightness of green monitor. and reduced some greenish in white monitor. cga_comp.png hb3.png I applied for amber monitor. _ret_0 = vec4(pow(_w, 0.6), 0.9 * pow(_w, 2), 0.2 * pow(_w, 6), _c.w); green monit...
by basic2004
Mon 17 Jul, 2017 12:35 am
Forum: Development
Topic: [Bug] PCem didn't eject disk when exit machine and restart
Replies: 2
Views: 2908

Re: [Bug] PCem didn't eject disk when exit machine and restart

Thanks.
I confirmed this fix in Windows 7 32bit on VMware.

Why Windows 7, because my native Windows 10 64bit crashes when exit machine and restart over 2 times.
always crashes 3rd time of booting machine.
basic2004 wrote:And sometimes PCem crashes when exit and restart without quit PCem, too.
Yes, this problem.
by basic2004
Sun 16 Jul, 2017 10:02 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 177728

Re: [Linux] GUI discussion

Here is a patch for PCem-wx-SDL2, this patch will make to support SBMIDI for 8-bit Sound Blaster cards. PCem-wx-SDL2-support-SBMIDI.patch Original works by TC1995 in 86Box GitHub. https://github.com/OBattler/86Box/commit/8576e2523bce461f9bf24694d0f7ec0e714955cf Nice! I think Sarah should decide if ...
by basic2004
Sun 16 Jul, 2017 10:34 am
Forum: Development
Topic: [Bug] Time sync problem
Replies: 2
Views: 3053

Re: [Bug] Time sync problem

Battler wrote:- basic2004: Some BIOS'es consider a year such as 2017 as invalid, and default to 1980-01-01 when they detect it. Make sure to test on other boards as well to exclude such a possibility.
I using 486 WinBIOS and some Pentium BIOSes.
That was correctly, also worked in 86Box.
by basic2004
Sun 16 Jul, 2017 7:46 am
Forum: Development
Topic: [Bug] PCem didn't eject disk when exit machine and restart
Replies: 2
Views: 2908

[Bug] PCem didn't eject disk when exit machine and restart

I found a problem PCem didn't eject any disks when exit machine and restart another machine without quit PCem. And sometimes PCem crashes when exit and restart without quit PCem, too. For example... I used XT machine with bootable disk, and exit machine and restart 486 with HDD booting. but PCem boo...
by basic2004
Sun 16 Jul, 2017 7:37 am
Forum: Development
Topic: [Bug] Time sync problem
Replies: 2
Views: 3053

[Bug] Time sync problem

PCem didn't works 'Synchronise time to host clock'.
I removed nvr and enter CMOS for test, this has set to 01-01-1980.
If time sync works correctly, this will set year 2017 automatically.
by basic2004
Sun 16 Jul, 2017 6:29 am
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 34980

Re: [Patch] CGA monochrome & selectable mono display

I edited again bursted amber monitor shader, use curve instead cutoff in Green value. I modified _ret_0 = vec4(sqrt(_w), (1.05 * _w) - 0.3, (0.4 * pow(_w, 2)) - 0.2, _c.w); to _ret_0 = vec4(sqrt(_w), (0.8 * pow(_w, 2)), (0.4 * pow(_w, 2)) - 0.2, _c.w); amber-take3-contrast.png grayscale-amber-take3....
by basic2004
Sun 16 Jul, 2017 6:00 am
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 34980

Re: [Patch] CGA monochrome & selectable mono display

Modified amber display shader again.
Optimized for text, tested with CGA_COMP.
amber-burst-contrast.png
amber-burst-contrast.png (14.21 KiB) Viewed 14300 times
amber-burst.jpg
amber-burst.jpg (38.83 KiB) Viewed 14301 times
grayscale-amber-burst.zip
(788 Bytes) Downloaded 440 times
by basic2004
Sat 15 Jul, 2017 6:09 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 177728

Re: [Linux] GUI discussion

Here is a patch for PCem-wx-SDL2, this patch will make to support SBMIDI for 8-bit Sound Blaster cards.
PCem-wx-SDL2-support-SBMIDI.patch
(3.96 KiB) Downloaded 517 times
Original works by TC1995 in 86Box GitHub.
https://github.com/OBattler/86Box/commi ... 0e714955cf
by basic2004
Sat 15 Jul, 2017 2:47 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 177728

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 =...