News for hackers. Stuff that matters.
Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by eatonphil on Sunday May 12, 2019 @06:28PM (#19895001)
Myself curious to write a GB emulator... how do you get images? After a quick search I see a list of "homebrews" on a collection repo on GitHub [0]. Is there a particularly good place to find games?

[0] https://github.com/gbdev/awesome-gbdev#homebrews

Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by zeta0134 on Sunday May 12, 2019 @09:33PM (#19895812)
Legally? I've been tracking down physical cartridges and using a ripping tool, which is basically a hardware slot for a gameboy cartridge that connects to a PC via USB. The one I own personally is this one, which can dump all the common cartridge types ("mappers") and their save data:

https://bennvenn.myshopify.com/products/reader-writer-gen2

The popular titles (especially Pokemon) can be hard to track down at a fair price, but lesser known gameboy games can be found easily on Amazon and from other used sellers for a few dollars each. Even stuff like Tetris is easy to get ahold of because so many copies were produced. Bad games still make great test cases. :D

If you're after homebrew there's a whole bunch of sites that host it. One site that I pulled my early test ROMs from was:

https://pdroms.de/news/gameboy

But there are of course countless others. The demo scene is quite lively, and once your emulator is working at a basic level, demos can be good test cases since they often use the hardware in surprising and unusual ways. Finally, once you're serious about accuracy, check out this list of test ROMs:

http://tasvideos.org/EmulatorResources/GBAccuracyTests.html

Especially the tests by blargg; these are designed with a simple pass/fail result but go seriously in depth checking out hardware edge cases, and the source code is available which makes debugging them a breeze. Finally passing his CPU test was a major milestone.

The rabbit hole is very deep, but it's a fun dive!

Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by jadei on Sunday May 12, 2019 @08:24PM (#19895542)
archive.org has an archive of various retro console roms in their "No-Intro Collection 2016-01-03 Fixed" collection.
Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by tsomctl on Sunday May 12, 2019 @06:34PM (#19895032)
Being copyrighted, it's not legal to redistribute them. You're favorite torrent search engine might be able to help, though. Or you can buy them off eBay and dump the image yourself. I'm not sure what the current state of dumping hardware is, but 10 years ago I hacked together one that used a PC parallel port.
Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by voltagex_ on Sunday May 12, 2019 @08:51PM (#19895647)
Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by codetrotter on Sunday May 12, 2019 @09:11PM (#19895728)
> Works with Windows XP or higher and Linux/Mac (console version). On Linux/Mac the speeds are much slower.

How come?

> You'll just need a Micro-USB or USB-C cable depending on the connector type you choose. Please note the USB-C connector only has the USB 2.0 lines attached so it may not work with devices expecting a USB-C capable device; you might need a USB-C to USB-A adapter and then a USB-A to USB-C cable.

Do you know if there are plans for a future revision of the hardware which will allow for the greater speed that USB-C can provide to be utilized?

Re:Gameboy.live: A basic Gameboy emulator with terminal “clo... by voltagex_ on Sunday May 12, 2019 @09:30PM (#19895801)
>> Works with Windows XP or higher and Linux/Mac (console version). On Linux/Mac the speeds are much slower.

Not sure. It dumps the cart over serial and there were some problems with higher speeds at one point.

> Do you know if there are plans for a future revision of the hardware which will allow for the greater speed that USB-C can provide to be utilized?

I don't think the carts themselves are that fast, there wouldn't be a huge amount of benefit. At least when I tried it it wasn't even coming close to using full USB 2 speed.