Is there a tutorial on porting system to cores of retroarch?

is there tutorial that i can read on porting systems to retroarch…to experiment with the horizons of emulation ?