|
Atari coding BBS
TOS VDI easter egg |
Posted by: PeP
|
Dec,03.2009-19:02
|
Hi,
I found something interesting in the Falcon VDI. Apparently, the VDI has built-in support for 8-bit chunky screens and 32-bit truecolour. Naturally this does not apply to the hardware, but I've tested the former mode (640x480x8bpp chunky) with some degree of success on a 320x480x16bpp screen.
I realize that this is fairly useless w.o. hardware support, but it might come in handy for the upcoming SuperVidel.
To invoke these "new" VDI modes, all you need to do is to set up the Line-A variables properly (which is a royal pain in the lowe back), set the video hardware to a suitable resolution, and open a physical workstation towards devices 10 and 12 respectively (there are other "bonus" device numberes as well, but they don't add anything which wasn't already available through the falcon device(5).
The 32-bit mode needs to be enabled using a simple modification to the TOS binary, since it is hardwired to use a fixed framebuffer address (it's labelled as "MATRIX" in the device table, suggesting it was used with Matrix graphics cards - which has a fixed framebuffer address). By replacing this address w. NULL, the driver operates at the logical screen address instead.
Again, since there is no native 32-bit mode on the VIDEL, I emulate it by using a 1024x400x16bpp framebuffer (using a virtual screen). So far it looks like crap since colour tables etc. are not initialized properly, but drawing primitives and text output works as expected.
Note that I don't think this will work with NVDI w.o. hacking some driver files.
-- PeP
|
[All messages in this thread] [Start new thread]
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|