* TinkerDifferent *
Retro Computing Community
Home | Forums | What's New | Search | Settings
Efficient web-based classic Mac emulator

Forums > The Lab > Software

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
Apr 1, 2022 - #1
As my MARCHintosh2022 project I've wrapped some work extending the web version of Basilisk II from a few years ago, and have published system7.app and macos8.app.

They feature instant booting (the disk image is streamed instead of needing to be downloaded at startup), much lower CPU utilization, and support for interacting with the "outside world" by dragging files in and out. I also wrote a blog post with more details.

Hope it's useful as a lower-barrier to entry to show others what the classic Mac era was like. The web works pretty much everywhere, and so do these emulators (including on iOS devices).

Liked by ScarletSwordfish,Kai Robinson,retr01and 10 others

eric
Administrator
MN
--------
Joined: Sep 2, 2021
Posts: 1,149
Likes: 1,928
Apr 1, 2022 - #2
This is amazing. Tested it out on an iPad and sim city 2k loaded right up. It's fast! I'll play more tomorrow, great work!

Liked by adamgracrrgvandPotatoFi

Drake
TinkerDifferent Board Vice-President 2023
--------
Joined: Sep 23, 2021
Posts: 449
Likes: 788
Apr 1, 2022 - #3
My entire life I've been waiting to load OS8 on my mobile phone, today was that day.

Guess I can recycle all these classic Macs!!

Liked by rjkuciaandVolvo242GT

landogriffin
Tinkerer
Iowa
--------
Joined: Sep 23, 2021
Posts: 42
Likes: 44
Apr 1, 2022 - #4
Absolutely amazing!!! Great job!!

PotatoFi
Active Tinkerer
--------
Joined: Oct 18, 2021
Posts: 181
Likes: 372
Apr 1, 2022 - #5
This is incredible. Marathon runs great! "Nice work" feels like an understatement!

Volvo242GT
Tinkerer
Currently Duvall, WA
--------
Joined: Feb 7, 2022
Posts: 365
Likes: 204
Apr 1, 2022 - #6
Pretty cool. On my MBP, it seems to be running at Mac Plus speed, at least under FF 78.

@Drake with respect to recycling all your old Macs, I think not... lol

caver01
Tinkerer
--------
Joined: Oct 30, 2021
Posts: 201
Likes: 144
Apr 1, 2022 - #7
This is very cool. Messing around on an iPad Pro with the magic keyboard, but the trackpad has some odd behavior. The keyboard works, but clicking the touchpad does nothing, and the arrow cursor does not respond unless I do a two-finger reverse-pinch which is being interpretted like a click-drag in the emulator.

I have not tried it on a modern mac or PC, just iPad. It is still an incredible achievement! Thanks for posting these.

eric
Administrator
MN
--------
Joined: Sep 2, 2021
Posts: 1,149
Likes: 1,928
Apr 1, 2022 - #8
@mihai - with your "Dockerfile" approach to building images - I attempted a similar thing wrapping hfsutils, while it worked, it was clunky - so glad to see machfs! One question though - are you able to add attributes and bless system folders? even with hfsutils blessing never seemed to actually do anything.

reallyrandy
Tinkerer
New Jersey
--------
Joined: Oct 30, 2021
Posts: 187
Likes: 81
Apr 1, 2022 - #9
This is great. Are you planning network connectivity at some point? I'd love to browse hotline!

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
Apr 2, 2022 - #10
>> eric said:
@mihai - with your "Dockerfile" approach to building images - I attempted a similar thing wrapping hfsutils, while it worked, it was clunky - so glad to see machfs! One question though - are you able to add attributes and bless system folders? even with hfsutils blessing never seemed to actually do anything. Click to expand...

I have not encountered any issues with blessing of system folders with machfs. It does appear to track where the system folder is, and that appears to be empirically correct.

It also has an API for Finder attributes, which has worked well for me.

Liked by eric

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
Apr 2, 2022 - #11
>> reallyrandy said:
This is great. Are you planning network connectivity at some point? I'd love to browse hotline! Click to expand...

That's a pretty ambitious project, and something that I'm not likely to have time for. OldWeb.Today does do something like this (using the same original emulator), they have a technical description of what it takes.

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
Apr 2, 2022 - #12
>> caver01 said:
This is very cool. Messing around on an iPad Pro with the magic keyboard, but the trackpad has some odd behavior. The keyboard works, but clicking the touchpad does nothing, and the arrow cursor does not respond unless I do a two-finger reverse-pinch which is being interpretted like a click-drag in the emulator. Click to expand...

