Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Programming language #140

Closed
KKSzymanowski opened this issue Sep 5, 2016 · 4 comments
Closed

Programming language #140

KKSzymanowski opened this issue Sep 5, 2016 · 4 comments

Comments

@KKSzymanowski
Copy link

Was Pokemon Red originally written in Assmbly?

Why not C? Was it because of some hardware limitations? Was it to optimize it as much as possible in terms of performance and required space?

@Sanqui
Copy link
Member

Sanqui commented Sep 5, 2016

A C compiler for the Game Boy was likely not even available by the time Pokémon Red was made; it was standard to code games in assembly.

C was used for some very late Game Boy Color titles, but even there you usually have hand-optimized assembly sections, as compiled C code tends to be an order of magnitude slower and larger than equivalent hand-coded assembly.

@Sanqui Sanqui closed this as completed Sep 5, 2016
@Sanqui Sanqui added the invalid label Sep 5, 2016
@yenatch
Copy link
Contributor

yenatch commented Sep 5, 2016

That said, sdcc has come a long way since 2000. See https://github.com/rotmoset/gbdk-n.

@LIJI32
Copy link

LIJI32 commented Sep 5, 2016

The ASM code itself is too inconsistent to be generate by a compiler, too.

@KKSzymanowski
Copy link
Author

Thanks. I asked because when i first touched assembly it was some academic exercise with image processing(Gouraud shading I think) and it was so much pain to write, it makes me wonder how can you develop whole game. I suppose they didn't really have a choice back in the 90'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants