{"id":951,"date":"2014-09-28T13:51:28","date_gmt":"2014-09-28T13:51:28","guid":{"rendered":"http:\/\/retroramblings.net\/?p=951"},"modified":"2014-09-28T23:13:17","modified_gmt":"2014-09-28T23:13:17","slug":"onechipmsx-mouse-support","status":"publish","type":"post","link":"https:\/\/retroramblings.net\/?p=951","title":{"rendered":"OneChipMSX Mouse support"},"content":{"rendered":"<p>I&#8217;ve been intrigued by <a href=\"http:\/\/www.symbos.de\/\">SymbOS<\/a> for a while, and being able to play with it was the main reason I wanted to try and port the CPCTrex core to a more current FPGA platform at some point (a task that will be tackled sometime between &#8220;one of these days&#8221; and &#8220;the heat death of the universe&#8221;, mainly because of the need for some kind of CompactFlash-to-SD bridge component.)\u00a0 However, SymbOS runs on MSX as well (and could in theory be ported to anything Z80-based provided it has enough RAM), so now I have the OneChipMSX core at my fingertips, I can finally give SymbOS a whirl.<\/p>\n<p>There was just one thing missing &#8211; a mouse!<\/p>\n<p><iframe loading=\"lazy\" width=\"420\" height=\"315\" src=\"\/\/www.youtube.com\/embed\/ruHpqPTT9w0\" frameborder=\"0\" allowfullscreen><\/iframe><\/p>\n<p><!--more--><\/p>\n<p>The official OneChipMSX platform has gameports that support the bidirectional pin required to read a real MSX mouse.\u00a0 Without extra hardware the DE1 has no gameports at all, and the Chameleon64 can use gameports on either the Docking Station or an actual C64, but has no support for bidirectional pins &#8211; so clearly I was going to need some kind of mouse emulation.\u00a0 Luckily there&#8217;s plenty of capacity in the control module I added to the OneChipMSX core to handle a PS\/2 mouse, so adding MSX mouse emulation has been this weekend&#8217;s project.<\/p>\n<p>Setting up SymbOS would have been quite tricky, since the OneChipMSX provides BIOS modules to handle accessing the SD card, but SymbOS disables the BIOS.\u00a0 Luckily, Caro provides a complete, ready-to-go SymbOS installation on the DE1 port&#8217;s official page:\u00a0 <a href=\"http:\/\/www.caro.su\/msx\/ocm_de1.htm\">http:\/\/www.caro.su\/msx\/ocm_de1.htm<\/a><\/p>\n<p>Once I&#8217;ve done a little more testing, I&#8217;ll release a TC64 binary with mouse emulation support.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve been intrigued by SymbOS for a while, and being able to play with it was the main reason I wanted to try and port the CPCTrex core to a more current FPGA platform at some point (a task that &hellip; <a href=\"https:\/\/retroramblings.net\/?p=951\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,8],"tags":[],"class_list":["post-951","post","type-post","status-publish","format-standard","hentry","category-fpga","category-hardware"],"_links":{"self":[{"href":"https:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts\/951","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=951"}],"version-history":[{"count":4,"href":"https:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts\/951\/revisions"}],"predecessor-version":[{"id":955,"href":"https:\/\/retroramblings.net\/index.php?rest_route=\/wp\/v2\/posts\/951\/revisions\/955"}],"wp:attachment":[{"href":"https:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=951"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=951"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/retroramblings.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=951"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}