Commit Graph

38 Commits

Author SHA1 Message Date
kanjitalk755
1ddb7d3a42 Fix for 6K Retina 2023-12-16 10:01:31 +09:00
kanjitalk755
0942bdcbf9 test framebuffer handling 2023-08-25 19:50:04 +09:00
robxnano
4217fc73cd OpenIndiana: Skip instruction fix
Fixes the register definitions so that instruction skip works.
Both Basilisk II and SheepShaver now work (without JIT) on
Solaris-based OSes such as OpenIndiana.
2022-10-15 00:20:15 +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
kanjitalk755
d9e0761bd9 BII and SS: linux arm64 2022-06-22 22:12:37 +09:00
kanjitalk755
fcf2c1d9b6
Merge pull request #122 from asvitkine/cleanz
Fix various compiler warnings with Xcode builds.
2022-04-05 15:14:57 +09:00
asvitkine
732029a512 Fix various compiler warnings with Xcode builds. 2022-04-04 23:44:30 -04:00
asvitkine
e069d84f5b Clean up forward declarations in favor of header files. 2022-04-04 13:42:58 -04:00
kanjitalk755
ab586a5a09 SS, x86_64: fix thousands colors mode 2021-06-30 22:00:59 +09:00
kanjitalk755
49eee29597 Xcode: modified for building both x86_64 and arm64 2021-04-23 20:47:17 +09:00
kanjitalk755
20d2de95ce marged Jagmn's patch
https://emaculation.com/forum/viewtopic.php?p=70121#p70121
2021-04-23 10:19:48 +09:00
kanjitalk755
0fd17a98ff BII: fixed thousands colors mode 2021-01-31 21:20:47 +09:00
rakslice
f198632834 corresponding change for BII sigsegv.cpp 2020-12-01 23:33:38 -08:00
kanjitalk755
271b7322d3 Merge branch 'test_issue64' 2020-11-18 12:01:40 +09:00
rakslice
a897561c11 remove duplicated function and fix BII 2020-11-15 12:53:54 -08:00
rakslice
85da18e38f fix for misaligned rows in screen buffer in VOSF full screen mode when screen buffer has slack and source doesn't
(cherry picked from commit cbca0b629f7b4fab0038a0d45c15a302c3216763)
2020-11-15 12:19:49 -08:00
rakslice
c044312b3c In vosf full screen update use chunk size based on pixel size
(cherry picked from commit 108071e1a1ed9f43229fc81ca882fbb6c2de7eec)
2020-11-15 12:19:39 -08:00
kanjitalk755
87d4660aa6 test for issue64 2020-10-28 12:57:28 +09:00
kanjitalk755
1f2b35fef2 reserve framebuffer 2020-08-12 11:39:58 +09:00
kanjitalk755
d906fb23b0 CD fix
default palette
2020-08-10 13:01:22 +09:00
kanjitalk755
7c6b9a67f6 the first steps for Apple Silicon 2020-08-08 11:50:55 +09:00
kanjitalk755
a98054215e SDL related fix
update project files
add a pref
2018-06-14 18:26:27 +09:00
kanjitalk755
e01129b748 Merge commit '01f63e605a68856718dd16e07835cd2d61ba6727' into DavidLudwig_and_jvernet 2018-06-14 17:33:25 +09:00
Ricky Zhang
67437652cb
Fix 1 bit BW guest OS frame buffer in 8 bit per pixel SDL surface.
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2017-10-07 22:56:30 -04:00
David Ludwig
1c0e8655dc for non-OSX hosts, make GNU Autotools revert to using SDL 1.x, if SDL 2.x can't be found 2017-09-08 23:43:01 +00:00
David Ludwig
80a30aeca1 HACK fix for Issue #17: Thousands of Colors not working on OSX 2017-08-14 14:08:30 -04:00
David Ludwig
0a7640070a finished fixing issue #16: fixed Thousands of Colors on Linux 2017-08-14 13:45:15 -04:00
David Ludwig
d871b70240 fixed issue #12: make autotools test for SDL2 2017-08-14 12:28:10 -04:00
David Ludwig
1a59a5e6f4 Merge branch 'master' of https://github.com/cebix/macemu 2017-08-14 11:35:43 -04:00
David Ludwig
c6fefd0750 fixed issue #1: SDL2 backend did not support 2 or 4 bit color, in guest OS 2017-08-10 12:31:41 -04:00
Adam Sampson
3fc8924636 Use ucontext_t instead of struct ucontext
ucontext_t is what POSIX requires; glibc no longer provides struct
ucontext as of 2.26: https://sourceware.org/glibc/wiki/Release/2.26

(Most architectures were already using ucontext_t, so this also makes
things more consistent; only arm and mips change.)
2017-08-09 13:04:46 +01:00
David Ludwig
8705276206 updated Windows + MSVC support with SDL2 support 2017-07-23 20:49:29 -04:00
David Ludwig
9128314cb8 Basilisk II compiles on Xcode 8, as a 64-bit Mac app
SDL 1.x is used for display, rather than Mac OS X specific backend.  If time permits, I'll port it to SDL 2, if only to reduce Basilisk's overall code foot-print.

Lots of features are apt to be disabled, as many 'dummy' backends were used.

Video-depths other than 1-bit or 32-bit are untested, and in some cases (4-bit, at least) are currently non-functional.  This is due to a partial re-write of the SDL backend's blitting code, which was non-functional when low-bit-depths were used.

The SDL backend was also rewired, on OSX, to not attempt to align the display buffer on page-boundaries.  So far, this doesn't seem to cause any notice-able problems, however, that's only using limited knowledge and testing (System 7.5.x does boot and display at 640x480, though!).  The original display-buffer allocation code was failing to run, in some cases.

Preferences are, on Mac, currently hardcoded to be accessed at /tmp/BasiliskII/BasiliskII_Prefs.  The folder, "/tmp/BasiliskII/", may be a symbolic link to elsewhere, though.
2017-07-22 17:43:42 -04:00
Alexei Svitkine
db375713bb Fix CrossPlatform files for SheepShaver build and a warning. 2015-12-26 02:17:08 -05:00
James Touton
49f33770ac Resolved numerous MSVC warnings. 2015-08-06 01:57:13 -07:00
James Touton
284900f905 Moved cross-platform sources into their own directory so that Windows builds don't need to add Unix to the include directory list. 2015-08-06 01:53:29 -07:00