-
```
struct dma_transfer {
unsigned short src_addr; /* 0 + 1 */
unsigned char src_bank; /* 2 */
unsigned short dest; /* 3 + 4 */
unsigned short size; /* 5 + 6 */
unsigned char type; /* 7 */
}…
-
Example:
```c
void dma_setup(mode) {
asm("lda %o, S", mode);
}
```
This is correct ca65 assembler code, but compiler doesn't allow to generate it.
Output is:
```
snes_tools.h(122): Error: A…
-
Installed 5.2 deb on Ubuntu 23.10
I think there is a typo in your make file, for CX16:
cc6502 --target=x16 -O2 --list-file=obj/main.lst -o obj/main.o src/main.c
option --target: unexpected 'x'
…
-
the [o65 file format](http://www.6502.org/users/andre/o65/fileformat.html) is basically a miniature version of ELF. it supports 2 segments (text and data) and full relocation.
it was originally creat…
-
Here's an enhancement I think would make 65816 easier to learn. I used this tutorial to recreate this:
https://en.wikibooks.org/wiki/Super_NES_Programming/Initialization_Tutorial
Simply add a l…
-
Per topic, I get the following error when attempting to build the loader under Windows 11, OpenJDK 17, and Gradle 6.3:
```
FAILURE: Build failed with an exception.
* What went wrong:
A problem…
-
Consider:
```asm
.org $0010
low: lda low
bcc low-$20
bvc $30
beq $fff0
```
That turns into a BCC to $fff0 and a BVC to address $0030. The…
-
http://www.nexusmods.com/games/
-
Since we have a different coding style, I would like to know what your precise coding style is, so that I can create a clang-format file and forget about this issue.
If you want, we can add this cl…
-
I've been looking at creating a 65816 computer to see what a fully enhanced BBC Micro could have looked like back in the day, and having found your project it looks like you've solved most of the issu…