{"id":241,"date":"2017-12-13T13:16:43","date_gmt":"2017-12-13T12:16:43","guid":{"rendered":"http:\/\/gendev.spritesmind.net\/wip\/?p=241"},"modified":"2021-06-29T22:37:13","modified_gmt":"2021-06-29T21:37:13","slug":"and-what-about-the-pcengine","status":"publish","type":"post","link":"http:\/\/gendev.spritesmind.net\/wip\/2017\/12\/and-what-about-the-pcengine\/","title":{"rendered":"And what about &#8230;.the PCEngine ?!"},"content":{"rendered":"<p>While the Genny was\/is\/will be my favorite system, I was always interested by the white beauty : the PCEngine Duo R.<\/p>\n<p>Thanks to a friend, I bought one years ago, before eBay&#8230;so yes, at a fair price \ud83d\ude09<\/p>\n<p>Let be honest, it was &#8220;somewhere&#8221; on my house since then, I only plugged it 1 or 2 times to check its status.<\/p>\n<p>Now that I develop on Genny, and spend half of my time fighting with the only 4 avalaible pals, my interest for the PCEngine increased over time, but not for the same reason.<\/p>\n<p>Last year, I wanted to stop Genny dev, because of some personal concern with the community&#8230;.but I HAD to code, it&#8217;s a real dope.<\/p>\n<p>I looked at the SMS, the Lynx, the Neogeo Pocket, the GameBoy&#8230;and the PCEngine.<\/p>\n<p>I moved to SMS, because sverx&#8217;s\u00a0<a href=\"https:\/\/github.com\/sverx\/devkitSMS\">devkitSMS<\/a> was looking for some love and because I found it interesting to work on the origin of Genny.<\/p>\n<p>A that time, I though only <a href=\"http:\/\/www.archaicpixels.com\">HuC<\/a> was available for the PCEngine and, no, sorry, coding with SmallC is not something I could do. NO.WAY!<\/p>\n<p>&nbsp;<\/p>\n<p>Earlier this year, I learnt about <a href=\"https:\/\/cc65.github.io\/cc65\/\">CC65<\/a>, a C compiler for 6502 processors, used for NES, Lynx, Atari, Apple2 and some others.<\/p>\n<p>HuC6280, the PCEngine&#8217;s CPU, is a customized 65SC02 so yes, CC65 could be used to code game on PCEngine using the C language or ASM.<\/p>\n<p>In fact, the PCengine is one of CC65&#8217;s target so&#8230;great !!!!<\/p>\n<p>Well&#8230;.yes, but no so great. PCEngine support was made to be able to build <a href=\"https:\/\/github.com\/adamdunkels\/contiki-1.x\/tree\/master\/contiki-pcengine\">contiki<\/a> on PCEngine and, while the works done is awesome, it&#8217;s not usable as-is for game development.<\/p>\n<p>I made a quick <a href=\"https:\/\/twitter.com\/SpritesMind\/status\/899738281784553472\">hello world<\/a> and, while a lot of work is required, CC65 is actually the only valid C compiler to use for PCEngine development.<\/p>\n<p>&nbsp;<\/p>\n<p>3 months later, I&#8217;m back on it !<\/p>\n","protected":false},"excerpt":{"rendered":"<p>While the Genny was\/is\/will be my favorite system, I was always interested by the white beauty : the PCEngine Duo R. Thanks to a friend, I bought one years ago, before eBay&#8230;so yes, at a fair price \ud83d\ude09 Let be honest, it was &#8220;somewhere&#8221; on my house since then, I only plugged it 1 or [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[10],"tags":[],"_links":{"self":[{"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/posts\/241"}],"collection":[{"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/comments?post=241"}],"version-history":[{"count":3,"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/posts\/241\/revisions"}],"predecessor-version":[{"id":244,"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/posts\/241\/revisions\/244"}],"wp:attachment":[{"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/media?parent=241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/categories?post=241"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/gendev.spritesmind.net\/wip\/wp-json\/wp\/v2\/tags?post=241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}