{"id":1735,"date":"2017-11-23T21:11:43","date_gmt":"2017-11-23T21:11:43","guid":{"rendered":"http:\/\/www.sydneysmith.com\/wordpress\/?page_id=1735"},"modified":"2017-11-23T21:24:40","modified_gmt":"2017-11-23T21:24:40","slug":"bin2hex","status":"publish","type":"page","link":"https:\/\/www.sydneysmith.com\/wordpress\/bin2hex\/","title":{"rendered":"bin2hex"},"content":{"rendered":"<p><img loading=\"lazy\" src=\"http:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/11\/main.png\" alt=\"bin2hex main\" width=\"677\" height=\"343\" class=\"alignnone size-full wp-image-1736\" srcset=\"https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/11\/main.png 677w, https:\/\/www.sydneysmith.com\/wordpress\/wp-content\/uploads\/2017\/11\/main-300x152.png 300w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>Do you need to convert a binary file into Intel Hex format?<\/p>\n<p>There are some tools around that do that but the smallest \/ simplest \/easiest one I found is a 16 bit app that won&#8217;t run under Windows 10 (nor probably my Win 8 x64 laptop). It&#8217;s a pity because it looked pretty good. Simple, easy to use, and small in size.<\/p>\n<p>I could probably run it in an emulator or a &#8216;virtual machine&#8217;; but running an 8086 emulator to run something I need for a Z80 emulator seems like a long build chain. It is unfortunate that Windows no longer supports 16 bit apps but there&#8217;s a simple way forward: make one. So here it is:<\/p>\n<h2>Features<\/h2>\n<p>&#8211; small, simple, easy to use.<br \/>\n&#8211; converts binary files to Intel hex format<br \/>\n&#8211; accepts an address argument so you can position the binary where it&#8217;s needed<br \/>\n&#8211; allows you to transfer binary files as text<br \/>\n&#8211; should be usable with PROM programmers<br \/>\n&#8211; runs on Win10 x64 (or earlier), and x32<br \/>\n&#8211; open source software<\/p>\n<h2>Unfeatures<\/h2>\n<p>It doesn&#8217;t do the following yet:<br \/>\n&#8211; fancy features from the original<br \/>\n&#8211; padding \/ fill to a fixed length<\/p>\n<h2>Download<\/h2>\n<p>You can download the program from <a href=\"http:\/\/www.sydneysmith.com\/products\/cpm\/bin2hex\/bin2hex.exe\">cpm\/bin2hex\/bin2hex.exe<\/a><br \/>\nYou can download the source code from <a href=\"http:\/\/www.sydneysmith.com\/products\/cpm\/bin2hex\/bin2hex.c\" target=\"_blank\">cpm\/bin2hex\/bin2hex.c<\/a><\/p>\n<h2>More Information<\/h2>\n<p>The original is <a href=\"http:\/\/www.keil.com\/download\/docs\/113.asp\" rel=\"noopener\" target=\"_blank\">http:\/\/www.keil.com\/download\/docs\/113.asp<\/a><\/p>\n<p>This is part of the <a href=\"http:\/\/www.sydneysmith.com\/wordpress\/cpm-programs\/\">CP\/M topic<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Do you need to convert a binary file into Intel Hex format? There are some tools around that do that but the smallest \/ simplest \/easiest one I found is a 16 bit app that won&#8217;t run under Windows 10 (nor probably my Win 8 x64 laptop). It&#8217;s a pity because it looked pretty good. &hellip; <a href=\"https:\/\/www.sydneysmith.com\/wordpress\/bin2hex\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">bin2hex<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":[],"_links":{"self":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages\/1735"}],"collection":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/comments?post=1735"}],"version-history":[{"count":2,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages\/1735\/revisions"}],"predecessor-version":[{"id":1742,"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/pages\/1735\/revisions\/1742"}],"wp:attachment":[{"href":"https:\/\/www.sydneysmith.com\/wordpress\/wp-json\/wp\/v2\/media?parent=1735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}