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 2019-10-06 04:53:24

Tomi
Member
From: France
Registered: 2018-04-30
Posts: 29

rgbds library?

Hi all,

is there a way to create some kind of library in rgbds? I mean: I have a file with several utility subs, and I only want to compile those needed for the current project.

Offline

 

#2 2019-10-12 08:32:41

ISSOtm
Member
From: Somewhere in Echo RAM
Registered: 2017-04-18
Posts: 160
Website

Re: rgbds library?

No, there is no way to compile only what you need. There's a feature request for "smart linking" which would only include sections that actually get referenced, but it's unclear how the user would use it, so it's gone nowhere for now.


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 : isso.tm (I don't login anymore)

Offline

 

#3 2019-10-12 16:45:05

Tauwasser
Member
Registered: 2010-10-23
Posts: 160

Re: rgbds library?

Sounds a lot like link-time optimization to me, to be honest.

Offline

 

#4 2019-10-13 10:38:22

ISSOtm
Member
From: Somewhere in Echo RAM
Registered: 2017-04-18
Posts: 160
Website

Re: rgbds library?

Well, it is, but it's probably as far as that can go for ASM, since there's no compilation so to speak. Personally, I wouldn't find it bothering.


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 : isso.tm (I don't login anymore)

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson