nand2/07_Operating_System/10_Output_Test
2023-08-04 16:44:31 +02:00
..
Array.jack added v2.0 2023-01-11 23:04:57 +01:00
GPIO.jack added v2.0 2023-01-11 23:04:57 +01:00
Main.jack added v2.0 2023-01-11 23:04:57 +01:00
Makefile changed python tools to python3.11 2023-08-04 16:44:31 +02:00
Math.jack added v2.0 2023-01-11 23:04:57 +01:00
Memory.jack added v2.0 2023-01-11 23:04:57 +01:00
Output.jack added v2.0 2023-01-11 23:04:57 +01:00
output.png added v2.0 2023-01-11 23:04:57 +01:00
Readme.md added v2.0 2023-01-11 23:04:57 +01:00
Readme.md.backup added v2.0 2023-01-11 23:04:57 +01:00
Screen.jack added v2.0 2023-01-11 23:04:57 +01:00
StdIO.jack added v2.0 2023-01-11 23:04:57 +01:00
String.jack added v2.0 2023-01-11 23:04:57 +01:00
Sys.jack added v2.0 2023-01-11 23:04:57 +01:00
UART.jack added v2.0 2023-01-11 23:04:57 +01:00

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
  • compare your screen with: loading-ag-118