EGSPlus Patch Enhancment for EGS Emulation ----------------------------------------------------------- EGSPlus adds some more patches to the current EGS Workbench Emulation. Basically the chunky mode functions introduced with the OS 3.0 have been patched since they are real slow on the old EGS emulation. ---------------------------------------------------------- EGSPlus fügt der derzeitigen EGS Workbench Emulation einge neue Funktionen hinzu. Grundsätzlich sind das Funktionen, die mit dem OS 3.0 eingeführt wurden und mit Grafikdaten umgehen können, die chunky (1 byte/pixel) organisiert sind. Affected functions: Betroffene Funktionen: --------------- · WritePixelLine8() · ReadPixelLine8() · WritePixelArray8() · ReadPixelArray8() · WriteChunkyPixels() since Release 5 additional: ab Release 5 zusätzlich: · AllocBitMap() · FreeBitMap() I've them rewritten so they can now deal with direct chunky rastport transfers. Check out some anim programs for the result e.g. xanim :-) Please alos read the documentation. ---------------------------------------------------------- Ich habe diese Funktionen neu geschrieben. Sie erlauben nun einen direkten Transfer der Daten ins RastPort. Versucht mal einige Anim Programme wie z.B. xanim. =:-> Bitte lest auch die Doku. ---------------------------------------------------------- History: Release 9: · Fixed some smaller bugs in Alloc/FreeBitMap(), · BMF_BITMAPTAGS now build in (preview). · Introduce struct ExtBitMap. (preview) · Included developer stuff (preview) Release 8: Modified AllocBitMap(). Now AllocBitMap() also allocates clipping rectangles in boardmemory if available (again? I guess I had a bug here before) This means that background rendering could also be done by the onboard blitter and therefore is real fast. SmartRefresh can also be done by the blitter now. Release 7: On a request I added a new ToolType "POPUP=YES|NO" so you can switch off the startup window. The window isn't opened if you start EGSPlus from cli, either (as some need to start them before WBStartup). AllocBitMap() now supports allocation of cg compatible chunky bitmaps. If the bit 8 is set (1<<7), the bitmap returned is a chunky bitmap. Hm, well, that doesn't really make sence, since you need a cg.library to poke directly into the chunky data (which should work with the incl. cg.library) Currently only the 8 bit chunky format is supported, since the EGS Emu doesn't support bitmap depths greater than 8 bit yet. PLEASE ! I still recommend not to use this to allocate a chunky bitmap ! (Well, sure you could do your color remapping easily without adding your own plane2chunky converter) but ... Please use Friend bitmaps wherever possible !!! Release 6: Had a stupid bug on non layered operations. Fixed that. IBrowse runs again now. IBrowse trashes some images if my cybergraphics.library is present. I am not sure what it is. I guess it has something to do with planes in fast mem (?) because it doesn't call any of my functions... Release 5: Added new AllocBitMap()/FreeBitMap() Routines. Now it is possible to allocate Cybergraphics compatible friend bitmaps (have to define BMF_MINPLANES if you want to get a friend bitmap, see also CyberGraphics doc). Plain Chunky Bitmap allocation is still not possible, since I do not know what value the BMB_SPECIALFMT bit has ( Bit 8 ?). Please, also check out the latest How2UseGfxV39.lha in dev/src/ on how to use chunky friend bitmaps (an _now_ compare cyber2egs bitmaps on the ball demo:) Also I fixed a bug in the WriteChunkyPixels() Function. Release 4: cybergraphcics.library supports DoCDrawMethodTagList() now. Release 3 had still trouble with v39 systems. Was a stupid error, sorry. So, it should _really_ work on v39 systems now :) Release 3: Also included is a cybergrpahics.library that let you run cybergraphics applications on the EGS emulation (8 bit only though). WARNING ! This library is not conplete now ! Enjoy Jürgen -- Jürgen Schober EDV Dienstleistungen Muchargasse 35/1/4 A- 8010 Graz · AUSTRIA call: ++43-316-674383 e-mail: point@sbox.tu-graz.ac.at jschober@campusart.com http: http://www.pointdesign.campusart.com/