{"id":17761,"date":"2017-04-17T09:10:35","date_gmt":"2017-04-17T13:10:35","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=17761"},"modified":"2017-04-19T15:42:06","modified_gmt":"2017-04-19T19:42:06","slug":"classic-mac-emulation-in-the-browser","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2017\/04\/17\/classic-mac-emulation-in-the-browser\/","title":{"rendered":"Classic Mac Emulation in the Browser"},"content":{"rendered":"<p><a href=\"http:\/\/blog.archive.org\/2017\/04\/16\/early-macintosh-emulation-comes-to-the-archive\/\">Internet Archive<\/a> (via <a href=\"https:\/\/twitter.com\/textfiles\/status\/853629923839401985\">Jason Scott<\/a>, <a href=\"https:\/\/news.ycombinator.com\/item?id=14126153\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"http:\/\/blog.archive.org\/2017\/04\/16\/early-macintosh-emulation-comes-to-the-archive\/\"><p>After offering in-browser emulation of <a href=\"https:\/\/archive.org\/details\/consolelivingroom\">console games<\/a>, <a href=\"https:\/\/archive.org\/details\/internetarcade\">arcade machines<\/a>, and a range of <a href=\"https:\/\/archive.org\/details\/softwarelibrary?and[]=mediatype%3A%22collection%22\">other home computers<\/a>, the Internet Archive can now emulate the early models of the Apple Macintosh, the black-and-white, mouse driven computer that radically shifted the future of home computing in 1984.<\/p>\n<p>[&#8230;]<\/p>\n<p>The first set&nbsp;of emulated Macintosh software is&nbsp;<a href=\"https:\/\/archive.org\/details\/softwarelibrary_mac\">located in this collection<\/a>. This is a curated presentation of applications, games, and operating systems from 1984-1989.<\/p><\/blockquote>\n\n<p><a href=\"https:\/\/jamesfriend.com.au\/porting-pce-emulator-browser\">James Friend<\/a>:<\/p>\n<blockquote cite=\"https:\/\/jamesfriend.com.au\/porting-pce-emulator-browser\"><p>This is great because it provides\nthe same level of accessibility and convenience to emulation as you&rsquo;d expect of\nplaying a media file or viewing a document.<\/p>\n<p>When you start up the emulated computer on these pages of the Internet Archive,\nyou&rsquo;re running the <a href=\"http:\/\/hampa.ch\/pce\/\">PCE<\/a> emulator, originally a piece of software intended to run\nnatively on desktop operating systems, which has been adapted and recompiled to\nrun in your web browser. As the person who did the initial work of porting this\nemulator, I thought it would be worthwhile to provide a run-down of the tools and\ngross hacks which made this possible.<\/p>\n<p>[&#8230;]<\/p>\n<p>I realised that in classic Mac OS, the mouse\nposition is stored in a few fixed absolute locations in the computer&rsquo;s memory, called\n&lsquo;low memory globals&rsquo;. Basically, I directly write the mouse position value into the\nemulated computer&rsquo;s memory.<\/p>\n<\/blockquote>\n\t\n<p><a href=\"https:\/\/news.ycombinator.com\/item?id=14126658\">TillE<\/a>:<\/p>\n<blockquote cite=\"https:\/\/news.ycombinator.com\/item?id=14126658\"><p>It&rsquo;s pretty strange to see archive.org adding more and more stuff that&rsquo;s under copyright without explicit permission.<\/p><\/blockquote>\n\n<p>Update (2017-04-19): See also: <a href=\"https:\/\/daringfireball.net\/linked\/2017\/04\/18\/classic-mac-emulator\">John Gruber<\/a>.<\/p>","protected":false},"excerpt":{"rendered":"<p>Internet Archive (via Jason Scott, Hacker News): After offering in-browser emulation of console games, arcade machines, and a range of other home computers, the Internet Archive can now emulate the early models of the Apple Macintosh, the black-and-white, mouse driven computer that radically shifted the future of home computing in 1984. [&#8230;] The first set&nbsp;of [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"","apple_news_api_id":"","apple_news_api_modified_at":"","apple_news_api_revision":"","apple_news_api_share_url":"","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[167,733,295,1127,346,737,30,74,96],"class_list":["post-17761","post","type-post","status-publish","format-standard","hentry","category-technology","tag-copyright","tag-emulator","tag-history","tag-internet-archive","tag-javascript","tag-kid-pix","tag-mac","tag-opensource","tag-web"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17761","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=17761"}],"version-history":[{"count":3,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17761\/revisions"}],"predecessor-version":[{"id":17787,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/17761\/revisions\/17787"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=17761"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=17761"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=17761"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}