___________________ ________________/ the CTX files \ | | | Multi-screen | | depth 16 | | | | corTeX / Optimum 24 june 1998 | | | |____________________________________| This is not really an FX in itself (the result is quite ugly); it's more a little reminding about good old days tricks, to show that they can still be used with Linux. The program simulates the use of video memory pages: recall when you were allowed to access the hardware, it was possible to change the start adress of the video RAM displayed on screen. This allowed to make "pseudo-animations" by changing a bit one video-page, and switching between displayed pages. Here we simply use a big buffer to simulate the video RAM, and we modify and send for displaying one section of the buffer at a time. This solution being very memory-consuming, the "video" buffer is in 8bpp, and the section to be displayed is converted into the X video mode using a palette. (For now only 16bpp has its conversion routine, but you shouldn't have problems doing your own ;) ) More delirious and efficent effects can be implemented by displaying any section of the "video" ram, and not only by individual pages; or by screen-splitting, etc... I let you all this as exercises for hollidays ;) corTeX / Optimum, before his summer stage...