Earlier quoted context omitted.
I actually kind of liked the Gameboy approach. You needed to include a byte-for-byte image of the trademarked Nintendo logo in order for the boot ROM to run your cartridge. So there were no technical hurdles to running your code in it, but it just made it legally dangerous to distribute.
Holy shit. Is that why when you plugged in a cartridge a little weirdly, the nintendo logo would look all weird and the game wouldn't boot? it was a simultaneous legal protection and a harware protection? that was fucking genius!
One of the first pieces of code in the startup code embedded in the GB's CPU reads the logo data, doubles it vertically and horizontally, and writes it out to the graphics tile memory. It scrolls down the screen, even if it's corrupted. Then it compares the logo with one built into the CPU and puts itself into an infinite loop if they mismatch.
So, yep. It's a combined data consistency check, and an attempt to use trademark to prevent unauthorized software.