<story><title>SNES Development Part 1: Getting Started</title><url>https://blog.wesleyac.com/posts/snes-dev-1-getting-started</url></story><parent_chain></parent_chain><comment><author>jsd1982</author><text>I&amp;#x27;ve developed quite a few SNES-related things for fun, mostly using Go and C++, with some 65816 ASM sprinkled in.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;alttpo&amp;#x2F;alttpo&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;alttpo&amp;#x2F;alttpo&lt;/a&gt; - A Link To The Past Online. Lets multiple players see and interact with one another in the same game world and synchronize their progress through the game. Exclusive to a customized fork of the bsnes emulator which provides a scripting language and PPU-integrated drawing routines to render remote player sprites. In retrospect, I consider this a dead-end architecture; redesigned in o2 project (see below).&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;alttpo&amp;#x2F;o2&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;alttpo&amp;#x2F;o2&lt;/a&gt; - Second version of alttpo (see above) but this time targeted at SNES hardware console support (via SD2SNES flash cart USB feature) and does not require a customized emulator nor a scripting language. Trade-off here is a loss of the visual aspect (cannot see remote player sprites) due to tight hardware limitations in the amount of VRAM and limited SNES CPU cycles available. Work is in progress to gain back the remote sprite rendering as an optional add-on via the bsnes-plus WASM module support (see below). This project includes a 65816 machine code emitter library (pure Go) with support for named labels of branch targets. There is also a bare-bones headless SNES emulator library (pure Go) included for unit tests to verify the generated 65816 ASM and ROM patching mechanism.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;alttpo&amp;#x2F;bsnes-plus&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;alttpo&amp;#x2F;bsnes-plus&lt;/a&gt; - A fork of bsnes-plus in development that invokes WebAssembly modules when certain general SNES events occur, e.g. `on_nmi`, `on_power`, `on_reset`, `on_frame_present`. WASM code has access to a draw-list API for drawing into the various PPU layers, e.g. extra sprites, text (with PCF font support), basic shapes. WASM code can also receive arbitrary binary messages from external applications, e.g. to update remote player positions or exchange custom sprite graphics.</text></comment>
<story><title>SNES Development Part 1: Getting Started</title><url>https://blog.wesleyac.com/posts/snes-dev-1-getting-started</url></story><parent_chain></parent_chain><comment><author>muterad_murilax</author><text>Also:&lt;p&gt;Part 2: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-2-background-graphics&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-2-background-graphi...&lt;/a&gt;&lt;p&gt;Part 3: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-3-input&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-3-input&lt;/a&gt;&lt;p&gt;Part 4: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-4-nmi-and-vblank&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-4-nmi-and-vblank&lt;/a&gt;&lt;p&gt;Part 5: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-5-dma&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-5-dma&lt;/a&gt;&lt;p&gt;Part 6: &lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-6-sprites&quot; rel=&quot;nofollow&quot;&gt;https:&amp;#x2F;&amp;#x2F;blog.wesleyac.com&amp;#x2F;posts&amp;#x2F;snes-dev-6-sprites&lt;/a&gt;</text></comment>