[PATCH] Atari port, xbios updaterect routine

Hello,

I coded a complete UpdateRectS routine for Xbios. The
previous one was just a call to FlipHW.

By the way, is there a better place to send SDL patches to,
than the mailing list ?–
Patrice Mandin
Web: http://membres.lycos.fr/pmandin/


Le journal des abonn?s Caramail - http://www.carazine.com

-------------- next part --------------
A non-text attachment was scrubbed…
Name: sdl-1.2.4cvs-mint.diff
Type: application/octet-stream
Size: 1826 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020321/fc2d4de4/attachment.obj

Hello,

I coded a complete UpdateRectS routine for Xbios. The
previous one was just a call to FlipHW.

I noticed that this only works for 8-bit displays… is that a
limitation of the Atari hardware?

By the way, is there a better place to send SDL patches to,
than the mailing list ?

You can send them directly to me: @slouken

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

| > Hello,
|
| > I coded a complete UpdateRectS routine for Xbios. The
| > previous one was just a call to FlipHW.
|
| I noticed that this only works for 8-bit displays… is that a
| limitation of the Atari hardware?

So does SDL work on Atari ST’s? Or is it just Falcons?

And what would I compile code with, is there a GCC cross-compiler like
the xmingw thing?On Fri, Mar 22, 2002 at 10:12:44AM -0800, Sam Lantinga wrote:


Beans are neither fruit nor musical
6AD6 865A BF6E 76BB 1FC2 | www.piku.org.uk/public-key.asc
E4C4 DEEA 7D08 D511 E149 | www.piku.org.uk wnzrf at cvxh.bet.hx (rot13’d)

Dans l’article <mailman.1016820789.5779.sdl at libsdl.org>, “Sam Lantinga”
a tapot? avec ses petits doigts:

I noticed that this only works for 8-bit displays… is that a
limitation of the Atari hardware?

Well, on Atari machines, 8 bits video mode are 8 bitplanes mode like
Amiga, not like on PC where 1 byte is 1 pixel. So there is a conversion
routine to transform the SDL_Surface screen in a 8 bitplane one for the
hardware to display it. There is no need to do this conversion in 16 bits
modes, it is like on PC. I know this is not good for speed, but I can
test programs requesting 8 bits video modes.

Old ST only have 320x200x4 bitplanes modes, so I even added a conversion
routine that convert the SDL_Surface (8 bits) in 4 bitplanes (16 colors),
using grey levels for the palette. So I can even test SDL programs for ST
and ST emulators (especially those like Pacifist and STonX when you can
run the m68k at the maximum speed, not limiting it to a 8 mhz emulated
CPU).–
Patrice Mandin
WWW: http://membres.lycos.fr/pmandin/
Programmeur Linux, Atari
Sp?cialit?: D?veloppement, jeux