Terminal Emulation on a Graphical LCD with the Z80
ฝัง
- เผยแพร่เมื่อ 13 ก.ค. 2024
- See how to create a Terminal on a Graphical LCD screen using the Z80 Microprocessor. Also, build an amazing keyboard to interface with the terminal.
The Graphics and Terminal code is integrated into Mon3 v1.5 for the TEC-1G.
The code can be found in the Z80 Graphical LCD Library:
github.com/bchiha/Z80_LCD_128...
To purchase the keyboard go to these links (PCB only):
www.ebay.com.au/itm/176404963781
www.ebay.com.au/itm/176404978911
If you are interested in the TEC-1G Single board Z80 Computer:
github.com/MarkJelic/TEC-1G/
00:00 GLCD and Tactile Matrix Keyboard
01:13 Mechanical Matrix Keyboard
03:56 Keyboard build
06:36 Testing the Keyboard with Mon3 (TEC-1G)
09:34 Terminal Concepts
10:48 Ploting pixel and drawing graphics
13:18 Displaying ASCII and graphics to the GLCD
14:15 Coding the Terminal Emulator
15:53 Testing the Terminal on the GCLD
18:18 Running Tiny Basic on the GLCD
Credits to:
James Elphick and Fred Nichols for the graphical pictures - วิทยาศาสตร์และเทคโนโลยี
Great new video ReadyZ80!
Maybe I have an idea you could use.
In this design there are LEDs under the keycaps, but the LEDs are not individual addressable, since there are only 64 keys with only eight bytes IO or memory addresses it could be done to enlighten some of the keycaps and make them shine, flash or twinkle. If the computer could address all LEDs then signals could be given to the user, like which buttons can be pushed or hints.
We actually did consider this idea (James here) but it had a few drawbacks. The small RGB LEDs are SMD-only which means SMD assembly by the PCB manufacturer is mandatory. That and the limited usefulness of software-controlled RGB doesn't really justify the development time, additional routines taking up ROM space, etc. So we instead went with through-hole LEDs which still provides some customisation options. (Nothing is ruled out for future versions though!)
New Sub; Detroit, Mich., US.
Thats Awesome, Hell I thought the 1st Version was Great.
Well Done Sir!
That's a really nice build! So much better than that micro keyboard. Next step: can you run emacs on the board?
I much prefer vim...
@@ReadyZ80 first thanks so mutch for making those videos , can you plz make some assembly code on how to lead from cassette interface and how to store in cassette interface ,sorry for my bad english
@@warismwarism2480 There is cassette loading and saving code in the TEC monitor called JMON. Do a google search "tec1group software" and go to the github link. Then directory monitor/jmon There is a pdf file with the annotated code. You will need to understand assembly. Good luck
Interesting keyboard, pity you could not use the metal plate,
Now I just have to find out what a 'Tec 1' is...
first thanks so mutch for making those videos , can you plz make some assembly code on how to lead from cassette interface and how to store in cassette interface ,sorry for my bad english
15:28 that's not how tabs work at all. the screen is vertically divided into "tab stops", which are typically 8 or 4 characters wide. the tab character advances the cursor to the nearest tab stop, making it possible to align data on the screen.
also mac computers do not use CR/LF they are unix systems and as such use LF by itself for new lines
neat video tho
Good point. I should fix this.
@@sashakoshkaTerminals tend to use CRLF internally, and the operating system's terminal driver translates its preferred line ending into that for display purposes. Terminals are wacky legacy devices
What model LCD is it? I'd quite like to try one of those 👍
ST7920 128x64
Do you have the exact name of that book you reference? I cannot seem to find it.
Write your own fantasy games for your microcomputer