Yeah that's one of the things it does. And probably why it was named emulator.prg.I would like to ask a question that stems from my technical limitation regarding Atari: shouldn't emulator.prg 'redirect' the Atari video signal to the ET4000 video card?
But apart from that, in the context of the ET4000 driver, it deals with almost everything that is card specific, sets up the NOVA cookie, and the API that the higher level STA_VDI is using to perform low-level things (implemented in emulator.prg) without needing to know terribly much about the actual hardware.
For all intents and purpose it's a fairly modern device-driver / high-level system split.
There is a little bit of VGA hardware code in ET4000's STA_VDI but that's generic VGA code not specific to ET4000 so for my particular purpose it's perfect -- ie; I can do just device driver code in my own EMULATOR.PRG, and not have to reinvent an entire VDI which would be years of work.