This is being tracked at https://github.com/mihaip/infinite-mac/issues/33.

Liked by caver01

Byte Knight
Tinkerer
--------
Joined: Oct 21, 2021
Posts: 133
Likes: 116
Apr 2, 2022 - #13
Wow! I thought os9.ca was cool but this is an actual emulator. Nice job!! Agreed that network connectivity would be awesome.

Eric's Edge
Tinkerer
--------
Joined: Oct 31, 2021
Posts: 131
Likes: 96
Apr 5, 2022 - #14
This is very cool. I used to use macintosh.js but found it too much of a resource hog.

pfuentes69
Active Tinkerer
Switzerland
--------
Joined: Oct 27, 2021
Posts: 380
Likes: 297
Apr 8, 2022 - #15
Hello,
This is insanely great.
I have an issue, though... When I try to upload something to my MacBook (i.e. a game I want to install in a real classic Mac) I just get "document" files.
Is there a trick for not losing the file type info?

Edit: I have also the same problem when trying to move files to the VM. I tried to move an Application or a SIT and the file type is lost.

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
Apr 8, 2022 - #16
>> pfuentes69 said:
When I try to upload something to my MacBook (i.e. a game I want to install in a real classic Mac) I just get "document" files. Is there a trick for not losing the file type info? Edit: I have also the same problem when trying to move files to the VM. I tried to move an Application or a SIT and the file type is lost. Click to expand...

The browser file APIs unfortunately don't preserve metadata (or resource forks). Archives like .hqx or .sits should work though. You may need to manually drag them into the Stuffit Expander icon (it's in the Utilities folder), there's a separate known issue with rebuilding the desktop database that makes the file association not get picked up.

pfuentes69
Active Tinkerer
Switzerland
--------
Joined: Oct 27, 2021
Posts: 380
Likes: 297
Apr 8, 2022 - #17
>> mihai said:
The browser file APIs unfortunately don't preserve metadata (or resource forks). Archives like .hqx or .sits should work though. You may need to manually drag them into the Stuffit Expander icon (it's in the Utilities folder), there's a separate known issue with rebuilding the desktop database that makes the file association not get picked up. Click to expand...
Thanks. Actually what I wanted is to "steal" some games of your default setup :)
I'll see if I can install StuffIT so I can compress some folders and export.

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
Apr 8, 2022 - #18
>> pfuentes69 said:
Thanks. Actually what I wanted is to "steal" some games of your default setup Click to expand...

Most of the games are downloaded and installed from existing disk images and archives, see all of the JSON files in https://github.com/mihaip/infinite-mac/tree/main/Library/Games. They have a src_url field the URL where you can get them from.

Liked by retr01andfogWraith

retr01
Senior Tinkerer
Utah, USA
--------
Joined: Jun 6, 2022
Posts: 2,474
Likes: 810
May 9, 2023 - #19
Love this! TBH, it seems to work way better than Basilik or vMiniMac.

I want more options than just Mac SE, Mac II, etc. I'd love to see SE/30, Quadra 950, etc. Oh, SE/30 (24-bit Dirty) and SE/30 (32-bit Clean)? :)

What is the maximum upload file size?

I want to mount my own HDD or CD images and even start up with my own HDD image. Maybe have a setting to start up my own HDD image?

mihai
New Tinkerer
--------
Joined: Nov 1, 2021
Posts: 8
Likes: 19
May 15, 2023 - #20
>> retr01 said:
Love this! TBH, it seems to work way better than Basilik or vMiniMac. I want more options than just Mac SE, Mac II, etc. I'd love to see SE/30, Quadra 950, etc. Oh, SE/30 (24-bit Dirty) and SE/30 (32-bit Clean)? Click to expand...

Out of curiosity, what would the additional ROM options gain you? This is fundamentally a web port of Mini vMac, Basilisk II and SheepShaver, and I've tied to choose a representative set of ROMs that allow the broadest set of operating systems to be run.

>> retr01 said:
What is the maximum upload file size? Click to expand...

It should be 1GB in theory, though I have not tried it in practice.


>> retr01 said:
I want to mount my own HDD or CD images and even start up with my own HDD image. Maybe have a setting to start up my own HDD image? Click to expand...

That's something I'm exploring -- with recent web APIs it should be possible to load a local disk image in read/write mode. You can subscribe to https://github.com/mihaip/infinite-mac/issues/164 if you'd like to get updates.

Liked by retr01

Page 1 of 2 | Next > | Last >>

Home | Forums | What's New | Search | Bookmarks | RSS | Original | Settings
XenForo Retro Proxy by TinkerDifferent.com