Close

Software Examples

A project log for 68K CPU with Frame Buffer on FPGA

Working with AMR's build and improvements to the TG68 FPGA project

land-boardscomland-boards.com 09/06/2020 at 21:170 Comments

Code

AMR has several code examples. I've added some documentation and comments to the code. If you try them, make sure you are on the master branch of AMR's code. I've also got the code in my Linux repo.

HelloWorld

Prints out strings and numbers on the UART serial port using printf.

Rectangles

I added these comments to the source code

// rectangles.c - Draws rectangles on the VGA screen
// random size rectangles
// combined with previous rectangle colors
// scrolls screen vertically as well
// scrolls on vert sync interrupt
// very busy screen
// bootloader leaves debug window up

FrameBufferTest

Graphics test with sprite under PS/2 mouse control.

Discussions