Re:Another Game Boy emulator for your terminal
by Retric on Friday February 13, 2015 @02:18PM
(#9046536)
You need to pass a checksum, but you don't need to use (ed: display) the nintendo logo to do so.
[ Parent
| on HN ]
Re:Another Game Boy emulator for your terminal
by monocasa on Friday February 13, 2015 @02:38PM
(#9046688)
If you read the disassembly you'll see that it's first a byte by byte compare of the logo data, followed by the checksum of the header data.
; ===== Nintendo logo comparison routine =====
Addr_00E0:
LD HL,$0104 ; $00e0 ; point HL to Nintendo logo in cart
LD DE,$00a8 ; $00e3 ; point DE to Nintendo logo in DMG rom
Addr_00E6:
LD A,(DE) ; $00e6
INC DE ; $00e7
CP (HL) ; $00e8 ;compare logo data in cart to DMG rom
JR NZ,$fe ; $00e9 ;if not a match, lock up here
INC HL ; $00eb
LD A,L ; $00ec
CP $34 ; $00ed ;do this for $30 bytes
JR NZ, Addr_00E6 ; $00ef
Re:Another Game Boy emulator for your terminal
by Retric on Friday February 13, 2015 @02:51PM
(#9046774)
And yet: https://www.youtube.com/watch?v=rtNZGbpxl8k
"What I did was once the Gameboy starts it reroutes the data from Flash to a data stored on the FPGA containing the custom logo. Once it is done reading the data the first time it changes back the addressing to read from the Flash that contains the ROM. To sum it up shortly it Reads custom data then reads the real data the second time."
Sure, you could argue the rom has the copy protected data, but before the DMCA it was less of a slam dunk case then Nintendo intended because it was more a trademark vs copyright case.