asar
asar copied to clipboard
(Now) official repository of the SNES assembler Asar, originally created by Alcaro
First, apologies, this is an incomplete bug report. Working on a pull request, but, figured I'd put what I have here in case any 65816 gurus knew how to fix...
Recent researchment on the SA-1 chip has shown that some of its features requires to the input address to be an even address, in particular the DMA and Variable Bit...
As the title suggests, while rewriting asar_math's function handling code I corrected the bug where users could overwrite a builtin. This now generates an error. Pros: Prevents users from making...
The current error checking in the C DLL binding is really bad (as in: non-existent). It only checks whether the DLL was loaded or not, but if it wasn't loaded,...
I'd like to point out that windows 10's Defender straight up deletes the executable because it detects it as Win32/Fuery.B!cl. I imagine this is very likely a false positive, but...
error and warning ids are supposed to be unchanging. and it's supposed to be easy to determine what an error is from its code. currently, the only thing that guarantees...
The conventional syntax for MVN and MVP is `MVN SRC, DEST`, but the 65816 expects those bytes to be `$54 DEST SRC`. Asar currently has the compilation backwards, writing `$54...
No, not debugging the codes to be assembled into the ROM, I mean how the interpreter reads the codes written in the ASM file before compiling to the ROM, akin...
Requested by Ladida on the dsicord It should be possible to change the banks that `freecode`/`freedata` look in, and also disable using RATS tags.
In ExLoROM, it's possible for `pctosnes` to return $7E0000-$7FFFFF. ``` 00-3F:8000-FFFF -> x400000-x5FFFFF 40-7F:8000-FFFF (+mirror) -> x600000-x7FFFFF 80-BF:8000-FFFF -> x000000-x1FFFFF C0-FF:8000-FFFF (+mirror) -> x200000-x3FFFFF ``` I hope it's possible to...