Live data from Hacker News

Game Boy SM83 CPU Core

github.com

1–10 of 28 posts

Re: Game Boy SM83 CPU Core

#3

I understand that at this point the hdl is only for simulation but could someone at one point run a full gb on an fpga?

Yep, we already do. This is cycle accurate

https://github.com/MiSTer-devel/Gameboy_MiSTer

Edit: We can also do GBA and a lot of other cores, all the way up to Playstation 1.

Re: Game Boy SM83 CPU Core

#5
"Game Boy consoles use a custom Sharp CPU core that resembles Z80 and 8080 but is not exactly either." - well said but do know that the Z80 resembles the 8080 and it isn't exactly an 8080. To be fair the SM83 as coined here does have a few Z80 instructions but by and large it is an 8080 clone.

Re: Game Boy SM83 CPU Core

#6

I understand that at this point the hdl is only for simulation but could someone at one point run a full gb on an fpga?

Yep, we already do. This is cycle accurate https://github.com/MiSTer-devel/Gameboy_MiSTer Edit: We can also do GBA and a lot of other cores, all the way up to Playstation 1.

Could you explain a bit how your project is different from the one in the article? Why did they implement the SM83 in HDL when you already have such an implementation?

Also, I don't see any specific FPGA's mentioned, what sort of constraints do these projects have? Does it run on a 3$ one, or do you need something bigger /fancier?

Edit: oh sorry didn't realize MIST is the device, it's an Altera Cyclone EP3C25

Re: Game Boy SM83 CPU Core

#7
post #5

"Game Boy consoles use a custom Sharp CPU core that resembles Z80 and 8080 but is not exactly either." - well said but do know that the Z80 resembles the 8080 and it isn't exactly an 8080. To be fair the SM83 as coined here does have a few Z80 instructions but by and large it is an 8080 clone.

The name didn't get coined here - there are Sharp datasheets documenting this core, and they use the name SM83.

Re: Game Boy SM83 CPU Core

#8
Oh wow it's gekkio. They're still going! I remember downloading everything on their site a decade ago because I wasn't sure if Nintendo would ever shut down such awesome work and the knowledge was simply too cool and useful to risk losing.

Re: Game Boy SM83 CPU Core

#9
post #6

Earlier quoted context omitted.

Yep, we already do. This is cycle accurate https://github.com/MiSTer-devel/Gameboy_MiSTer Edit: We can also do GBA and a lot of other cores, all the way up to Playstation 1.

Could you explain a bit how your project is different from the one in the article? Why did they implement the SM83 in HDL when you already have such an implementation? Also, I don't see any specific FPGA's mentioned, what sort of constraints do these projects have? Does it run on a 3$ one, or do you need something bigger /fancier? Edit: oh sorry didn't realize MIST is the device, it's an Altera Cyclone EP3C25

The one in the article is based directly on the die scans, while the MiSTer one is a completely custom implementation.

Re: Game Boy SM83 CPU Core

#10

Oh wow it's gekkio. They're still going! I remember downloading everything on their site a decade ago because I wasn't sure if Nintendo would ever shut down such awesome work and the knowledge was simply too cool and useful to risk losing.

Can they shut it down, though? Reverse engineering and emulation are all perectly legal despite Nintendo's claims to the contrary. The inner workings of their consoles are not protected.
Post reply on HN