원클릭으로
build
Build the SNES menu ROM or MCU firmware. Supports snescom, 64tass, and MCU firmware targets.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Build the SNES menu ROM or MCU firmware. Supports snescom, 64tass, and MCU firmware targets.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
65816 assembly and SNES PPU reference for the sd2snes menu ROM. Auto-loads when editing .a65 assembly files, working with SNES graphics, palettes, HDMA, or the menu ROM codebase.
FXPAK Pro (Mk.III) hardware reference — MCU pin mapping, GPIO usage, expansion options, and board layout notes.
Build and deploy menu ROM and/or MCU firmware to the FXPAK Pro SD card. Backs up existing files first.
Guide for porting snescom assembly code to 64tass. Use when translating code between snes/ and snes-64tass/, or when hitting 64tass build errors.
Scaffold a new display screen for the SNES menu ROM. Use when adding a new UI screen, display mode, or information page.
Build the SNES menu ROM then launch it in bsnes-plus emulator for visual testing. Supports both snescom and 64tass targets.
| name | build |
| description | Build the SNES menu ROM or MCU firmware. Supports snescom, 64tass, and MCU firmware targets. |
| disable-model-invocation | true |
| argument-hint | [64tass] [firmware] [clean] |
Build the sd2snes SNES menu ROM or MCU firmware.
snes/ directory)snes-64tass/ directory)src/ directory, config-mk3)If "clean" is in the arguments, first remove build artifacts:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/.claude/worktrees/vigorous-vaughan/snes && rm -f *.o65 menu.bin m3nu.bin header.ips"
Run the build:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/.claude/worktrees/vigorous-vaughan/snes && make 2>&1"
Analyze the build output:
utils/mkmap.sh: Harmless (script not in worktree). Ignore.Report results:
menu.bin and m3nu.bin (both should be exactly 65536 bytes).utils/mkmap.sh: not found or exit code 127 from mkmapShort jump out of range warnings from snescomIf "clean" is in the arguments:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/.claude/worktrees/vigorous-vaughan/snes-64tass && make clean"
Run the build:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/.claude/worktrees/vigorous-vaughan/snes-64tass && make 2>&1"
Analyze the build output:
.databank directive doesn't match the actual DBR for the register being accessed. Check if DBR is correct at that point in code.& $ffff).Report results:
menu.bin (should be exactly 65536 bytes)..databank or syntax issues.Builds the ARM Cortex-M3 MCU firmware for the FXPAK Pro (Mk.III).
arm-none-eabi-gcc installed in WSL (sudo apt install gcc-arm-none-eabi)src/utils/genhdr built (cd src/utils && make)utils/bin2c built (cd utils && gcc -o bin2c bin2c.c)verilog/sd2snes_mini/fpga_mini.bi3 present (54,754 bytes, extracted from stock firmware and checked into git)If "clean" is in the arguments:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/src && make CONFIG=config-mk3 clean"
Run the build:
wsl -e bash -c "cd /mnt/c/Users/david/code/sd2snes/src && make CONFIG=config-mk3 2>&1"
Analyze the build output:
#define CONFIG_MK3_STM32 n in errors: CRLF line endings in config-mk3. Fix: sed -i 's/\r$//' config-mk3region 'flash' overflowed: fpga_mini.bi3 is too large (wrong file used as stand-in)utils/genhdr: not found: Build genhdr first (cd src/utils && make)bin2c: not found: Build bin2c first (cd utils && gcc -o bin2c bin2c.c)Report results:
obj-mk3/firmware.im3 was produced, show file size (~141KB expected).