Search found 98 matches

by bit
Sat 01 Jul, 2017 8:23 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

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 exi...
by bit
Sun 25 Jun, 2017 7:05 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

Revs 774-776 commit the patches attached to this thread, except for the configurable paths one - I need to look over that some more, and in the UK at present it's too hot to consider doing anything resembling thinking. No problem, take your time. There's probably something there I haven't thought a...
by bit
Sun 18 Jun, 2017 5:48 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

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 ...
by bit
Sat 17 Jun, 2017 3:30 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

I testing wxWidgets version of PCem with my Windows. but I saw these errors when compiling current revision(19140e5). pc.o:pc.c:(.text+0x309): undefined reference to `midi_device_init' pc.o:pc.c:(.text+0xef3): undefined reference to `midi_device_get_from_internal_name' pc.o:pc.c:(.text+0xef8): unde...
by bit
Sat 17 Jun, 2017 8:47 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

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. 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 ad...
by bit
Fri 16 Jun, 2017 8:24 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

This patch adds the new sound buffer settings.
by bit
Thu 15 Jun, 2017 6:34 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

I found an issue with paths in roms_paths that was introduced with the safe_strncpy-fixes and I also used the wrong define for Windows when getting the path separator. I've attached a patch with fixes for these.
by bit
Tue 06 Jun, 2017 1:16 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

Here's an updated patch which should have safer string handling. It replaces the old one.
by bit
Tue 06 Jun, 2017 12:24 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

Where you're using strncpy(), you need to make sure there's a terminating zero -- if strncpy() truncates the string, it doesn't add one. So, for example: void set_nvr_path(char *s) { strncpy(nvr_path, s, 511); nvr_path[511] = 0; append_slash(nvr_path); } Oh I see, thanks! I'm still not used to prog...
by bit
Tue 06 Jun, 2017 9:46 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

@bit, I tested it and it's working like a charm. Now PCem (at least the wx port) can be packaged by distros :D . Thanks! Np! :) Does this GUI works in Windows? Yeah it works on Windows. It is primarily developed for Linux though so there might be some bugs when running it on Windows. Sarah: I've at...
by bit
Sun 04 Jun, 2017 9:09 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

For my part, no. That's exactly what I had in mind. Thanks for working on this. No problem :) I've implemented this and added it to the master-branch on my GitHub. It appears to work as expected and Windows and Allegro seems to work fine as well. It's implemented pretty much like I mentioned; when ...
by bit
Sat 03 Jun, 2017 7:02 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

Surely @bit can do it. If not, I could do it when I get some free time. Sure, I can take a look at it. I'm thinking about creating a separate path for roms/configs/nvr/logs and adding entries for these in pcem.cfg. This will enable the functionality for Windows and Allegro as well but if they're no...
by bit
Tue 30 May, 2017 8:13 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

SarahWalker wrote:Committed at rev 737.
Nice! It works great!
by bit
Sat 27 May, 2017 9:56 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

If you have to manually add support for a key, then this is more proof IMHO, that SDL 2's keyboard handling is bad. A good keyboard handler gets the scan codes as they are pressed and passes them on unaltered. Unfortunately getting the raw scancodes is a bit difficult on Linux, or the X server to b...
by bit
Sat 27 May, 2017 9:05 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

andr25352 wrote:@Bit Thanks, it works really nice now,
except that Show on start is still not marked after a reset of the application,
so it looks like it is disabled even though it is enabled.
Oops, forgot that one :)
Fixed!
by bit
Sat 27 May, 2017 8:54 pm
Forum: Development
Topic: [Patch] CGA monochrome & selectable mono display
Replies: 46
Views: 35195

Re: [Patch] CGA monochrome & selectable mono display

That's really cool! It's a feature I've been missing :) Unfortunately it did not work out of the box with Allegro, probably something with the code in allegro_blit_memtoscreen_8. I tried it with my SDL2-port in Linux and it works just fine after I added the modifications in win-d3d-fs.cc and removed...
by bit
Sat 27 May, 2017 7:29 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

@Bit Well Done, it works Flawlessly!!! Thank you! :) Although this is all perfect it would be nice if user could undock mouse cursor by middle mouse click like in windows I've actually disabled the middle mouse button on purpose, mainly because I wanted to use it when using Windows 95 while in wind...
by bit
Sat 27 May, 2017 12:49 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

There's now an update available on GitHub which would be great if I could get some feedback on :) Here's the main changes: The GUI no longer requires to be two windows. Instead I've added right-click shortcut on the display-window to access the menu. The machine-window is still there and it's possib...
by bit
Sun 21 May, 2017 11:30 am
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

Finally had a play with this. In general I like - a huge improvement on the Allegro GUI. Any objections to me merging this into mainline? I'm happy you like it! :) I have no objections about merging it. Obviously on mainline the interface has changed a bit, to include the new configuration manager....
by bit
Sat 20 May, 2017 3:50 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

