summaryrefslogtreecommitdiff
path: root/src/stm-vga
Commit message (Collapse)AuthorAge
* altos/draw: Add a reasonable API for drawing, add lines.lispKeith Packard2016-11-20
| | | | | | | Also, move the demo drawing into the stm-vga app and out of the vga driver. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm-vga: Fix DMA reset to load scanline each timeKeith Packard2016-11-20
| | | | | | | | | | If we load the scanline register while DMA is running, it doesn't actually get reloaded until after the first transfer from the next line, leaving a weird jog in the middle of the screen. Also flip to SPI1, as Bdale is using that on the 1802 board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stm-vga: Implement VGA out from the STM processorKeith Packard2016-11-20
Generates vsync/hsync using timers and pixel data using the SPI port. 320x240 video using 640x480 mode and a 24MHz "pixel" clock. Includes the beginings of rendering code for the frame buffer, including bitblt, solid fill and text with a 5x7 font. Signed-off-by: Keith Packard <keithp@keithp.com>