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
asvitkine
b5820d8059
Merge pull request #113 from bvarner/bitbakeable
...
Changes to the Configure script to improve cross-compiling
2017-07-21 00:16:45 -04:00
asvitkine
ac4955dcb9
Merge pull request #112 from dmac100/relative_mouse
...
SDL: Use relative mouse values when grabbed.
2017-07-21 00:14:45 -04:00
bvarner
53e965a223
Remove unnecessary comment.
2017-07-20 23:22:10 -04:00
bvarner
2210c87233
Updates to signal handling detection, enabling vosf for cross-compiled overrides.
2017-07-20 18:53:04 -04:00
bvarner
87ae776a41
Consistency...
2017-07-20 18:28:24 -04:00
bvarner
02ec5fc7d4
Added environment variable overrides for cross-compile defaults using AC_ARG_VAR.
...
This lets you setup an environment to cross-compile, with extended support for how things will behave.
This should let the build play nicely with bitbake, without changing the --flags, and without breaking existing behaviors.
2017-07-20 17:18:55 -04:00
dmac
9f58eb96dc
Use relative mouse values when grabbed in sdl.
2017-07-16 12:07:08 +01:00
bvarner
1eae4613c6
Added gitignores for quilt patches
2017-07-14 15:08:02 -04:00
bvarner
bd3ef905fb
Don't do that.
2017-07-14 15:07:31 -04:00
bvarner
df6d21c394
I'm stashing there here, even though i probably shouldn't.
2017-07-14 15:06:12 -04:00
bvarner
1bfd163cf5
Better handling of SDL.
2017-07-14 12:50:45 -04:00
bvarner
cc3c3edcc0
Updates
2017-07-14 12:42:10 -04:00
bvarner
ca56f6f263
Ah, yeah. whoopse.
2017-07-14 12:30:53 -04:00
bvarner
35de22c444
Undo the SDL bits to favor the pkg-config bits. This should be more portable. I'm not sure if I'm breaking the cygwin build here, so I may have to give that a shot.
2017-07-14 12:25:37 -04:00
bvarner
65d44391c3
Other generated sources when not using JIT
2017-06-29 00:19:40 -04:00
bvarner
9f9893f178
move some things around here.
2017-06-28 23:37:55 -04:00
bvarner
c93058f9a6
Use SDL 1. This isn't an SDL2 App. D'oh
2017-06-28 18:06:16 -04:00
bvarner
859c4f29b5
Undo a debug output and set sigsegv_recovery if we force ac_cv_have_extended_signals.
2017-06-28 18:02:37 -04:00
bvarner
89cf05aec6
Adding an echo here to see if it's testing under a cross-build.
2017-06-28 17:57:51 -04:00
bvarner
b5790efba9
Added an enable option to force cross-compiles to use extended signal handling.
2017-06-28 17:53:45 -04:00
bvarner
9dc8bba39a
Added SDL2 macros
2017-06-28 16:14:09 -04:00
bvarner
023d0d57c7
Condense to guilty until proven innocent.
2017-06-28 15:54:00 -04:00
bvarner
9735385a47
Testing this out just to see what the output is underbitbake
2017-06-28 15:48:29 -04:00
bvarner
7ae960e4eb
Add npth to the search path.
2017-06-28 15:00:45 -04:00
bvarner
a1bea9b897
Oh yeah, use a list.
2017-06-28 13:20:15 -04:00
bvarner
94a385352e
bitbake still couldn't find it, so let's try brackets.
2017-06-28 13:17:12 -04:00
bvarner
ffa877ee6c
Use AC_SEARCH_LIBS for pthread location.
2017-06-28 13:10:59 -04:00
bvarner
f2acf91add
Adding addtional Quote around expressions in AC_TRANSLATE_DEFINE. During cross-compile builds, when values contain 'guessing yes' the single-bracket expands to multiple argments. Adding the additional quote around the entire expression avoids this. The translate call to was missing quotes, which was inconsistent with the rest of the translate calls.
2017-06-28 12:38:50 -04:00
bvarner
e671489ad1
Updated configure.ac with openssl cross-compiling updates for /dev/ptc and /dev/ptmx
2017-06-28 11:58:55 -04:00
Alexei Svitkine
14f2e85c6f
silence some warnings
2017-04-20 20:44:03 -04:00
Alexei Svitkine
79ec72e0cb
Remove -lclip from xcode8 project.
2017-03-31 01:08:44 -04:00
asvitkine
a436ec2b62
Merge pull request #105 from b-/patch-1
...
Update XcodeBuildHowTo.txt
2017-01-16 22:29:06 -05:00
Brian Recchia
43df07e706
Update XcodeBuildHowTo.txt
...
removed dungeons from project
2017-01-16 16:00:36 -05:00
Alexei Svitkine
181634ab31
Fix more Xcode8 warnings and tweak project settings.
2016-12-17 23:31:03 -05:00
Alexei Svitkine
4fffae7ff8
Fold clip into sheepshaver target in Xcode8.
2016-12-17 22:59:22 -05:00
Alexei Svitkine
3985c6afdc
Make some Xcode8 project settings consistent.
2016-12-17 22:52:59 -05:00
Alexei Svitkine
6bc3dd29a8
Fix off by one error in sscanf length arg.
2016-12-17 22:43:38 -05:00
Alexei Svitkine
d19e757e1c
Fix some more Xcode8 warnings & analyze warnings.
2016-12-17 22:24:00 -05:00
Alexei Svitkine
1f211fb37b
fix some warnings in Xcode8 build
2016-12-17 22:04:57 -05:00
Alexei Svitkine
5538376dc8
Add an Xcode 8 project for SheepShaver that builds an x86 32-bit
...
application (since 64-bit doesn't work with current OS X) and uses
pre-built (by GCC) compiler JIT source files.
2016-12-17 21:38:25 -05:00
asvitkine
84dfc1e98d
Merge pull request #87 from runn1ng/master
...
Making tunconfig working
2016-11-20 20:08:55 -05:00
Alexei Svitkine
268611ca75
Fix SLIRP networking on OS X (and maybe other platforms?).
...
The bug was introduced by 0daa18ab2a
,
which erroneously changed some signed types to unsigned types,
breaking logic involving negative numbers (e.g. when subtracting
sizes).
2016-11-02 02:08:51 -04:00
asvitkine
3cb91cc003
Merge pull request #95 from atsampson/master
...
Add MacTimeToTime to SheepShaver's macos_util.
2016-08-26 11:55:07 -04:00
Adam Sampson
b44a674d7e
Add MacTimeToTime to SheepShaver's macos_util.
...
Commit e1693eb92b
made extfs_unix.cpp
require this function in both BasiliskII and SheepShaver, but only added
the function itself to BasiliskII.
2016-08-20 03:14:21 +01:00
asvitkine
1bf6f4d640
Merge pull request #92 from rickyzhang82/customized-color-depth
...
Customized color depth in SDL
2016-08-19 06:18:02 -07:00
asvitkine
ad270e5a84
Merge pull request #94 from rickyzhang82/pr-sheep-net-bug-fix
...
Fixed show stopper bug in sheep_net module.
2016-08-19 06:16:53 -07:00
Ricky Zhang
042574382e
1. Added document for sheep_net module.
...
2. Fixed wrong use of ipip_hdr. It is for IP tunnel. This caused serious issues in IP packet filtering. Basically, it filtered out most packets sent from outsides. The correct way to get IP header destination IP address is ip_hdr.
3. Fixed ARP spoofing from guest OS to host OS. At anytime fake MAC address should be hided.
4. Changed module init and remove as non debug message.
Signed-off-by: Ricky Zhang <rickyzhang@gmail.com>
2016-08-18 14:00:09 -04:00
Ricky Zhang
10e4bba941
Add customized color depth in SDL. To change color depth, add bit of color depth as displaycolordepth prefs in .basilisk_ii_prefs.
2016-08-15 07:38:25 -04:00
asvitkine
dc112290ac
Merge pull request #90 from rickyzhang82/sheep-net-bug-fix
...
Fix sk_alloc function change since 4.2 Linux kernel.
2016-08-13 09:10:56 -07:00