DGEN AND HATARI used also SDL. I have installed mesa libs 68x and try to launch dgen with a rom and Ihave:
5.CACHES:> dgen -f sonic1.bin
rc: Couldn't open rc file /.dgen/dgenrc, trying to create
rc: Couldn't create rc file /.dgen/dgenrc!
sdl: Couldn't init SDL: Found no sufficiently capable CGX visuals!
main: Couldn't initialize graphics!
Problem of SDL here. Work with 68x, SDL first ???
I can't test HATARI (no TOS ROM here).