An extreme, but interesting, example of this is the #emutos firmware for the #atarist range of computers.