mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-06-18 12:29:39 +00:00
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.
23 lines
486 B
Bash
Executable File
23 lines
486 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
#
|
|
# osx_generate_files.sh
|
|
#
|
|
# Generates files for 68k emulation, via UAE's virtual cpu, for use on Mac OS X hosts
|
|
#
|
|
|
|
SCRIPT_DIRNAME="$(cd $(dirname $0) && pwd)"
|
|
cd "$SCRIPT_DIRNAME"
|
|
|
|
echo "build68k: compiling"
|
|
clang build68k.c -o build68k -I ../MacOSX/ -I ../Unix/
|
|
|
|
echo "build68k: running"
|
|
cat table68k | ./build68k > ./defs68k.c
|
|
|
|
echo "gencpu: compiling"
|
|
clang gencpu.c ./defs68k.c readcpu.cpp -o gencpu -I . -I ../MacOSX/ -I ../Unix/
|
|
|
|
echo "gencpu: running"
|
|
./gencpu
|