# SEGA Mega Drive/Genesis Samples in C An attempt to rewrite [gh:BigEvilCorporation/megadrive_samples](https://github.com/BigEvilCorporation/megadrive_samples) in C. There is a trade-off of showing some C's best practices of bare metal projects and keeping the code as close as possible to original assembly code, at least by structure and sequence. Inspired by [gh:cortexm/baremetal](https://github.com/cortexm/baremetal). Comments are copy-pasted in most cases. Sometimes they tell about assembler language specific things, but there is no assembly code at all - only C and ld scripts. Maybe at some point in the future I will rewrite them according to C code, but IMHO some of them are so much redundant and should be removed.