{"id":11,"date":"2006-10-26T14:55:00","date_gmt":"2006-10-26T20:55:00","guid":{"rendered":"http:\/\/70.47.30.137\/~blockos\/blog\/?p=8"},"modified":"2006-10-26T14:55:00","modified_gmt":"2006-10-26T20:55:00","slug":"8bit-archeology","status":"publish","type":"post","link":"https:\/\/blog.blockos.org\/?p=11","title":{"rendered":"8bit archeology"},"content":{"rendered":"<p>Some years ago, i wrote a very simple and stupid pcengine disassembler in order to check if the rom i produced with wla-dx were correct. Well, time fly and two weeks ago i dig it from the grave. The user can now specify which part of the pcengine rom will be disassembled (code section) and which one are pure data. For this i&#8217;m using a csv file. The whole thing is discribed in the <a href=\"http:\/\/blockos.dyndns.org\/%7Emooz\/pce\/etripator\/README.txt\">README<\/a> file i quickly wrote tonight \ud83d\ude42<\/p>\n<p>I started coding it under Linux. As i was in a hurry and lazy, i decided to mmap the rom file. But unfortunately, mmap is not supported\/implemented by mingw32. So i had to use my mighty google skills (well <a href=\"http:\/\/www.koders.com\">koders<\/a> ones in this case). And the same thing happened with the CSV file parser. I&#8217;m using strndup and&#8230; i had to recode it :\/<\/p>\n<p>Enought ranting! I put everything <a href=\"http:\/\/blockos.dyndns.org\/%7Emooz\/pce\/etripator\/\">THERE<\/a> . The directory contains the complete source code, makefiles for both windows and linux, windows binary and the <a href=\"http:\/\/www.bloodshed.net\/devcpp.html\">dev C++<\/a> project. As an example, i disassembled <a href=\"http:\/\/blockos.dyndns.org\/%7Emooz\/pce\/etripator\/Momotaro_Densetsu_Turbo\/\">Momotaro Desentsu Turbo<\/a> . I started to document the <a href=\"http:\/\/blockos.dyndns.org\/%7Emooz\/pce\/etripator\/Momotaro_Densetsu_Turbo\/irq_reset\">reset interrupt<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Some years ago, i wrote a very simple and stupid pcengine disassembler in order to check if the rom i produced with wla-dx were correct. Well, time fly and two weeks ago i dig it from the grave. The user can now specify which part of the pcengine rom will\u2026 <a class=\"continue-reading-link\" href=\"https:\/\/blog.blockos.org\/?p=11\">Continue reading<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3,6],"tags":[27,30],"_links":{"self":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/11"}],"collection":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=11"}],"version-history":[{"count":0,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=\/wp\/v2\/posts\/11\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.blockos.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}