TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

SNES Development Part 1: Getting Started

265 点作者 muterad_murilax超过 3 年前

11 条评论

jsd1982超过 3 年前
I&#x27;ve developed quite a few SNES-related things for fun, mostly using Go and C++, with some 65816 ASM sprinkled in.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;alttpo&#x2F;alttpo" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alttpo&#x2F;alttpo</a> - 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).<p><a href="https:&#x2F;&#x2F;github.com&#x2F;alttpo&#x2F;o2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alttpo&#x2F;o2</a> - 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.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;alttpo&#x2F;bsnes-plus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alttpo&#x2F;bsnes-plus</a> - 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.
评论 #30303991 未加载
评论 #30305774 未加载
muterad_murilax超过 3 年前
Also:<p>Part 2: <a href="https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-2-background-graphics" rel="nofollow">https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-2-background-graphi...</a><p>Part 3: <a href="https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-3-input" rel="nofollow">https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-3-input</a><p>Part 4: <a href="https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-4-nmi-and-vblank" rel="nofollow">https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-4-nmi-and-vblank</a><p>Part 5: <a href="https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-5-dma" rel="nofollow">https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-5-dma</a><p>Part 6: <a href="https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-6-sprites" rel="nofollow">https:&#x2F;&#x2F;blog.wesleyac.com&#x2F;posts&#x2F;snes-dev-6-sprites</a>
nyanpasu64超过 3 年前
Personally instead of Mesen-S, I&#x27;d use the fork at <a href="https:&#x2F;&#x2F;github.com&#x2F;NovaSquirrel&#x2F;Mesen-SX" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NovaSquirrel&#x2F;Mesen-SX</a>, which contains a fix for saving settings on Linux Mono 6.12 (<a href="https:&#x2F;&#x2F;github.com&#x2F;NovaSquirrel&#x2F;Mesen-SX&#x2F;commit&#x2F;c374ca8b9ed35aeca532ce24be20a30c5a4e4da6" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;NovaSquirrel&#x2F;Mesen-SX&#x2F;commit&#x2F;c374ca8b9ed3...</a>).<p>I&#x27;m more interested in SPC700 development for SNES music. Mesen-SX has a SPC debugger separate from the main debugger, but I&#x27;m not sure if it&#x27;s more or less useful than bsnes-plus (I know the Mesen emulators have a far worse Linux UI when running under Mono, and I haven&#x27;t tried running the Windows Mesen under Mono or real .NET yet). I don&#x27;t know enough to judge if the disassembler is better or worse than bsnes-plus though.
评论 #30303054 未加载
DaiPlusPlus超过 3 年前
On a related note, the Retro Game Mechanics Explained YouTube channel has excellent videos about how SNES hardware works: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;c&#x2F;RetroGameMechanicsExplained&#x2F;videos" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;c&#x2F;RetroGameMechanicsExplained&#x2F;videos</a>
评论 #30300043 未加载
评论 #30305973 未加载
justanother超过 3 年前
If you decide you really enjoy 65816 development, just a gentle reminder: The Apple IIGS dev community would love to have you and we&#x27;re seeing new hardware releases at a pace we haven&#x27;t seen since the 1990s.
评论 #30307438 未加载
评论 #30306004 未加载
评论 #30301584 未加载
评论 #30301630 未加载
cableshaft超过 3 年前
I really want to make a retro version of my turn based strategy game Proximity[1] (pretty simple game and I&#x27;ve mostly made a version in Pico-8 already, so it should be doable) for NES, GB, SNES, GBA, and&#x2F;or something similar, but I&#x27;d like to do it with the smallest amount of time and effort necessary (because I really don&#x27;t have a lot of time anymore).<p>It seems like the new GBDK might be the easiest, especially since I recently ran into the source code[2] for a Wordle clone someone made using it that I could reference, but is there perhaps an even easier way? Most of the low-code software kits assume you&#x27;re moving sprites around on a screen and don&#x27;t seem like a good fit for the project.<p>[1]: <a href="https:&#x2F;&#x2F;www.newgrounds.com&#x2F;portal&#x2F;view&#x2F;183428" rel="nofollow">https:&#x2F;&#x2F;www.newgrounds.com&#x2F;portal&#x2F;view&#x2F;183428</a><p>[2]: <a href="https:&#x2F;&#x2F;github.com&#x2F;stacksmashing&#x2F;gb-wordle" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;stacksmashing&#x2F;gb-wordle</a>
评论 #30303227 未加载
评论 #30306849 未加载
willis936超过 3 年前
Holy smokes! What a list of resources.<p>The official developer manual? I want to flip through that just to learn more about the system and the context for game development at the time.
评论 #30301840 未加载
评论 #30301936 未加载
anta40超过 3 年前
Another fantastic resource (SDK + example codes): <a href="https:&#x2F;&#x2F;www.chibiakumas.com&#x2F;6502&#x2F;snes.php" rel="nofollow">https:&#x2F;&#x2F;www.chibiakumas.com&#x2F;6502&#x2F;snes.php</a><p>And also accompanied by a book: <a href="https:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;B08W7DWZB3&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amazon.com&#x2F;gp&#x2F;product&#x2F;B08W7DWZB3&#x2F;</a><p>It&#x27;s awesome. Not many new materials dedicated for good old game console programming. BTW, the book also covers Nintendo, Gameboy, Sega, Atari (!!), etc.
thehias超过 3 年前
also check out the bass asembler<p><a href="https:&#x2F;&#x2F;github.com&#x2F;ARM9&#x2F;bass" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;ARM9&#x2F;bass</a><p>and the snes dev kit<p><a href="https:&#x2F;&#x2F;github.com&#x2F;alekmaul&#x2F;pvsneslib" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;alekmaul&#x2F;pvsneslib</a>
评论 #30301141 未加载
thar0x29a超过 3 年前
Awesome project. Cant wait to look around in it :)
McHankHenry超过 3 年前
Very cool hardware in that little machine.