{"id":10450,"date":"2015-01-12T16:52:47","date_gmt":"2015-01-12T21:52:47","guid":{"rendered":"http:\/\/mjtsai.com\/blog\/?p=10450"},"modified":"2022-08-04T15:52:33","modified_gmt":"2022-08-04T19:52:33","slug":"using-the-hypervisor-framework-a-simple-dos-emulator","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2015\/01\/12\/using-the-hypervisor-framework-a-simple-dos-emulator\/","title":{"rendered":"Using the Hypervisor Framework: A Simple DOS Emulator"},"content":{"rendered":"<p><a href=\"http:\/\/www.pagetable.com\/?p=764\">Michael Steil<\/a>:<\/p>\n<blockquote cite=\"http:\/\/www.pagetable.com\/?p=764\">\n<p>Since Version 10.10 (Yosemite), OS X contains <a href=\"https:\/\/developer.apple.com\/library\/mac\/releasenotes\/MacOSX\/WhatsNewInOSX\/Articles\/MacOSX10_10.html\">Hypervisor.framework<\/a>, which provides a thin user mode abstraction of the Intel VT features. It enables apps to use virtualization without the need of a kernel extension (KEXT) &#8211; which makes them compatible with the <a href=\"https:\/\/developer.apple.com\/app-store\/review\/guidelines\/mac\/\">OS X App Store guidelines<\/a>.<\/p>\n<p>[&#8230;]<\/p>\n<p>There is no real documentation, but the headers contain a decent amount of information. [&#8230;] So let&rsquo;s create a virtual machine that runs simple DOS applications in 16 bit real mode, and trap all &ldquo;<tt>int<\/tt>&rdquo; DOS system calls &#8211; similar to <a href=\"http:\/\/www.dosbox.com\">DOSBox<\/a>.<\/p>\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>Michael Steil: Since Version 10.10 (Yosemite), OS X contains Hypervisor.framework, which provides a thin user mode abstraction of the Intel VT features. It enables apps to use virtualization without the need of a kernel extension (KEXT) &#8211; which makes them compatible with the OS X App Store guidelines. [&#8230;] There is no real documentation, but [&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":"2022-08-04T19:52:35Z","apple_news_api_id":"974a78f9-f35a-4116-bfc5-14551a414911","apple_news_api_modified_at":"2022-08-04T19:52:35Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/Al0p4-fNaQRa_xRRVGkFJEQ","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":[4],"tags":[733,845,30,903,821,71,2251],"class_list":["post-10450","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-emulator","tag-kernel","tag-mac","tag-mac-os-x-10-10-yosemite","tag-ms-dos","tag-programming","tag-virtualization"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/10450","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=10450"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/10450\/revisions"}],"predecessor-version":[{"id":10451,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/10450\/revisions\/10451"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=10450"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=10450"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=10450"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}