You are browsing as a guest. Sign up (or log in) to start making projects!

Draaal's GameBoy Emulator

  • 4 Devlogs
  • 14 Total hours

Kinda self-explanatory, no?

Open comments for this post

1h 30m 31s logged

Devlog #4: Stack Overflow

After finding that it works last devlog, it didn’t actually work, because all my other roms kept crashing with stack overflow error. I, of course, started searching for an infinite loop (as one does when confronted with a stack overflow), but this was my first EVER stack overflow without an infite loop. Just shouldn’t have put 32 KiB of ROM on the stack. For anyone wondering, the rom I showed used a variable length cartridge and was because of that already on the heap.

I also did some minor refactoring:

  • The header utility has now its own crate
  • I use anyhow for errors
  • Removed tons of obsolete comments and prints
  • Header details can now be printed to the console for debugging
0
0
2
Open comments for this post

9h 15m 50s logged

Devlog #3: I’m back

It’s been a while since my last devlog, I lost interest in this project and was off playing XCOM 2 again (such a good game!). The main reason why I lost motivation is that I spent forever trying to get it to display anything but a blank white screen. Now I wanted to write that I will keep trying, but when generating a image for the devlog it actually worked. I have honestly no idea what changed, but neither do I care. We are so back! Oh, also there is memory inspection for debugging now.

0
0
1
Open comments for this post

1h 17m 14s logged

Devlog #2: MBCs and loading ROMs

I finished support for MBC1 and added automatic recognition of the MBC version when loading a ROM. Then I added GitHub Releases (in theory - there aren’t any actual releases yet), as always it was a chore and took way too long. I also added the little label you see in the screenshot to have something to show here.

0
0
4
Open comments for this post

2h 21m 51s logged

Devlog #1: An introduction

Since I have started this project before Stardance there is quite a lot to tell: I implemented (almost) all of the cpu instructions, then I added memory, so it can actually run something. Then I added this wonderful UI you can see in the screenshot (my first UI that doesn’t completely suck, Yay!) and added some MBCs - needed to support different cartridges. The next goal is of course to get it to draw some things to the screen. Might have to screw around with GitHub Releases first though, setting that up is always such a pain.

Anyways, that’s it for now, next one will be a bit more detailed. Cheers!

0
0
16

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…