No description
  • C 73.8%
  • Assembly 19.2%
  • Makefile 7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
TuxSH a0f819008a nds/arm9: avoid harmful writes to VCOUNT in systemStartup, see details
Contrary to what is written on GBATEK, VCOUNT very much is writeable on
the Arm9 (but the new value won't be seen until the next HSync).

This means that most/all homebrew code have been mistakenly snapping
VCOUNT back to 0, most of the time during outside the blanking period,
causing one frame to misrender. This has been happening for about 2
decades.

This causes observable side effect on 3DS (LGY display FIFO error),
though official TWL_FIRM silently recovers from this - hence why this
issue flew under the radar for so long.

Instead, do exactly what official apps like Launcher do, minus setting
identity BG matrices for affine mode.
2025-10-31 23:42:56 +01:00
arm9code don't use itcm for mpu setup 2016-11-14 12:03:11 +00:00
source nds/arm9: avoid harmful writes to VCOUNT in systemStartup, see details 2025-10-31 23:42:56 +01:00
.gitignore ignore all *build folders 2017-07-18 19:11:45 +01:00
load.ld Avoid clearing system areas on ARM7 WRAM and main RAM 2023-11-25 22:04:58 +01:00
Makefile Link to libnds/calico; strip unused functions/data 2023-09-16 17:43:25 +02:00