Commit graph

106 commits

Author SHA1 Message Date
b7f8e53842
Merge pull request #13 from jepler/more-glyphs
Support up to 512 glyphs, add some more glyphs
2025-01-22 12:40:10 -06:00
8e31d46639 Support up to 512 glyphs, add some more glyphs
this covers the set of glyphs used by the little menu used by some
dpkg configuration questions for the text mode scrollbar

I also discovered some characters like ß were illegible because they
used the 6th column, which is never rasterized. I scooted all these left
a pixel.
2025-01-21 14:10:10 -06:00
6768805a1f
Merge pull request #12 from jepler/visual-bell
Add visual bell
2025-01-21 13:17:48 -06:00
8f39c10868 Add visual bell 2025-01-21 11:00:12 -06:00
da95622bee
Merge pull request #10 from jepler/terminfo-fixes
terminfo for page up/down keys
2025-01-21 10:43:04 -06:00
f2c269d1cb fix terminfo ri command 2025-01-21 10:39:41 -06:00
58456a08e8 terminfo for page up/down keys 2025-01-21 10:30:44 -06:00
684bf9c334
Merge pull request #9 from jepler/numpad
add numeric keypad support
2025-01-21 10:14:49 -06:00
60e422feaf
Merge pull request #8 from jepler/data-driving-level
don't drive data line high EVER thanks
2025-01-21 10:13:27 -06:00
b7c13822bb Add numeric keypad support 2025-01-21 10:12:47 -06:00
303ab7d7c3 Introduce more macros about code classification 2025-01-21 09:39:07 -06:00
f8becee61c don't drive data line high EVER thanks 2025-01-20 21:32:39 -06:00
239fec8f80
Merge pull request #7 from jepler/sextant
Add 2x3 graphics characters, improve compatibility
2025-01-20 20:40:49 -06:00
6587b5ff80 Improve startup timing compatibility.
now it'll boot with either of the Model Ms I have for testing.
2025-01-20 20:35:20 -06:00
a3ded925b0
Merge pull request #6 from jepler/sextant 2024-10-28 19:42:18 -05:00
f61c1addb1 (untested) sextant characters 2024-10-28 18:30:07 -05:00
2298401af3 Add unused "attr" argument to map_unicode 2024-10-28 15:48:23 -05:00
2f4551d975 Add half of the 64 sixel characters at 128-159
.. and manually clean up some changes made by gbdfed (why?!)
2024-10-28 15:47:52 -05:00
a94f0002cb fix some signed-unsigned comparison errors seen inside the terminal emulator 2024-10-28 08:25:18 -05:00
6e30ed291d
Merge pull request #5 from jepler/mkfont 2024-10-27 20:16:28 -05:00
e02de00a56 Make mkfont run during the build
rip out whatever made it not work
2024-10-27 16:27:03 -05:00
419ee60a97
Merge pull request #1 from jepler/workflow
let's have a workflow
2024-10-11 22:00:18 -05:00
f7d1de5a5f let's have a workflow 2024-10-11 21:58:35 -05:00
075cdd423d style code with pre-commit 2024-10-11 15:56:26 -05:00
5ee7b51eb4 unicode situation mildly improved 2024-10-11 14:47:11 -05:00
4602961130 It bugged me that unicodes weren't working...
also try to make fg/bg mismatches work better by brightening the fg color

UTF8 encoding is used on USB but not on UARTx. Could add a "is unicode"
flag to the line encodings I guess?? 8N1 / 8N1u?
2024-10-11 14:43:40 -05:00
503386f651 fix initial tabs && update README 2024-10-11 11:58:03 -05:00
07b7aae815 fix initial tabulations 2024-10-11 11:40:44 -05:00
e47e743077 Introduce command keystrokes & add cyclable settings
now if you switch to UART1 and put a jumper or small-value
resistor between GP0 and GP1 you get echo back from typing.

UART2 (pins 12/13) not tested.

Confusingly UART1/2 both use the uart0 peripheral. ssssh.. this is
to keep uart0 as the connection to the DCE and uart1 as the connection
to the future daisy chained device such as a printer or punch.
2024-10-11 11:33:59 -05:00
ca0cd3c672 Suppress SMM, it's not implemented
(but this doesn't fix line drawing in the program I tested, that must
be unrelated)
2024-10-11 11:33:59 -05:00
d2d2d8045f Implement enough of DCH to make backspace in bash work 2024-10-11 11:33:59 -05:00
e7d4d6d1b8 Juice up the outputs, not that this makes a discernable difference 2024-10-11 11:33:59 -05:00
4f42cce933 Don't spam so much when waiting for the keyboard 2024-10-11 11:33:59 -05:00
4f40c5a469 Oops earlier change biffed handling of ESC [ ? 2024-10-11 11:33:59 -05:00
599879e682 Add status line 2024-10-10 14:48:26 -05:00
8ba6b92473 setting keyboard LEDs locks up the keyboard, so don't
doubtless I'm doing something wrong but I can't spot it.

Here's what I get on the keyboard. I get the same with the PIO code
running in CircuitPython, so if it's a bug it's in both places (no surprise
as the PIO code is essentially identical), but then how does initialization
work right?

> ED (pico -> keyboard)
< FA (keyboard -> pico)
> 02
< F8 (but maybe a bit has been miscounted and it's FE, resend?)
2024-10-10 14:26:34 -05:00
a9c27d6e30 Don't poll keyboard too often at boot 2024-10-10 14:23:36 -05:00
3d75646ba4 fix LED numbering 2024-10-10 14:23:26 -05:00
c332f99ab6 more escape codes 2024-10-10 14:23:20 -05:00
4543a8fbac ctrl+backspace sends a special code 2024-10-10 14:23:07 -05:00
1491ec38e0 Start trying to deal with vim sending non-terminfo strings
this still doesn't work quite right. It sends more stuff that's not in
the terminfo. running it inside screen is a better solution.
2024-10-10 14:22:44 -05:00
5b1e68a45a Finally fix cursor handling?? 2024-10-10 14:22:02 -05:00
b0c702822a fixup to DSR 2024-10-10 14:21:22 -05:00
ff71998fe9 never print a control character onto the screen 2024-10-10 14:21:16 -05:00
c58271b7d2 Don't set cursor position beyond the screen
this is part of making resize work & not crashing
2024-10-10 14:21:04 -05:00
830bf204ea Don't re-apply the current attrbiute inside aset
set() does this, aset assumes you are setting an attribute explicitly
2024-10-10 14:20:43 -05:00
3e70c6853e Add DSR 5 & 6 2024-10-10 14:20:12 -05:00
77f7f9b0ea fix building the standalone hl_vt100 programs 2024-10-10 14:19:39 -05:00
c276be27a4 Inherit most of vt102 2024-10-10 14:19:30 -05:00
e280e4db64 Don't do CRLF translation when writing to the DCE 2024-10-10 14:19:19 -05:00