.. | ||
Array.jack | ||
GPIO.jack | ||
Main.jack | ||
Makefile | ||
Math.jack | ||
Memory.jack | ||
Output.jack | ||
output.png | ||
Readme.md | ||
Readme.md.backup | ||
Screen.jack | ||
StdIO.jack | ||
String.jack | ||
Sys.jack | ||
UART.jack |
Output.jack
A library of functions for writing text on the screen. The Hack physical screen consists of 320 rows of 240 pixels each. The library uses a fixed font, in which each character is displayed within a frame which is 11 pixels high (including 1 pixel for inter-line spacing) and 8 pixels wide (including 2 pixels for inter-character spacing). The resulting grid accommodates 29 rows (indexed 0..28, top to bottom) of 30 characters each (indexed 0..29, left to right). The top left character position on the screen is indexed (0,0). A cursor, implemented as a small filled square, indicates where the next character will be displayed.
Project
- implement
Output.jack
- test in real hardware
$ cd 09_Output_Test
$ make
$ make upload