Commit Graph

30 Commits

Author SHA1 Message Date
Ryan Schmidt
425bb8b054 MiniVMac.cc: New method ReadSystemResources
Move the System file resource-reading code out of GetSystemVersion and
into a new ReadSystemResources method which stores the resources in a
new member variable so that it can be used by multiple methods.
2022-09-22 05:27:51 -05:00
Ryan Schmidt
17cbe507a2 MiniVMac.cc: Copy some extensions if present
See: https://github.com/autc04/Retro68/issues/171
2022-09-20 04:54:15 -05:00
Ryan Schmidt
4a7b698ab4 LaunchAPPL: Fix two macOS Mini vMac launching bugs
On all macOS versions, Mini vMac would launch behind other applications
because it was being launched by running the executable within the
application bundle directly. The solution is to let the OS launch the
app normally by using the open utility. This eliminates the 30 lines of
code that laboriously determined the executable name.

On macOS 10.12 and later, Mini vMac could not find the ROM or disk
files. These files were being placed in the same directory as the Mini
vMac application, but a new macOS security measure called Gatekeeper
Path Randomization or App Translocation prevents that from working
anymore. See https://www.gryphel.com/c/minivmac/osx_note.html. The
solution is to place the ROM and disk files within the mnvm_dat
directory in the Contents directory in the application bundle.

The code that copies Mini vMac into the temporary directory had to be
moved earlier so that when the ROM file is symlinked and the disk image
is created the mnvm_dat directory into which they go will be there.

Since more than one method needed to know whether Mini vMac was an app
bundle, a Boolean instance var was added on macOS to indicate that.
2022-08-03 14:07:41 -05:00
Takamichi Horikawa
b6a68b59e9
Fix for Boost 1.79 2022-07-31 15:58:10 +09:00
Wolfgang Thaller
e980af9b91 build fixes for LaunchAPPL client 2021-12-08 21:49:45 +01:00
Tom Fairfield
ca57b0cb67 Fixes typo in LaunchAPPL client. 2021-04-12 12:19:21 -07:00
Wolfgang Thaller
4e7e895782 slight cleanup in class ResourceFile 2019-08-25 17:48:02 +02:00
Wolfgang Thaller
e5185d23c3 Switch tab-indented files to 4-space indent 2019-08-18 13:21:00 +02:00
Wolfgang Thaller
b99f252a27 add missing include (see #80) 2019-03-13 22:42:54 +01:00
Wolfgang Thaller
8d277dfbfa make LaunchAPPL work when only the needed autoquit/autquit7 image is specified 2019-02-11 21:20:21 +01:00
Szymon Łopaciuk
89d4565f0d Autodetect System version for correct AutoQuit
Reads the System resource to find out the System Software
version for running correct AutoQuit.

Includes other minor changes.

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-10 01:56:37 +00:00
Szymon Łopaciuk
a3919a0bb4 Add support for using AutQuit7
This allows the user to choose whether to use AutoQuit or AutQuit7
(which supports System 7). When the path to AutQuit7 is specified,
it will be configured according to the instructions at
https://www.gryphel.com/c/minivmac/extras/autquit7/ by putting an
alias to AutQuit7 in the "Startup Items" folder. That will cause
the application named "app" in the folder of AutQuit7 (top level,
no change) to start on boot, and will shut down the OS when quit.

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-07 23:00:25 +00:00
Szymon Łopaciuk
fe00dde02b Fix error on ROM symlink creation if name non-standard
This fixes a bug that appeares when using LaunchAPPL
with Mini vMac and a ROM which name is not "vMac.ROM".

Signed-off-by: Szymon Łopaciuk <szymon@lopaciuk.eu>
2019-02-06 00:04:57 +00:00
Wolfgang Thaller
94c4bbabae StreamBasedLauncher: add missing #include 2019-01-26 14:43:43 +01:00
Wolfgang Thaller
d16f1aae6b LaunchAPPL: shared file transport 2019-01-23 19:41:12 +01:00
Wolfgang Thaller
999897be07 Disk copy 4.2 image support for LaunchAPPL -e minivmac (fixes #76) 2019-01-19 11:47:10 +01:00
Wolfgang Thaller
09110dbff4 LaunchAPPL: delay 0.1 seconds so that server has time to reopen the port 2019-01-09 00:33:04 +01:00
Wolfgang Thaller
380fef0114 cleanup CMAKE_CXX_FLAGS and fix various warnings 2019-01-04 03:35:32 +01:00
Wolfgang Thaller
9dd308687b LaunchAPPL: TCP support 2018-05-14 00:41:12 +02:00
Wolfgang Thaller
f1fd304af4 LaunchAPPLServer: remote upgrade capability 2018-05-05 23:55:36 +02:00
Wolfgang Thaller
569ef3d65e LaunchAPPL/Serial: send type/creator code 2018-05-05 18:53:27 +02:00
Wolfgang Thaller
ca17e9ff0c LaunchAPPL/Serial: resend reset after timeout 2018-05-05 18:42:42 +02:00
Wolfgang Thaller
022f29e25d Some documentation for LaunchAPPL's new features 2018-05-02 22:16:32 +02:00
Wolfgang Thaller
6eb7da51c3 LaunchAPPL/Serial: configurable bauf rate 2018-04-27 09:14:48 +02:00
Wolfgang Thaller
f2542a0ff9 LaunchAPPL/Serial: send response 2018-04-27 09:14:48 +02:00
Wolfgang Thaller
d9ab8bee37 LaunchAPPL/Serial: stream resetting 2018-04-27 09:14:48 +02:00
Wolfgang Thaller
fc9f941891 LaunchAPPL/Serial: start a nice GUI for the server 2018-04-27 09:14:48 +02:00
Wolfgang Thaller
c9f125cb22 LaunchAppl/Serial: towards reliable data transmission 2018-04-27 09:13:59 +02:00
Wolfgang Thaller
bafd53f2ae LaunchAPPL: serial connection 2018-04-27 09:05:26 +02:00
Wolfgang Thaller
bdf4685d82 start a LaunchAPPL server 2018-04-27 09:05:26 +02:00