{"id":265015,"date":"2023-03-16T10:51:08","date_gmt":"2023-03-16T02:51:08","guid":{"rendered":"https:\/\/lrxjmw.cn\/?p=265015"},"modified":"2023-02-25T20:52:46","modified_gmt":"2023-02-25T12:52:46","slug":"ubuntu-dosbox","status":"publish","type":"post","link":"https:\/\/lrxjmw.cn\/ubuntu-dosbox.html","title":{"rendered":"\u5728 Ubuntu \u4e2d\u5b89\u88c5 DOSBox \u73a9\u8001\u6e38\u620f"},"content":{"rendered":"\n\n\n
\u5bfc\u8bfb<\/td>\n\u4e86\u89e3\u5982\u4f55\u5728 Ubuntu \u4e2d\u5b89\u88c5 DOSBox\uff0c\u5e76\u914d\u7f6e\u5b83\u6765\u73a9\u65e7\u5f0f DOS \u6e38\u620f\u3002 <\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n

DOSBox \u662f\u4e00\u4e2a\u81ea\u7531\u5f00\u6e90\u7684\u64cd\u4f5c\u7cfb\u7edf\u6a21\u62df\u5668\uff0c\u53ef\u4ee5\u5728\u73b0\u4ee3 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c\u3002\u5b83\u6709\u51e0\u4e2a\u7ec4\u4ef6\u53ef\u4ee5\u6a21\u4eff\u65e7\u7684\u786c\u4ef6\uff0c\u4ee5\u8fd0\u884c\u65e7\u7684\u7a0b\u5e8f\u548c\u6e38\u620f\u3002<\/p>\n

\u8fd9\u4e00\u5207\u4f7f\u5f97\u5728\u73b0\u4ee3 Linux \u53d1\u884c\u7248\u4e2d\u4eab\u53d7\u65e7\u6e38\u620f\u548c\u5e94\u7528\u7a0b\u5e8f\u6210\u4e3a\u53ef\u80fd\u3002<\/p>\n

\u5728\u672c\u6307\u5357\u4e2d\uff0c\u6211\u5c06\u5411\u4f60\u5c55\u793a\u5982\u4f55\u5b89\u88c5 DOSBox\uff0c\u914d\u7f6e\u5b83\uff0c\u5e76\u73a9\u4e00\u4e2a\u793a\u4f8b\u6e38\u620f\u3002<\/p>\n

\u5728 Ubuntu \u4e2d\u5b89\u88c5 DOSBox<\/strong><\/div>\n

DOSBox \u7684\u4e3b\u8f6f\u4ef6\u5305\u5728\u6240\u6709\u4e3b\u8981\u7684 Linux \u53d1\u884c\u7248\u4e2d\u90fd\u53ef\u7528\u3002<\/p>\n

\u5728 Ubuntu\u3001Debian\u3001LinuxMint \u548c\u76f8\u5173\u53d1\u884c\u7248\u4e2d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5b83\uff1a<\/p>\n

\r\nsudo apt install dosbox\r\n<\/pre>\n

\u5728 Fedora\u3001CentOS\u3001RHEL \u548c\u76f8\u5173\u53d1\u884c\u7248\u4e2d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5b83\uff1a<\/p>\n

\r\nsudo dnf install dosbox\r\n<\/pre>\n

\u5728 Arch Linux \u4e2d\uff0c\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\u5b83\uff1a<\/p>\n

\r\npacman -S --needed dosbox\r\n<\/pre>\n

\u5b89\u88c5\u5c31\u7ed3\u675f\u4e86\u3002\u73b0\u5728\u662f\u914d\u7f6e\u548c\u8fd0\u884c\u7684\u65f6\u5019\u4e86\u3002<\/p>\n

\u8fd0\u884c DOSBox<\/strong><\/div>\n

\u5b89\u88c5\u540e\uff0c\u4ece\u7ec8\u7aef\u952e\u5165\u4ee5\u4e0b\u5185\u5bb9\uff1a<\/p>\n

\r\ndosbox\r\n<\/pre>\n

\u5b83\u5c06\u663e\u793a\u4ee5\u4e0b\u754c\u9762\uff0c\u8fd9\u662f DOSBox \u63d0\u793a\u7b26\u3002\u7b2c\u4e00\u6b21\u8fd0\u884c\u975e\u5e38\u91cd\u8981\uff0c\u56e0\u4e3a\u5b83\u4f1a\u521b\u5efa DOSBox \u914d\u7f6e\u6587\u4ef6\u3002<\/p>\n

\u952e\u5165 \u200b\u200bexit\u200b\u200b \u6682\u65f6\u5173\u95ed DOSBox\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u914d\u7f6e\u6587\u4ef6\u4e3a\u4f60\u63d0\u4f9b\u4e86\u51e0\u4e2a\u8c03\u6574\u8bbe\u7f6e\u7684\u9009\u9879\u3002\u5728 Ubuntu \u4e2d\uff0c\u8be5\u6587\u4ef6\u521b\u5efa\u5728 \u200b\u200b~\/.dosbox\/dosbox-[version].conf\u200b\u200b\u3002<\/p>\n

\u5728 Fedora \u4e2d\uff0c\u5b83\u4ece\u4ee5\u4e0b\u8def\u5f84\u52a0\u8f7d\u4e34\u65f6\u914d\u7f6e\u6587\u4ef6 \u200b\u200b~\/.config\/dosbox\/dosbox-staging.conf\u200b\u200b.<\/p>\n

\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u9ed8\u8ba4\u914d\u7f6e\u3002\u4f46\u662f\u5982\u679c\u4f60\u613f\u610f\uff0c\u4f60\u53ef\u4ee5\u4fee\u6539\u5b83\u3002<\/p>\n

\u4f8b\u5982\uff0c\u5982\u679c\u4f60\u60f3\u5168\u5c4f\u542f\u52a8 DOSBox\uff0c\u4f60\u53ef\u4ee5\u542f\u7528\u6216\u7981\u7528\u76f8\u5173\u8bbe\u7f6e\u3002\u50cf\u8fd9\u6837:<\/p>\n

\r\nfullscreen=false\r\nfulldouble=false\r\nfullresolution=original\r\nwindowresolution=original\r\noutput=surface\r\nautolock=true\r\nsensitivity=100\r\nwaitonerror=true\r\n<\/pre>\n

\u4f60\u53ef\u4ee5\u5728 \u200b\u200b\u5b98\u65b9\u6587\u6863\u200b\u200b \u4e2d\u627e\u5230\u6240\u6709\u7684\u8bbe\u7f6e\u9009\u9879\u3002
\n\u4e0b\u8f7d\u4ee5\u53ca\u6e38\u73a9\u8001\u6e38\u620f<\/p>\n

\u6709\u8bb8\u591a\u7f51\u7ad9\u63d0\u4f9b\u65e7\u7684 DOS \u6e38\u620f\u3002\u6211\u4f7f\u7528\u8fc7\u4e0b\u9762\u7684\u7f51\u7ad9\uff0c\u5b83\u63d0\u4f9b\u4e86\u4e00\u5957\u53ef\u4ee5\u5728\u73b0\u4ee3\u7cfb\u7edf\u4e2d\u73a9\u7684\u8001\u6e38\u620f\u3002
\n\u5728\u4f60\u7684 \u200b\u200b\/home\u200b\u200b\u200b \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u6587\u4ef6\u5939\uff0c\u5e76\u5c06\u5176\u547d\u540d\u4e3a \u200b\u200bdosbox\u200b\u200b\uff1a<\/p>\n

\r\ncd ~\r\nmkdir dosbox\r\n<\/pre>\n

\u73b0\u5728\uff0c\u89e3\u538b\u4f60\u4e0b\u8f7d\u7684\u6e38\u620f\uff08\u5e94\u8be5\u662f\u4e00\u4e2a .exe \u6587\u4ef6\uff09\uff0c\u5728 \u200b\u200b~\/dosbox\u200b\u200b \u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u5355\u72ec\u7684\u6587\u4ef6\u5939\u3002<\/p>\n

\u4f8b\u5982\uff0c\u6211\u4e0b\u8f7d\u4e86\u6e38\u620f \u201c\u9a6c\u91cc\u5965\u548c\u8def\u6613\u5409\uff081994\uff09\u201d\u3002\u6211\u5728 \u200b\u200bdosbox\u200b\u200b\u200b \u6587\u4ef6\u5939\u4e2d\u521b\u5efa\u4e86\u4e00\u4e2a\u540d\u4e3a \u200b\u200bmario\u200b\u200b \u7684\u6587\u4ef6\u5939\uff0c\u5e76\u5c06\u6e38\u620f\u6587\u4ef6\u653e\u8fdb\u53bb\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u73b0\u5728\u4ece\u7ec8\u7aef\u542f\u52a8 dosbox,\u5e76\u952e\u5165\u4ee5\u4e0b\u5185\u5bb9\uff0c\u5c06\u6e38\u620f\u6302\u8f7d\u5230\u865a\u62df\u7684 C: \u76d8\u4e2d\uff1a<\/p>\n

\r\nmount c ~\/dosbox\/mario\r\n<\/pre>\n

\u4ee5\u4e0a\u547d\u4ee4\u5b8c\u6210\u540e\uff0c\u5c06\u9a71\u52a8\u5668\u66f4\u6539\u4e3a C:\uff1a<\/p>\n

\r\nc:\r\n<\/pre>\n

\u73b0\u5728\uff0c\u4f60\u53ef\u4ee5\u8f93\u5165\u6e38\u620f\u7684\u6587\u4ef6\u540d\u6765\u8fd0\u884c\u6e38\u620f\uff1a<\/p>\n

\r\nmario\r\n<\/pre>\n

\"\"<\/a><\/p>\n

\u952e\u76d8\u6216\u63a7\u5236\u5668\u6620\u5c04<\/strong><\/div>\n

\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0cDOSBox \u4f1a\u81ea\u52a8\u68c0\u6d4b\u952e\u76d8\u6216\u4f60\u63d2\u5165\u7684\u63a7\u5236\u5668\u3002\u4f46\u662f\uff0c\u5982\u679c\u4f60\u60f3\u66f4\u6539\u6e38\u620f\u6309\u952e\u7ed1\u5b9a\uff0c\u53ef\u4ee5\u4ece\u7ec8\u7aef\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\uff1a<\/p>\n

\r\ndosbox -startmapper\r\n<\/pre>\n

\u5b83\u5c06\u663e\u793a\u4ee5\u4e0b\u754c\u9762\uff0c\u6bcf\u4e2a\u952e\u4e0a\u90fd\u6807\u8bb0\u6709\u4e8b\u4ef6\u3002\u4f60\u53ef\u4ee5\u70b9\u5f00\u4efb\u4f55\u4e00\u4e2a\u952e\uff0c\u6839\u636e\u81ea\u5df1\u7684\u4e60\u60ef\u8fdb\u884c\u66f4\u6539\u3002<\/p>\n

\"\"<\/a><\/p>\n

\u7ed3\u8bba<\/strong><\/div>\n

\u6211\u5e0c\u671b\u4f60\u5728 Ubuntu \u548c\u5176\u4ed6\u53d1\u884c\u7248\u4e2d\u5b89\u88c5\u4e86 DOSBox \u4e4b\u540e\uff0c\u80fd\u591f\u8fd0\u884c\u4f60\u6700\u559c\u6b22\u7684 DOS \u6e38\u620f\u3002DOSBox \u662f\u6700\u9177\u7684\u8f6f\u4ef6\u4e4b\u4e00\uff0c\u4f60\u53ef\u4ee5\u4f7f\u7528\u5b83\u6765\u8fd0\u884c\u4efb\u4f55\u7a0b\u5e8f\uff0c\u4f8b\u5982 \u200b\u200bTurbo C\u200b\u200b \u7b49\u3002<\/p>\n

\u4eab\u53d7\u6e38\u620f\u5427\uff01<\/p>\n","protected":false},"excerpt":{"rendered":"

DOSBox \u662f\u4e00\u4e2a\u81ea\u7531\u5f00\u6e90\u7684\u64cd\u4f5c\u7cfb\u7edf\u6a21\u62df\u5668\uff0c\u53ef\u4ee5\u5728\u73b0\u4ee3 Linux \u7cfb\u7edf\u4e2d\u8fd0\u884c\u3002\u5b83\u6709\u51e0\u4e2a\u7ec4\u4ef6\u53ef\u4ee5\u6a21\u4eff\u65e7\u7684\u786c\u4ef6 […]<\/p>\n","protected":false},"author":370,"featured_media":239248,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[55],"tags":[],"class_list":["post-265015","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-thread"],"acf":[],"_links":{"self":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/265015","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/users\/370"}],"replies":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/comments?post=265015"}],"version-history":[{"count":1,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/265015\/revisions"}],"predecessor-version":[{"id":265021,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/posts\/265015\/revisions\/265021"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media\/239248"}],"wp:attachment":[{"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/media?parent=265015"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/categories?post=265015"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lrxjmw.cn\/wp-json\/wp\/v2\/tags?post=265015"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}