As you already wrote yourself, the IO ports will appear in the address space at a certain offset, $FED0.0000 in your case. So for example IO port $3CC would be at $FED0.03CC -- and $D0.03CC as well in case of an ST because the upper 8 address bits do not matter there. However, note that many 68000 <-> ISA adapters (such as the Nova) will not allow you to read odd numbered IO ports unless you have previously switched the ET4000 into 16 bit IO mode.

...to get some basic debug output. As usual with EmuTOS, you also have to change the include/config.h file to define where you want the debug output to be. I normally enable RS232_DEBUG_PRINT to get the output on the serial port.

To use a different adapter, you might have to modify detect_nova() to check the respective addresses.

Running the card in the standard VGA (12h) 640x480x16col mode.There are sources of drivers in C (without the use of DOS program interrupt). Registry programming. Even using PEEK and POKE in GFA, you can read and change them, but this is not enough.I don't have experience in this topic

Yes, but what you want to do with it when it's in VGA mode 12h? Just run your own code, for example a port of a DOS game or demo? Then you don't need a VDI driver; just access the VGA video memory directly.

If you want to run arbitrary TOS and GEM applications, then you need a VDI driver, of course, like the Nova VDI that Cyprian provided a link to. However, in that case VGA mode 12h is a reasonably bad choice, in terms of performance, because setting a single pixel requires four read and four write accesses to video memory -- or constant tinkering with VGA registers.

PS: You mention that the source code of STGA's VDI is available. Where?

It's the equivalent of the Standard VGA driver, known in Windows.Why this mode? Because this is a sensible resolution (320x200 ? No).The standard VGA modes are on almost every ISA card, including those for which there are no drivers eg. Trident.http://www.harbaum.org/till/atari/index.html (STGA_SW)

artik-wroc wrote:It's the equivalent of the Standard VGA driver, known in Windows.Why this mode? Because this is a sensible resolution (320x200 ? No).The standard VGA modes are on almost every ISA card, including those for which there are no drivers eg. Trident.http://www.harbaum.org/till/atari/index.html (STGA_SW)

Stupid question, what is the difference between Idek's drivers and STGA drivers? Both have VDI drivers for ET4000.

Cyprian wrote:Stupid question, what is the difference between Idek's drivers and STGA drivers? Both have VDI drivers for ET4000.

Well, they are different implementations of a similar thing -- NVDI/ET4000 would be yet another VDI driver for ET4000. Idek has drivers for different adapters, i.e. different base addresses: MEGA4000, Volksfarben and Nova; while the STGA driver is of course meant for STGA only.

BTW: Where on Till's page do you see the source code to the VDI? STGA_SW (where SW = schwarz-weiß = black & white) is just a simple configuration program for a monochrome mode that mostly uses TOS's VDI. That's comparable to what I added to EmuTOS; it's not a fully-fledged VDI driver for the ET4000. In particular, it won't help you implementing anything using color modes.

Cyprian wrote:Stupid question, what is the difference between Idek's drivers and STGA drivers? Both have VDI drivers for ET4000.

Well, they are different implementations of a similar thing -- NVDI/ET4000 would be yet another VDI driver for ET4000. Idek has drivers for different adapters, i.e. different base addresses: MEGA4000, Volksfarben and Nova; while the STGA driver is of course meant for STGA only.

BTW: Where on Till's page do you see the source code to the VDI? STGA_SW (where SW = schwarz-weiß = black & white) is just a simple configuration program for a monochrome mode that mostly uses TOS's VDI. That's comparable to what I added to EmuTOS; it's not a fully-fledged VDI driver for the ET4000. In particular, it won't help you implementing anything using color modes.