Tree


README.mdcommits | blame
examples/
experiments/
gfxlib/
gfxlib.old/
pipetest/
todo.txtcommits | blame
tools/

README.md

# GFXLIB & IMGLIB

## GFXLIB is a library to control various legacy ISA 8-bit graphics controllers

Supported* Graphics cards:
- EGA (with at least 128k VRAM (640x350x4 with palette)
- Hercules monochrome (720x348x1)
- Hercules Incolor (720x348x4 with palette)
- Wyse 700 (1280x800x1)

Planned support:
- MSDI Genius VHR (728x1008x1)
- SuperEGA (800x600x4 with palette)
- ATI EGA Wonder 800 (800x560x4 with palette)
- Various Enhanced CGA Graphics Cards (640x400 in various bitdepths)

Considering implementation:
- Hyundai HGC-1280 (1280x1024x1)
- Sigma L-View (1664x1280)
- Sixel on Sixel-capable terminals or terminal emulators

* supported means: the graphics mode with the highest resolution is supported

## Supported functionality:
- Switching to graphics-mode while saving the text-VRAM
- Switching to text-mode restoring the saved text-VRAM


## Planned supported functionality
- exposing VRAM and a mean to switch planes / banks to write efficiently into the framebuffer


## IMGLIB is a library that can show various img formats on various display hardware:
Supported Image formats:
- BMP

Planned support for:
- PNG
- LBM
- PCX
- GIF


Only 1, 2, and 4 bit modes are supported. Maximum resolution is 1664x1280. Palettes are supported, but only up to 16 entries.