Commit Graph

3340 Commits

Author SHA1 Message Date
robxnano
6da609938e Merge prefs_unix.cpp
Replaced SheepShaver's prefs_unix.cpp with a symlink to Basilisk II's
version, and used ifdefs to account for the remaining differences.
2022-10-08 16:18:36 +01:00
robxnano
094995722b Added register names for Linux x86_64 2022-10-08 03:08:55 +01:00
robxnano
604baaa289 Added registers for OpenIndiana x86_64 and other fixes
OpenIndiana/illumos is based on OpenSolaris 10 and
uses the Solaris code paths.
Current status:
Basilisk II: Working but cannot ignore illegal instructions
SheepShaver: Doesn't compile because of same problem
If the SIGSEGV skip instruction handler were fixed, both
programs would likely work.
2022-10-08 03:03:52 +01:00
robxnano
2a74fdaab6 Added registers for NetBSD x86_64 and other fixes
NetBSD current status:
Basilisk II: Builds and runs, but JIT doesn't work
SheepShaver: Doesn't work because of BSD mmap limitations
2022-10-08 01:33:44 +01:00
robxnano
1dd1d2713d Fixes for building on FreeBSD and other platforms
FreeBSD current status:
Basilisk II: Builds and runs successfully using gcc and gmake
SheepShaver: Doesn't work because FreeBSD doesn't support mapping
the zero memory page. SheepShaver would only work on *BSD if the
direct addressing mode worked.
2022-10-08 00:12:52 +01:00
robxnano
01ba8564ed Improved UI support on FreeBSD 2022-10-03 19:36:46 +01:00
robxnano
7482de353b Added sys/stat.h to sysdeps.h
Needed on BSD for S_* ioctl constants and macros
2022-10-01 20:21:37 +01:00
kanjitalk755
2fa17a0783
Merge pull request #144 from robxnano/xdg-dirs
Respect XDG Base Directory Specification
2022-10-01 10:19:33 +09:00
kanjitalk755
811dddf70b
Merge pull request #143 from robxnano/sdl1-fix
Further fixes
2022-10-01 09:18:11 +09:00
robxnano
29d0ea13ae Restored variable comments, fixed stray bracket 2022-09-30 23:34:47 +01:00
robxnano
249dfc84ae Revert "SDL2: Stop hotkey commands accepting both Alt and Super when swap_opt_cmd = true"
The previous revert failed.
This reverts commit e28a9fc3a9.
2022-09-30 23:31:41 +01:00
robxnano
4c1c549ed6 Revert SDL2 hotkey code to original version
This reverts commits 3b7a89aad9
and e28a9fc3a9.
2022-09-30 23:09:23 +01:00
robxnano
1b36e7e118 Unix: Added support for old prefs paths, refactored code
Improved the XDG_CONFIG_HOME implementation by adding fallback paths.
If a prefs file in the old location exists, this will be loaded ahead
of the new one. But if no existing file is found, a new one will be
created in the new config directory. Additionally new log messages
were added to show where the prefs file was loaded from.
2022-09-30 18:36:09 +01:00
Seg
ffb525800b Implement XDG Base Directory Specification 2022-09-29 16:41:47 +01:00
robxnano
3b7a89aad9 Moved code to set hotkey down bools to kc_decode
- Now hotkey message should always match the actual key
2022-09-27 18:25:27 +01:00
robxnano
4724ce7aee Fix build when X11 fbdev is enabled 2022-09-26 22:47:25 +01:00
robxnano
95f1d46bae Implemented swap_opt_cmd and hotkey prefs for X11 video 2022-09-26 21:00:16 +01:00
robxnano
92778586de Fixes for building with X11 backend 2022-09-26 18:07:56 +01:00
robxnano
988eef8c5c Removed unused and redundant tests which were causing segmentation faults 2022-09-26 18:01:54 +01:00
robxnano
cfb9d5a501 Force SDL to use X11 videodriver in SheepShaver
(fixes failure to launch when using Wayland)
2022-09-26 15:28:21 +01:00
robxnano
05adbff2f5
Merge branch 'kanjitalk755:master' into sdl1-fix 2022-09-10 13:34:38 +01:00
robxnano
1de48de65d Updated default keycodes 2022-09-07 15:25:31 +01:00
robxnano
36b2862d21 Ported hotkey and swap_opt_cmd preference support to SDL 1.2 2022-09-07 15:25:00 +01:00
robxnano
e28a9fc3a9 SDL2: Stop hotkey commands accepting both Alt and Super when swap_opt_cmd = true 2022-09-07 13:23:57 +01:00
kanjitalk755
6edec590ab macOS: fix mouse grab message 2022-09-07 20:25:22 +09:00
kanjitalk755
75cdbd1d7b
Merge pull request #140 from robxnano/sdl1-fix
Fix building on SDL 1.2
2022-09-07 20:21:26 +09:00
robxnano
bfad0d3bba Removed redundant code 2022-09-07 10:23:54 +01:00
robxnano
dae2be8c48 ifdefs weren't placed correctly 2022-09-07 00:03:14 +01:00
robxnano
177a297527 Fixed string building for mouse grab hotkey message 2022-09-06 23:23:33 +01:00
robxnano
b1ab353085 Fixed building BasiliskII with SDL 1.2 2022-09-05 23:32:05 +01:00
robxnano
4ac4cbba45 Re-enabled SDL 1.2 configure flag 2022-09-04 19:02:28 +01:00
robxnano
ed86a18497 Used std::string to fix crash on grabbing mouse with Ctrl+F5 2022-09-03 15:05:56 +01:00
robxnano
481b675e1a Try to fix building on SDL 1.2 2022-09-03 14:31:30 +01:00
kanjitalk755
befe6d2db0
Merge pull request #137 from heavysink/master
BINCUE support for sheepshaver
2022-08-08 11:30:12 +09:00
heavysink
03ed87c966 Fix bincue support for sheepshaver 2022-08-07 18:36:17 -04:00
kanjitalk755
4b1bc7c38c fix multiple entry of "seriala" 2022-07-19 23:07:20 +09:00
kanjitalk755
756021f267 append build date at the end of help 2022-07-01 10:12:34 +09:00
kanjitalk755
5777129302
Update README.md 2022-06-22 22:25:08 +09:00
kanjitalk755
d9e0761bd9 BII and SS: linux arm64 2022-06-22 22:12:37 +09:00
kanjitalk755
11e88dd94f play startup sound also when reboot 2022-06-04 16:32:57 +09:00
kanjitalk755
41648c23c5
Merge pull request #132 from Korkman/master
Small fix for several Linux compilers
2022-06-04 15:17:49 +09:00
Korkman
d36be9168d Revert codepage mistake 2022-06-03 20:54:43 +02:00
Korkman
4f94ef52c1 Fix building in Debian Buster, Ubuntu Jammy 2022-06-03 20:40:40 +02:00
kanjitalk755
f017f9df58 fix pref item "cdrom" 2022-06-02 20:36:31 +09:00
kanjitalk755
5900e4895a Modify pref items 2022-06-02 15:42:11 +09:00
kanjitalk755
9009a2741f skip checking STDC_HEADERS 2022-05-17 11:33:26 +09:00
kanjitalk755
d7e93d8f37 remove --with-sdl1 from configure.ac 2022-05-16 22:26:25 +09:00
kanjitalk755
2e9eea3201
Merge pull request #128 from webbedspace/master
Improved Windows icon with transparency
2022-05-05 18:59:51 +09:00
Leon
d03303cdf7 Changes to Windows icon based on feedback. 2022-05-05 15:17:51 +10:00
Leon
b4be0cdbb2 Improved Windows icon with partial transparency. 2022-05-04 17:27:20 +10:00