Skip to content

Instantly share code, notes, and snippets.

@KungFuFurby
KungFuFurby / spcPlayerAutoCompile.py
Created June 4, 2021 16:28
SPC Player Auto-Compiler for Python 3
# KungFuFurby's SPC Player Auto-compiler for Python 3
# Uses mic's SPC Player version 1.4
# Produced by KungFuFurby 12/30/15
# Programmer's notes about memory locations of compiled SPC players...
# 0x0000-0x13DB contains SNES code and data
# 0x686-0x6A5 contains title
# 0x6A6-0x6C5 contains game name
# 0x6C6-0x6E5 contains composer
# 0x7FB0-0x7FFF contains ROM header
@KungFuFurby
KungFuFurby / SPCCore.asm
Last active August 17, 2018 18:42
SPC700 Core Definitions and Labels for ASAR 1.6
;SPC700 Core Definitions and Labels
;For asar 1.6
;by KungFuFurby
includeonce
;Functions defined...
;The following code allows pointers to be split into two.
function LOWBYTE(wordData) = wordData&$FF
function HIGHBYTE(wordData) = (wordData&$FF00)>>8