jaromaz / MacintoshPi

MacintoshPi is a project that allows running full-screen versions of Apple's Mac OS 7, Mac OS 8 and Mac OS 9 with sound, active online connection and modem emulation under Raspberry Pi.
https://jm.iq.pl/MacintoshPi
GNU General Public License v2.0
638 stars 23 forks source link

Missing 1920x1080 resolution #34

Open probonopd opened 5 months ago

probonopd commented 5 months ago

How to use 1920x1080 resolution?

The mac command is missing os7-1080, os8-1080, os9-1080.

probonopd commented 5 months ago

Disable underscan (overscan compensation) using sudo raspi-config.

For Mac OS 9, edit /usr/share/macintoshpi/macos9/macos9.cfg to contain screen win/1920/1080. Boot into Mac OS 9, then, Control Panel -> Monitors lets you select 1920x1080 with Millions of colors.

Unfortunately, doing the same for os7 and os8 leads to an unusable (garbled) screen; why?

probonopd commented 5 months ago

This can be remedied by updating SheepShaver and BasiliskII to the actively maintained kanjitalk755 master branch:

# Update SheepShaver and BasiliskII to kanjitalk755 master branch
cd ~
git clone https://github.com/kanjitalk755/macemu
cd macemu/SheepShaver/
make links
cd src/Unix/
NO_CONFIGURE=1 ./autogen.sh && ./configure --enable-sdl-audio --enable-sdl-video --enable-sdl-framework --without-gtk --without-mon --without-esd --enable-addressing=direct,0x10000000
make -j3
sudo make install
cd ~/macemu/BasiliskII/src/Unix/
export CPPFLAGS="-I/usr/local/include/SDL2/"
NO_CONFIGURE=1 ./autogen.sh && ./configure --enable-sdl-audio --enable-sdl-framework --enable-sdl-video --disable-vosf --without-mon --without-esd --without-gtk --disable-nls
make -j3
sudo make install
cd ~

Editing /usr/share/macintoshpi/macos7/macos7.cfg to use screen win/0/0 leads to working native screen resolution, which in my case is FullHD.

Drawing the screen is kinda slow though on Raspberry Pi 3. Are we missing acceleration? Would using Xorg speed it up?