<?xml version="1.0" encoding="utf-8" ?>
<rss version="2.0" 
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/"
   xmlns:content="http://purl.org/rss/1.0/modules/content/"
   >
<channel>
    
    <title>Dr Sly's Technical Ramblings - Emulation</title>
    <link>https://blog.f000.dev/</link>
    <description>a place for programming on the web...</description>
    <dc:language>en</dc:language>
    <generator>Serendipity 2.3.5 - http://www.s9y.org/</generator>
    <pubDate>Wed, 08 Nov 2023 09:27:16 GMT</pubDate>

    <image>
    <url>https://blog.f000.dev/templates/2k11/img/s9y_banner_small.png</url>
    <title>RSS: Dr Sly's Technical Ramblings - Emulation - a place for programming on the web...</title>
    <link>https://blog.f000.dev/</link>
    <width>100</width>
    <height>21</height>
</image>

<item>
    <title>Reverse Engineering with DOSBox debug build</title>
    <link>https://blog.f000.dev/index.php?/archives/33-Reverse-Engineering-with-DOSBox-debug-build.html</link>
            <category>DOS</category>
            <category>Emulation</category>
            <category>Reverse Engineering</category>
    
    <comments>https://blog.f000.dev/index.php?/archives/33-Reverse-Engineering-with-DOSBox-debug-build.html#comments</comments>
    <wfw:comment>https://blog.f000.dev/wfwcomment.php?cid=33</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.f000.dev/rss.php?version=2.0&amp;type=comments&amp;cid=33</wfw:commentRss>
    

    <author>nospam@example.com (Sylvester Rac)</author>
    <content:encoded>
    &lt;p&gt;DosBox comes with it&#039;s own built-in debugger, which can be useful when reversing&amp;#160;old DOS games.&lt;/p&gt;

&lt;p&gt;This feature needs to be&amp;#160;enabled at build time (--enable-debug or --enable-debug=heavy), so either download the special binary or build it from source.&amp;#160;I went through the build process in a previous post:&amp;#160;&lt;a href=&quot;https://blog.aupcgroup.com/index.php?/archives/32-Hacking-a-DOS-32-bit-protected-mode-game-from-1997.html&quot;&gt;https://blog.aupcgroup.com/index.php?/archives/32-Hacking-a-DOS-32-bit-protected-mode-game-from-1997.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;This gives a nice view with registers, dissassembly and&amp;#160;memory views:&lt;/p&gt;

&lt;p&gt;&lt;!-- s9ymdb:28 --&gt;&lt;img alt=&quot;&quot; class=&quot;serendipity_image_center&quot; src=&quot;https://blog.f000.dev/uploads/dosbox_debugmode.png&quot; style=&quot;width:703px&quot; /&gt;&lt;/p&gt;

&lt;p&gt;This VOGONS thread has a&amp;#160;quick summary on the DosBox built-in debugger:&amp;#160;&lt;a href=&quot;https://www.vogons.org/viewtopic.php?t=3944&quot;&gt;https://www.vogons.org/viewtopic.php?t=3944&lt;/a&gt;&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://blog.f000.dev/index.php?/archives/33-Reverse-Engineering-with-DOSBox-debug-build.html#extended&quot;&gt;Continue reading &quot;Reverse Engineering with DOSBox debug build&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 04 Nov 2023 23:43:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.f000.dev/index.php?/archives/33-guid.html</guid>
    
</item>
<item>
    <title>Mount a Bochs disk image</title>
    <link>https://blog.f000.dev/index.php?/archives/23-Mount-a-Bochs-disk-image.html</link>
            <category>Emulation</category>
    
    <comments>https://blog.f000.dev/index.php?/archives/23-Mount-a-Bochs-disk-image.html#comments</comments>
    <wfw:comment>https://blog.f000.dev/wfwcomment.php?cid=23</wfw:comment>

    <slash:comments>0</slash:comments>
    <wfw:commentRss>https://blog.f000.dev/rss.php?version=2.0&amp;type=comments&amp;cid=23</wfw:commentRss>
    

    <author>nospam@example.com (Sylvester Rac)</author>
    <content:encoded>
    &lt;p&gt;We can mount a bochs disk image from Linx with the following command:&lt;/p&gt;

&lt;p&gt;sudo mount -t msdos -o loop,offset=32256 disk.img /mnt/bochs/&lt;/p&gt;

&lt;p&gt;The offset of 32256 is correct if the image was created with the Bochs Disk Image Creator, but how can the offset be calculated?&lt;/p&gt;
 &lt;a class=&quot;block_level&quot; href=&quot;https://blog.f000.dev/index.php?/archives/23-Mount-a-Bochs-disk-image.html#extended&quot;&gt;Continue reading &quot;Mount a Bochs disk image&quot;&lt;/a&gt;
    </content:encoded>

    <pubDate>Sat, 18 Apr 2020 04:58:00 +0000</pubDate>
    <guid isPermaLink="false">https://blog.f000.dev/index.php?/archives/23-guid.html</guid>
    
</item>

</channel>
</rss>
