HackerTrans
TopNewTrendsCommentsPastAskShowJobs

Learning Low-Level Computing and C++ by Making a Game Boy Emulator(byteofmelon.com)

20 points·by romes·5 bulan yang lalu·3 comments
byteofmelon.com
Learning Low-Level Computing and C++ by Making a Game Boy Emulator

https://byteofmelon.com/blog/2026/making-of-gamebyte

3 comments

ByteOfMelon·5 bulan yang lalu
Hey this is my blog post! Thanks for posting it and thanks everyone for reading it!
webdevver·5 bulan yang lalu
i did a similar excercise - something i found very funny, was that my half-baked emulator was getting stuck in various places in the tetris ROM. i copy-pasted the program counter hex address into the google search bar, and immediately got a reddit thread of someone doing exactly the same thing i was, whose emulator was getting stuck in exactly the same place in exactly the same tetris ROM!

not only that, i think this scenario played out a few more times before i finally got tetris to play. i suppose game boy emulators are sort of the defacto 'hello world' of this type of work.
ByteOfMelon·5 bulan yang lalu
Yeah I had a similar issue with the Tetris ROM as well, seems like there's always that quirky problem. The main problem I had as I mentioned in the blog post was with the PREFIX stuff, that was a little hard to get my head around.

Thanks for reading by the way!