Aros/Developer/Docs/HIDD/VesaGfx

Navbar for the Aros wikibook
Aros User
Aros User Docs
Aros User FAQs
Aros User Applications
Aros User DOS Shell
Aros/User/AmigaLegacy
Aros Dev Docs
Aros Developer Docs
Porting Software from AmigaOS/SDL
For Zune Beginners
Zune .MUI Classes
For SDL Beginners
Aros Developer BuildSystem
Specific platforms
Aros x86 Complete System HCL
Aros x86 Audio/Video Support
Aros x86 Network Support
Aros Intel AMD x86 Installing
Aros Storage Support IDE SATA etc
Aros Poseidon USB Support
x86-64 Support
Motorola 68k Amiga Support
Linux and FreeBSD Support
Windows Mingw and MacOSX Support
Android Support
Arm Raspberry Pi Support
PPC Power Architecture
misc
Aros Public License

Introduction

edit

Vesa modes operates on system memory (all bitmaps are stored there), which, in read operation, is much much much faster than the video memory accessed by CPU.

For a start just hack vesa.hidd from x86 native (arch/i386-pc/drivers/vesa.hidd/*).

Add some code which setups some visible area in chipram and then modify vesaDoRefreshArea() to do a chunky to planar conversion into those bitplanes.

You could probably "patch" in emulation in the x11 drivers setattrs function.. see

aHidd_Gfx_DPMSLevel

.. and ..

vHidd_Gfx_DPMSLevel_On
vHidd_Gfx_DPMSLevel_Standby
vHidd_Gfx_DPMSLevel_Suspend
vHidd_Gfx_DPMSLevel_Off