Skip to content

Commit 0777103

Browse files
committed
103.556MHz/1B10: Selectable font, UART Config
The default font has been changed to be terminus, the actual characters used are not optimal and should be chosen from a better set, the font itself can be selected from with the appropriate ANSI escape sequence. This expands the size of the block RAM used from 4096 to 8192 (however, each block RAM is in reality up to 18KiB in size, so there is more space for extra fonts if needed). Other improvements include: * Adding 'delay' to the 'uart.vhd' package. * Making the UART much more configurable * Updating the simulators to account for the new registers * Removing unneeded generics
1 parent cdb70a3 commit 0777103

File tree

14 files changed

+15761
-2367
lines changed

14 files changed

+15761
-2367
lines changed

embed/embed.fth

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -860,7 +860,11 @@ h: (ok) state@ ?exit ." ok" cr ; ( -- : default state aware prompt )
860860
( : ok <ok> @execute ; )
861861
h: preset tib-start #tib cell+ ! 0 in! id zero ; ( -- : reset input )
862862
h: quite? 0 ; ( -- t : are we operating in quite mode? )
863-
: io! preset fallthrough; ( -- : initialize I/O )
863+
: io! preset
864+
$36 $4012 ! ( set TX baud rate )
865+
$32 $4014 ! ( set TX baud rate )
866+
$8484 $4016 ! ( set UART control register; 8 bits, 1 stop, no parity )
867+
fallthrough; ( -- : initialize I/O )
864868
h: console ' rx? <key> ! ' tx! <emit> ! fallthrough;
865869
h: hand
866870
quite? 0= ' (ok) and

0 commit comments

Comments
 (0)