All-in-One RTF Text Display Controller

All-in-One RTF Text Display Controller

Details

Category: Video Controller

Created: September 06, 2011

Updated: January 27, 2020

Language: Verilog

Other project properties

Development Status: Beta

Additional info: FPGA proven

WishBone compliant: Yes

WishBone version: n/a

License: LGPL

Description

An all-in-one text / bitmap / sprite controller (FT_VIC.v) is in the works. It will use a 640x400 video mode, fixed 80x50 char text display, 640x400 bitmapped graphics with 12 48x42 sprites. This controller is being designed to use main memory rather than dedicated rams for the sprites. Initially output will be 7 bit RRGGGBB color.

The latest incarnation of the text controller has a default resolution of 56x31 expecting a 1366x768 screen resolution. The size and number of characters displayed is easily programmable. The controller now uses externally supplied horizontal and vertical sync signals for a reference point. The controller detects the positive edge of the signals. The display memory is 32 bits wide of which 9 bits are used for each of foreground, background colors, and the character code. Character codes and attributes are stored together in the same memory word. The register set for the controller remains the same. There is no longer a separate attribute memory at $FFD1xxxx. Also supported is a transparent color which allows text to be placed ontop of another externally supplied image.

This is a text mode video controller that supports color. The default resolution is 52x31 expecting a 1680x1050 graphics mode for display. The controller uses an external sync generator which must supply end-of-scanline and end-of-frame signals. Display memory is sixteen bits wide of which nine bits are implemented allowing 512 different characters to be displayed simultaneously.
Character bitmaps are stored in block RAM allowing them to be reprogrammed at run time, these can be pre-initialized in a constraints file.

The display controller fits into a memory map at addresses $FFD0xxxx, $FFD1xxxx, and $FFD2xxxx, for the text memory, attribute memory, and character bitmaps respectively.
Note that there are multiple images of the memories within the address range.
The display controller register set is at $FFDA00xx.