Voodoo2 should work :) However the issue you're experiencing could be related to the Voodoo recompiler on 64-bit Linux which doesn't seem to work properly, at least with the games I've tried it with. So if you're running a 64-bit build and have it enabled you could try to disable it and see if it st...
by bit
Mon 15 May, 2017 1:12 pm
Forum: Development
Topic: [Patch] BIN/CUE-image support
Replies: 21
Views: 18994

Re: [Patch] BIN/CUE-image support

- bit: I got a report from a Korean site that data tracks after the first one are not loaded correctly from CUE/BIN, please look into what happens. Oh, I saw in there, you translated this Korean sentence from there correctly. 하지만 2번째 트랙 이후의 데이터는 아직 제대로 불러오지 못하고 있습니다. I wrote this report. I mount BI...
by bit
Fri 12 May, 2017 7:53 pm
Forum: Development
Topic: [Patch] BIN/CUE-image support
Replies: 21
Views: 18994

Re: [Patch] BIN/CUE-image support

Here are fixes for the 2 second delay and ISOs on Windows 95. It replaces the first patch. I tried to fix the issue with TOC when switching images but I couldn't get it to work, maybe someone with more knowledge about that is willing to take a look at it. I've tried this with a bunch of different im...
by bit
Wed 10 May, 2017 7:24 pm
Forum: Development
Topic: [Patch] BIN/CUE-image support
Replies: 21
Views: 18994

Re: [Patch] BIN/CUE-image support

- bit: Your Read TOC handlers break loading ISO files in Windows 95 as well as 2000. Edit: I just fixed that (for 86Box) by using the old ISO Read TOC handlers if the image is ISO but your new ones if it's CUE/BIN. Oh, I thought I tried ISOs on W95 but seems like I didn't :) Thanks for letting me k...
by bit
Mon 08 May, 2017 7:15 pm
Forum: Development
Topic: [Patch] BIN/CUE-image support
Replies: 21
Views: 18994

Re: [Patch] BIN/CUE-image support

Battler wrote:- bit: It is, just look at what I did for 86Box. Image changes are detected fine there.
Great! I'll do that :)
by bit
Mon 08 May, 2017 7:11 pm
Forum: General
Topic: [Req] bin/cue cdimage support
Replies: 12
Views: 12470

Re: [Req] bin/cue cdimage support

Trying to compile the fork at least has me failing as it can't find iso_audio_callback (which is in cdrom-iso.c but that isn't specified in the makefile. Did you move this?) I'll try the patch soon, I'm hoping the same issue doesn't happen there. Oh oops. I didn't try to compile it on Windows befor...
by bit
Mon 08 May, 2017 7:09 pm
Forum: Development
Topic: [Patch] BIN/CUE-image support
Replies: 21
Views: 18994

Re: [Patch] BIN/CUE-image support

There is a 2 second offset for the audio. The Windows IOCTL code used to have the same problem, when I fixed it and submitted a CD-ROM improvement patch here last year, I left in a comment in cdrom-ioctl.c before the MSFtoLBA #define explaining exactly why I changed it, but Sarah removed the commen...
by bit
Sun 07 May, 2017 11:39 am
Forum: General
Topic: [Req] bin/cue cdimage support
Replies: 12
Views: 12470

Re: [Req] bin/cue cdimage support

Yeah there's a patch available in the Development sub-forum now :)
by bit
Sun 07 May, 2017 11:33 am
Forum: Development
Topic: [Patch] BIN/CUE-image support
Replies: 21
Views: 18994

[Patch] BIN/CUE-image support

This patch adds support for BIN/CUE-images using the implementation from DosBox. It also has support for ISO-files so cdrom-iso.* is no longer needed. There are some things I'm not sure about and it would be great if someone with more knowledge in this area could look at: When to add/remove 150 sect...
by bit
Sat 06 May, 2017 7:35 am
Forum: General
Topic: [Req] bin/cue cdimage support
Replies: 12
Views: 12470

Re: [Req] bin/cue cdimage support

I've wanted this feature as well and decided I would try to add support for it using the implementation from DosBox. I didn't have any prior knowledge of how ISO and BIN/CUE-files worked (and to be honest I still don't fully grasp it) but I've made some great progress :) The few things I've tried ap...
by bit
Sun 30 Apr, 2017 6:27 pm
Forum: Development
Topic: [Linux] GUI discussion
Replies: 218
Views: 179139

Re: [Linux] GUI discussion

I just got it working in Windows :) I had to modify the makefile.mingw-wx-sdl2 file to change the wx libs to -lwxbase30ud -lwxmsw30ud_core -lwxmsw30ud_xrc and add -std=gnu99 to the cflags however, as it had this to complain about: wx-sdl2-video.c:311:9: error: 'for' loop initial declarations are on...