1957 Commits

Author SHA1 Message Date
Michael J. Manley
d3a24aab5c Fixed DSS by removing NULL and changing to 0 2022-11-17 13:39:38 -08:00
Elfina Ashfield
8b9813377b fix cmake for Apple Silicon machines; render related bug fixes (#186) 2022-11-15 22:03:23 -08:00
jviskari
c9f885706e Hyundai SUPER16T and SUPER16TE cleanup (#179) 2022-11-15 21:51:42 -08:00
Michael Manley
46195595c6 Hopefully finally can fix the issue with #173 2022-11-10 16:56:56 -08:00
Michael Manley
abec5fdc17 [no ci] Fixed Description 2022-09-24 14:54:42 -07:00
Michael Manley
ad74e030c8 Create test-relwithdebinfo-builds.yml
Created a build type to have a loggable release build.
2022-09-24 14:53:23 -07:00
Michael J. Manley
88b0813588 Redid DLL to take out SDL as its not needed in this case. 2022-09-23 12:06:40 -07:00
Michael J. Manley
047505d894 Moved Create Directory Function in Plugin Library for Windows. 2022-09-23 11:55:57 -07:00
Michael J. Manley
21a7065271 Changed on Windows to put files in HOMEDIR/.pcem
Enabled Plugins and Network support by default.
(If you are using v17, just move your configs, logs, nvr, pcem.cfg, and roms folder to HOMEDIR/.pcem)
2022-09-23 11:45:38 -07:00
greatpsycho
313f309535 Remove C99 declarations in for loops. (#172)
* Update vid_et4000.c

Re-enables byte panning and cursor skew emulation on ET4000 based Korean VGA that was disabled from commit 55e84c338b. This emulation is required for Korean mode emulation.

TODO : Byte panning and cursor show emulation should be work on all VGA cards so it should be re-enabled sooner or later.

* Update video.c

Add break case for machines with built-in VGA cards. No more crashes AMA-932J, Samsung SPC-4620P, Samsung SPC-6033P machines when using built-in VGA cards.

* Add files via upload

Remove C99 declarations in for loops. Solve compile problem on CentOS 7.x

* Update wx-config_sel.c

Remove C99 declarations in for loops. Solve compile problem on CentOS 7.x

* Update vid_ati28800.c

ATI28800 doesn't use packed chain4. Fixes 8bpp hi-resolution mode display.
2022-09-01 14:08:46 -07:00
Marek Knápek
1a6e20b6d5 Fix bug discovered by MSVC. (#153)
error C2078: too many initializers

Co-authored-by: Michael Manley <mjmanley@ntge.net>
2022-08-09 19:57:16 -07:00
greatpsycho
b06f337297 ET4000-based Koreav VGA and built-in VGA bugfix. (#168)
* Update vid_et4000.c

Re-enables byte panning and cursor skew emulation on ET4000 based Korean VGA that was disabled from commit 55e84c338b. This emulation is required for Korean mode emulation.

TODO : Byte panning and cursor show emulation should be work on all VGA cards so it should be re-enabled sooner or later.

* Update video.c

Add break case for machines with built-in VGA cards. No more crashes AMA-932J, Samsung SPC-4620P, Samsung SPC-6033P machines when using built-in VGA cards.
2022-08-09 01:32:54 -07:00
Michael Manley
4f175bb472 [no ci] Fixed Readme... finally... 2022-07-11 07:22:42 -07:00
Michael J. Manley
bed5fced7b [no ci] Format Changes 2022-06-23 11:26:13 -07:00
Michael J. Manley
fa9c5ef6c0 Hopefully fixed issue with config paths, also adding Debug builds as well as Release autobuilds. 2022-06-22 13:47:12 -07:00
Michael J. Manley
deae32e2c6 Merge branch 'dev' of github.com:sarah-walker-pcem/pcem into dev 2022-06-22 11:17:51 -07:00
Michael J. Manley
d8594be7a5 Finally got the better arch detect code, Should fix #160. 2022-06-22 11:17:47 -07:00
pghvlaans
1d6b39fe2b src/cpu/386_dynarec.c: use noinline for exec_recompiler (#159) 2022-06-22 10:57:51 -07:00
Michael J. Manley
63a8d469a6 Added the Qt/wxWidgets switch code. Prepping for Qt GUI. 2022-06-22 00:39:55 -07:00
Michael J. Manley
6f69f3e8da Removed code for disabling optimization, as its causing lag issues. Fixed CMake Files. 2022-06-18 19:23:44 -07:00
Josep Maria Antolín Segura
7643edbb3a Logging improvements. (#143)
Since we don't flush the messages to file immediately to avoid slowdowns, sometimes the application is closed before all the messages are written to the log.
This includes flushing the log when stopping the emulation, and tries to close the log file when closing the application. (It might need some more work to close it in all cases).
Also, some redundancy in logging.c and x86seg.c has been removed.
2022-05-12 19:33:21 -07:00
Josep Maria Antolín Segura
68d8830a91 Fix for Issue #139 : Mouse didn't move on Windows host. (#142) 2022-05-11 10:54:57 -07:00
Josep Maria Antolín Segura
464d98a87d Fixes on window positioning on Windows. (#144)
On Windows, the emulator window has a menu bar. This menu is hidden and shown when closing the emulation and when toggling fullscreen.
It was found that doing so before getting the window position gave an incorrect value so when restoring the window, the top position was shifted up.
Also, all the code about substracting the window borders seem unneeded for current SDL, or at least it also implied an unneeded offset.
Also fixed the option to open the emulation window centered on screen. It needs to know the window size before telling it to center it on screen.
Also found that, at least with SVGA, window_resize was called each render call. This means that the win_doresize was also being called, if using the "original" resize mode or the fullscreen mode.
This has been prevented if the size hasn't changed, and only forced when changing scaling.
2022-05-11 10:42:09 -07:00
Michael J. Manley
d52f960680 Fixed the detection code to skip if running on a toolchain file 2022-05-11 10:23:38 -07:00
Michael J. Manley
3bbccb1b88 Added some helpful cmake scripts to allow cross compiling on Fedora. 2022-05-11 01:11:19 -07:00
Michael J. Manley
48b8096901 Fixed missing release defines on release build 2022-05-08 17:25:06 -07:00
driver1998
d0ae61a22c Windows ARM64 support (#138)
* Do not use WIN32 to detect x86, fixes Windows ARM build

* CMakeLists: Add Windows ARM64 detection
2022-05-08 16:58:16 -07:00
Michael J. Manley
f4a1ab9c51 Fixed CD ID Code 2022-04-17 17:47:17 -07:00
Michael J. Manley
49bf463a09 [no ci] Removed Wrong Code 2022-04-17 17:10:23 -07:00
Michael J. Manley
0811e43fd0 API Changes 2022-04-17 12:28:16 -07:00
Michael J. Manley
c7c8f5ee2f A file snuck itself in CMake, oops. 2022-04-14 23:30:48 -07:00
Michael J. Manley
c640285964 Missed Headers 2022-04-14 14:41:14 -07:00
Michael J. Manley
08dc3f0409 Format Change. Fixed so it doesn't fail compilation anymore. 2022-04-14 14:18:31 -07:00
Michael J. Manley
ebb7c9ac25 [no ci] Removed Meson build scripts
Added them to docs/pcem-meson-scripts.tar.bz2 if you want them
CMake will be the supported build generator due to future Android support
2022-04-14 13:26:51 -07:00
Michael J. Manley
54159d9340 Merge branch 'dev' of github.com:sarah-walker-pcem/pcem into dev 2022-04-14 11:12:00 -07:00
Michael J. Manley
b70413a20f Revert "[no ci] Slight style change, braces are no longer on newline"
This reverts commit bfc6f1c593.
2022-04-14 11:09:21 -07:00
Michael J. Manley
4301c83c5f Merge branch 'dev' of github.com:sarah-walker-pcem/pcem into dev 2022-04-14 11:05:55 -07:00
Michael J. Manley
90bac137b1 [no ci] Stylechange commit damaged code somehow, reverting for now 2022-04-14 11:05:44 -07:00
Michael J. Manley
bfc6f1c593 [no ci] Slight style change, braces are no longer on newline 2022-04-13 16:38:14 -07:00
Michael J. Manley
c6eac27c0e Merge branch 'dev' of github.com:sarah-walker-pcem/pcem into dev 2022-04-12 23:58:23 -07:00
Michael J. Manley
6940f17443 Fix CTRL+END for Windows codebase. Fixes #118 2022-04-12 23:58:15 -07:00
unreal9010
71d9a375b3 Add missing ROM folders and two IDE CD-ROM drives (#111)
* Update vid_mga.c

* Update scsi_cd.h

* Update scsi_cd.c

* Update scsi_cd.h

* Update scsi_cd.c

* Update vid_mga.c

* Update scsi_cd.c

* Update vid_mga.c

* Update scsi_cd.c

* Update scsi_cd.c

* Update scsi_cd.c

* Update scsi_cd.h

* Update scsi_cd.c

* Update scsi_cd.c

* Added more IDE CD-ROM drives

* Added Mitsumi CRMC-FX4820T

* Update vid_mga.c

* Let's see

* What about 10?

* It worked. Now, let's try 20.

* Update scsi_cd.h

* Last try: 12

* Added Kenwood True-X UCR-421 & NEC CDR-1300A

* Minor correction

* Added missing ROM folders

* also ibmps1_2133

* Add missing ROM folders for video cards

* CR-588-B id string correction

* Alphabet!

Co-authored-by: Michael Manley <mjmanley@ntge.net>
2022-04-12 22:02:09 -07:00
Michael J. Manley
8c069c93ec [no ci] Fixed some Build config issues 2022-04-12 10:44:20 -07:00
Didiet
ac0cc4529f Enable compilation on macOS with Clang (#120)
* Add mac compilation flags

I added several definitions and to be able to be compiled in macOS Monterey.

- Define HAVE_UNISTD_H for SLIRP to be able to compile.
- Add sys/stat.h (standard POSIX header).
- Redefine fseeko64 ftello64 off64_t to normal fseek ftell and off_t as recent macs only supports 64-bit platforms.
- Re-include cdrom/cdrom-ioctl-osx.c on macOS
- Define PCEM_RENDER_WITH_TIMER PCEM_RENDER_TIMER_LOOP because macos cannot render outside main thread on SDL.

* Fix logging file handling

When you open `pcem.log` for writing. The error is not handled correctly.
This commit is to handle such error blocking the launch of the program.
2022-04-06 14:52:25 -07:00
Michael J. Manley
85e1ef3ee4 Added Release Flags, but removed -Werror for now. Closes #123 2022-03-28 22:52:29 -07:00
Michael J. Manley
e4530e5486 Fixed some errors with CMake code. 2022-03-18 23:26:49 -07:00
Michael Manley
513c90696b Bring back original README.md 2022-03-15 19:25:08 -07:00
Michael Manley
3584f69125 Rename README.md to README.meson.md 2022-03-15 19:23:38 -07:00
pghvlaans
965ea55331 Use (datadir)/pcem with meson (#127)
* Use (datadir)/pcem with meson

* README.md: backwards-compatible meson install
2022-03-05 15:07:39 -08:00
Michael Manley
60c5656c3b Removed INST_PREFIX. Fixes #125 2022-02-22 10:23:30 -08:00