Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

Ads

#1 2023-12-28 09:58:08

CapnPickhard
New member
Registered: 2023-12-28
Posts: 1

GBDK 2020 - Compiling for NES

Hi all. I am working with making a GBC game and decided to try out the NES cross compiling support. I got it working, but the palettes aren't getting set. I was wondering if anyone had mess with this compiler option or can point to some resources other than the GBBK 2020 docs.

Offline

 

#2 2023-12-30 18:05:56

bbbbbr
Member
Registered: 2019-03-04
Posts: 124

Re: GBDK 2020 - Compiling for NES

You can check the cross-platform "large map" example as a reference, it sets a color palette for NES based on output from png2asset. You could also use it's makefile if you want, just disabling targets that you're not interested in (the line TARGETS=gb gbc gg sms nes)
https://github.com/gbdk-2020/gbdk-2020/ … /large_map

Also keeping in mind that background attribute sizing on NES is different (16x16) than GBC (8x8).
https://gbdk-2020.github.io/gbdk-2020/d … otoc_md148

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson