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.


#1 2018-11-21 14:21:26

New member
From: France
Registered: 2018-04-30
Posts: 9

Rgbds export constants

Hello guys,

Can you please tell me how to export constants (EQU) ? Or do thet need to be inclluded in every source file ?



#2 2018-11-22 04:17:20

From: Somewhere in Echo RAM
Registered: 2017-04-18
Posts: 129

Re: Rgbds export constants

Yeah, by nature, you can't export constants.

What I do is I define constants in files that are included by one "constants.asm" file, which is included by all files.
You can check out my boilerplate project here

The French Lord Of Laziness.
Legend of Zelda and Undertale fan, I also tend to break Pokémon R/B/Y a little too much.

Twitter | Me on GCL | Discord : ISSOtm#9015 | Skype : (I don't login anymore)



Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson