Skip to content

Latest commit

 

History

History
40 lines (25 loc) · 1.51 KB

README.md

File metadata and controls

40 lines (25 loc) · 1.51 KB

p2qvga8bpp-spin


This is a P2X8C4M64P/Propeller 2 QVGA display engine.

IMPORTANT: This software is meant to be used with the p2-spin-standard-library (P2X8C4M64P). Please install the library first before attempting to use this code, otherwise you will be missing several files required to build the project.

Salient Features

  • QVGA 320x240 resolution (signalled as 640x480, with pixel-doubling), 8bpp color
  • Integration with generic bitmap graphics library
  • Double-buffering (optional)
  • Wait for vsync, or current vsync status (function calls)
  • Display intensity
  • Includes simple video timing adjustment utility

Requirements

P2/SPIN2:

  • p2-spin-standard-library
  • 1 extra core/cog for the PASM engine
  • 76.8kBytes RAM for single-buffered display, or 153.6kBytes for double-buffered
  • graphics.common.spin2h (provided by p2-spin-standard-library)

Compiler Compatibility

Processor Language Compiler Backend Status
P2 SPIN2 FlexSpin (6.9.4) NuCode OK
P2 SPIN2 FlexSpin (6.9.4) Native/PASM2 OK

(other versions or toolchains not listed are not supported, and may or may not work)

Limitations

  • Changing the palette array while the driver is running has no effect - it must be restarted to take effect