Philippe Flype (Apollo Team Member) Posts 299 07 Aug 2016 08:42
| @Ulf Andersson Thank you, that's nice. Yeah source code is quite system-friendly but not 100%. 100% would mean that it run on uae and this need update code for a) use system bitmaps for the triple buffering b) check if the selected displayid use R5G6B5 BigEndian pixelformat c) use lock/unlock before/after drawing. There is a direct/brutal/hostile way to attack the screen :) I can show you. But beware, the SAGA framebuffer is very flexible. It can accept any resolution. So this needs to init it with some complex code : Set the Modeline, Set the PLLData, Set the Mode (Pixelformat). This is basically what the SAGA driver does (in C) or what my BootPic program does (in pure ASM).The format of the BITMAP is : Uncompressed GfxData in R5G6B5 BigEndian (with a BMP header i kept but that can be removed) which means one pixel = one word. I used a quickly own made program to convert from the gfx from png. This will change soon :) We will use another technic to speed up to render of sprites (using sortof RLE packing to reduce memreads).
|