Commit graph

97 commits

Author SHA1 Message Date
8f39c10868 Add visual bell 2025-01-21 11:00:12 -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
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
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
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
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
6f6c90f636 Set a distinctive product name... 2024-10-10 14:18:47 -05:00
cf0b623516 Turn off CRLF translation at build time 2024-10-10 10:14:19 -05:00
b8126adbcb the terminal works well enough to make a git commit in it. amazing. 2024-10-09 21:52:28 -05:00
28d7a22190 kbd sends to serial, vt reads from serial. it's a terminal! 2024-10-09 18:16:02 -05:00
dc85c9405b make it work better 2024-10-07 19:07:28 -05:00
f3f4b08a49 start on modifiers 2024-10-07 16:36:54 -05:00
e5d8d72026 checkpoint -- starting to type things
but mixing USB UART stdin with keyboard stdin is nonsense.

will need to differentiate
2024-10-07 16:28:17 -05:00
99a2425463 remove unused files
bye bye my own vtxx implementation
2024-10-07 15:12:10 -05:00
33f2821c60 Avoid exiting SRAM in core1 code 2024-10-07 14:08:40 -05:00