Short answers, each pointing at the page that has the long one. If your ROM misbehaves, Troubleshooting OpenSNES walks the symptoms and Known Limitations lists every trap that fails silently.
Which file do I start from? Getting Started with OpenSNES builds one ROM end to end. After that, Learn SNES Development is a route through the examples ordered by the question you are asking, not by feature.
Do I need to install a toolchain? No. make builds the compiler, the assembler, the asset tools and the library from the repository. A release archive ships the same binaries prebuilt.
Which emulator should I use? luna, pinned by the repository and installed by scripts/install-luna.sh. It is the project's only test backend, it runs the coprocessors natively, and it drives the automated suite. Interactive Debugging with luna covers stepping, memory inspection and scripted input.
Why is int two bytes? Because the 65816 is a 16-bit machine and a 16-bit int is what its instructions do in one step. long is four bytes. Use the fixed-width names from <snes/types.h> (u8, u16, s16, u32) and the question disappears.
Can I pass a struct to a function? Not by value — the compiler refuses it with a message naming the feature, and so it does for struct returns, a struct copied to or from a FAR object, variadic functions and inline assembly. Pass a pointer instead. Plain struct assignment (a = b;) works. The refusals are deliberate: each one would otherwise be a silent miscompilation.
Can I use floating point? There is no FPU and no soft-float library, and the compiler says so: a float or double computed at run time stops the build with a message naming the function. A floating constant the compiler can fold is fine — (int)(1.5 * 256) is the usual way to write a fixed-point constant. Use the fixed-point types: fixed (8.8) from <snes/math.h>, fixed32 (16.16) from <snes/fixed32.h>. The same holds for long long: the widest integer is long, 32 bits, and 64-bit arithmetic is refused. Fixed-Point Math Tutorial has the arithmetic and the pitfalls.
Is there a printf? Not in the core library, by design. Print to the screen with textPrint, textPrintU16, textPrintS16 and textPrintHex, or to the host with the debug channel while developing.
Does volatile work? Yes: a volatile load or store survives the optimiser and is not coalesced. The library still uses plain globals for its NMI handshakes, for cycle-cost reasons, but your MMIO patterns can rely on volatile.
A black screen, garbage tiles, sprites in the wrong colours, a const array that reads garbage, a picture one line off, silent sound: Troubleshooting OpenSNES goes from each symptom to its cause, and Known Limitations is the catalogue of every trap that fails silently.
How large can my ROM be? The shipped memory maps cover LoROM, HiROM and the coprocessor layouts; ROM_BANKS sets the size (Your project's Makefile). Bank $00 holds code only, and code that does not fit there moves to the next banks by itself; your assets belong in the asset banks, which the converters and the ASSET_SECTION macro handle for you.
How do I add a module to my build? Add its name to LIB_MODULES in the example Makefile. Dependencies are pulled in automatically, and make test-link-modules proves every module links on its own.
Does my game run on a PAL console? It should, and the weekly PAL pass boots the whole example corpus at 312 lines and 50 Hz to keep it that way. Read the region at runtime with isPAL() when timing matters.
Can I run this on real hardware? Yes. The ROMs are plain .sfc files; a flash cart runs them. The library's hardware claims are arbitrated against a corpus of hardware documentation before they are written down, and the emulator is cycle-accurate, but a hardware check before release is still the honest final step — Hardware verification protocol is that session, with make hardware-kit to collect its ROMs.
Where do I report a bug or propose a change? CONTRIBUTING.md has the branch model, the commit format and the PR rules. The short version: work on develop, keep one topic per pull request, and run make tests plus make lint before you push.
What do I run before pushing? make clean && make, then make tests, then make lint. Those are the same gates CI runs, verbatim — that is deliberate, so a green local run means a green CI run.