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.
Hey everyone,
We're testing out some web scraping software at work so I thought I'd rip through the PASTRAISER GB Opcode Map and make a quick CSV.
It should have everything that's on the webpage aside from the legend at the bottom. I've also added some columns that show the binary form of each opcode. Looking at the binary gives a nice representation of how the instructions are laid out in the CPU itself. (For example: the two MSBs of most LD instructions are 01, 3-digit binary representations of the registers, etc..)
I'm not sure how useful this is. I needed something I could easily look through, filter, and sort in Excel for a project I'm working on. I figured I'd post it here for those of you who are interested in this kind of thing.
You can download it here: https://www.dropbox.com/s/vbjzr77bfuq06 … s.csv?dl=0
(Sorry for dropbox's crappy auto-formatting on the binary cells. It's chopping off leading-zeros)
There shouldn't be any errors, but this was a quick rip and I'm still on the clock so anything's possible.
Have a good day/night.
Offline
Here's an Excel version without the ugly auto-formatting.
https://www.dropbox.com/s/5av5ue1vu4rww … .xlsx?dl=0
Offline
I had an ugly jpg file with no cycle counts so I guess it's pretty useful, plus it allows ctrl+F x)
Offline
Glad I could help!
Offline
Just a quick warning: Pastraiser is not 100% correct. For example, BIT b, (HL) instructions are supposed to take 12 clock cycles, not 16.
I'm sure there were some other errors as well, but I can't remember right now.
Offline
Thanks for the heads-up. I was starting to notice some discrepancies when I was comparing it to the official Nintendo manual. I'm pretty sure some there are some errors in my rip too. I'll have to go through the manual and make an updated list.
Offline