This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;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 |