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-02-24 15:54:22

zeropagebyte
Member
Registered: 2019-02-22
Posts: 32

Any Gameboy Assembly compilers?

I can't find any of those Gameboy Assembly compilers.

Offline

 

#2 2019-02-24 16:10:22

Snake
New member
Registered: 2019-01-24
Posts: 7

Re: Any Gameboy Assembly compilers?

Offline

 

#3 2019-02-24 16:56:29

zeropagebyte
Member
Registered: 2019-02-22
Posts: 32

Re: Any Gameboy Assembly compilers?

Snake wrote:

https://github.com/rednex/rgbds

How can I compile on windows 8.1?

Offline

 

#4 2019-02-24 17:15:16

ssjason123
Member
Registered: 2017-03-21
Posts: 45

Re: Any Gameboy Assembly compilers?

WLA DX is another option:
http://www.villehelin.com/wla.html

It has some windows binaries linked on the homepage.

Offline

 

#5 2019-02-25 07:10:02

nitro2k01
Administrator
Registered: 2008-02-22
Posts: 242

Re: Any Gameboy Assembly compilers?

zeropagebyte wrote:

Snake wrote:

https://github.com/rednex/rgbds

How can I compile on windows 8.1?

Click releases for Windows builds.

https://github.com/rednex/rgbds/releases


Blog: Gameboy Genius
"A journey of a thousand miles begins with one small step"
Old Chinese Proverb

Offline

 

#6 2019-02-25 13:13:50

zeropagebyte
Member
Registered: 2019-02-22
Posts: 32

Re: Any Gameboy Assembly compilers?

Snake wrote:

https://github.com/rednex/rgbds

What Command?

Offline

 

#7 2019-02-25 20:44:30

Snake
New member
Registered: 2019-01-24
Posts: 7

Re: Any Gameboy Assembly compilers?

I dunno use zgb, there are tutorials if you google though. Oh here are the build commands for a file called 'hello.asm'. I imagine you would want to do a make script if you are developing for ease of use. Good luck!

rgbasm -o hello.o hello.asm
rgblink -o hello.gb hello.o
rgbfix -v -p 0 hello.gb

Offline

 

#8 2019-02-26 08:59:33

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

Re: Any Gameboy Assembly compilers?

Actually better use the following:

Code:

rgbasm -p 0xFF -o home.o home.asm
rgbasm -p 0xFF -o engine.o engine.asm
...
rgbasm -p 0xFF -o memory.o memory.asm
rgblink -m game.map -n game.sym -p 0xFF -o game.gb home.o engine.o ... memory.o
rgbfix -p 0xFF -v game.gb

The best thing to do, though, is to use a build script, or better, a Makefile.


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