[Freemint-list] restarting XaAES

Miro Kropáček miro.kropacek at gmail.com
Fri Apr 21 17:25:42 MSD 2017


On 20 April 2017 at 03:12, Adam Klobukowski <adamklobukowski at gmail.com>
wrote:

> I suck at this internet thing. I found the drivers, but could you please
>> provide me with an URL to the SuperVidel XBIOS docs?
>>
>>
> I'm not sure if there are any, because they would be there.
>

I guess you've seen this: http://hencox.gildaelectronics.se/homepage/
Self/SuperVidelMemoryMap.pdf and right, there's no XBIOS API described. But
Mikro comes to the rescue with an email conversion from PeP ages ago:

#define BPS24				(0x0006)	/* Doesn't exist - do not use - might be
replaced with some new funny mode */

#define BPS32				(0x0005)	/* RGBx truecolour (4 byte per pixel ) */

#define BPS8C				(0x0007)	/* 8-bit chunky */

#define	SVEXT			(0x4000) 	        /* enable SV extensions */

#define SVEXT_BASERES(a) 	((a & 0xf) << 9)        /* specify baseres
(0 = 640x480, 1 = higher, 2 = even higher.... N) */

#define SVEXT_FORMAT (0x0040) /* 0 = 4:3, 1 = wide resolutions */


*Basically, it works like the regular TOS4 API. There are some things to
keep in mind though:*
* - if SVEXT is NOT set, the SV behaves basically like a VIDEL*
* - you (generally) need to set SVEXT to use new pixel formats/resolutions
(exception coming up though)*
* - when SVEXT is set, the SV uses different hardware registers for the
screen, and the screen can be located anywhere in STRAM and/or VRAM*
* - COL80 and VERTFLAG works like before.*
* - SVEXT_BASERES(n) specifies a base resolution other than the regular
640x480.*

*However, to be nice to coders who want to upgrade their 8bpp C2P
production, there's a special case.*

*Set your typical 8bpp planar modecode, but replace BPS8 (0x0003) with
BPS8C (0x0007). Do not set the SVEXT-bit. It will then behave like a
standard VIDEL (same hw regs etc), but the display is chunky.*


-- 
MiKRO / Mystic Bytes
http://mikro.atari.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20170421/d4e54c69/attachment.html 


More information about the Freemint-list mailing list