pinobatch / lorom-template Goto Github PK
View Code? Open in Web Editor NEWSuper NES LoROM (mode $20) project template for ca65 assembler
License: zlib License
Super NES LoROM (mode $20) project template for ca65 assembler
License: zlib License
hyperlink at src/blarggapu.s:3 is broken; URL is:
https://wiki.superfamicom.org/how-to-write-to-dsp-registers-without-any-spc-700-code
In cygwin, I have:
ca65 -g src/snesheader.s -o obj/snes/snesheader.o
ca65 -g src/init.s -o obj/snes/init.o
ca65 -g src/main.s -o obj/snes/main.o
py.exe tools/pilbmp2nes.py --planes=0,1 tilesets/bggfx.png obj/snes/bggfx.chrgb
make: py.exe: No such file or directory
make: *** [makefile:138: obj/snes/bggfx.chrgb] Error 127
I think some of the KEY_ constants are not mapped correctly. I added a .proc to wait until all controller buttons are unpressed in this repo:
https://github.com/jeffythedragonslayer/lorom-template-with-waitpadup
Here is the control flow when holding down, and then releasing each of the buttons.
START loops at wait_button_start, then fallsthrough the rest
SELECT(back) loops at wait_button_select, then fallsthrough the rest
A loops at wait_button_b, then fallsthrough
B fallsthrough everything
X loops at wait_button_y, then fallsthrough the rest
Y fallsthrough everything
LEFT loops at wait_button_up, then fallsthrough the rest
RIGHT loops at wait_button_right, then fallsthrough the rest
UP loops at up, then fallsthrough the rest
DOWN loops at wait_button_down, then fallsthrough the rest
RBUMP fallsthrough everything
LBUMP fallsthrough everything
Tested on Mesen-SX with an XOTICPC GX7 gamepad. Also, I suggest renaming these constants to BUTTON_
I think main.s:176 should be stz BGSCROLLY
I started to read little by little your sample but this comment is puzzling me a little bit. Since it is plb, isn't it for restoring the value from the stack that you saved for the data bank register, not the program bank register?
Lines 45 to 46 in 967142f
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.