-
I'm looking at this 8085 (and also gbz80) optimisation question.
For reference, I find this current situation.
- `z80_rules.9` is always run first
- -01 - `z80_rules.1` is run
- -02 - `z80…
-
https://rgbds.gbdev.io/docs/v0.6.0/gbz80.7/#JR_n16
Should JR n16 be JR n8?
It reads in the next byte after the instruction opcode, and uses it as the address to jump to. The byte is only an 8-bi…
-
-
It's been a long time since I researched this, but IIRC the z80 family is classified in 5 or 6 different archs in the GCC source code, most of them being plain z80 with the notable exception of a 32-b…
-
Hello,
when I try to compile the library i get following error:
```ag@Galaxy:~/sdcc/libcpm3-z80$ make
# Create build dir.
mkdir -p /home/ag/sdcc/libcpm3-z80/build
# Remove bin dir (we are going…
-
I have problems build the examples with latest svn version of sdcc (built from source today). Tested under Ubuntu Linux 20.04 as well as Windows 10/11.
There are no issues if I build with sdcc 3.8 …
-
Carillon Player allows to run from a special bank with a fixed jump table that can be used to call it:
* `Player_Initialize` at `$4000`
* `Player_MusicStart` at `$4003`
* `Player_MusicStop` at `$40…
-
I played a bit around and wanted to see, what fastcall generates.
C code used:
```c
#define uint8_t unsigned char
uint8_t stupid(uint8_t x) __z88dk_fastcall{
return (uint8_t)((uint8_t)8 + (…
-
Since the upstream source of the actual content is from the mandocs in the main repository, "edit page" / contribute links should not point to their rendered versions here. We should rewrite them to p…
-
I have a file that's in a namespace, and using an expression, I can't refer to a local RAM label;
Works:
```
ld [label], A
```
Does not work:
```
ld [label+HI], A
```
`PARSE_STACK…