In that case, the files atari_ntsc.h, atari_ntsc.c and atari_sdl.c should be your main focus.
Basically, you have to call atari_ntsc_init() to initialise relevant data structures; then at each frame call atari_ntsc_blit(). The latter function takes a ~320x240x8bpp image and outputs a 640x480x16bpp result. Additionally the result has its pixels squashed vertically by 7/8 (with interpolation) to preserve correct aspect ratio; but I think you would like to turn that last thing off and do it by means of OpenGL.














