Page 1 of 1

kanjitalk755's BasiliskII code under MacOS

Posted: Mon Jan 21, 2019 2:53 am
by emendelson
In order for BasiliskII (built from kanjitalk755's latest code) to run correctly on a retina Mac, edit the info.plist file in the source code, and add the key:

High Resolution Capable

and set it to:

NO

Re: kanjitalk755's BasiliskII code under MacOS

Posted: Mon Jan 21, 2019 3:14 am
by emendelson
As in the Windows code that I described in a different thread, kanjitalk755's BasiliskII code for MacOSX can default to using a ROM file named "ROM" (in the same folder with the app) by adding these two lines to main_unix.cpp, after line 672:

Code: Select all

   if (PrefsFindString("rom", 0) == NULL) 
        rom_path = ("ROM");                 
And it can default to mounting a disk image named BasiliskII.dsk (in the same folder with the app) by adding these two lines to sys_unix.cpp, after line 339 (between the curly bracket and #endif):

Code: Select all

#else                                          // emendelson
    PrefsAddString("disk", "BasiliskII.dsk");  // emendelson

Re: kanjitalk755's BasiliskII code under MacOS

Posted: Mon Jan 21, 2019 3:21 am
by emendelson
And here is a build modified as described in the earlier posts in this thread:

http://www.columbia.edu/~em36/BasiliskI ... atched.zip