b84699b59f
Make mkfont run during the build
...
rip out whatever made it not work
2024-10-27 16:26:13 -05:00
6af3bd660f
Change default baud rate for UART0
2024-10-15 15:47:32 -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
7121b5530f
improved compile-time checks
2024-10-07 13:58:28 -05:00
e430750beb
switch to the new vt emulator (untested)
2024-10-07 10:59:53 -05:00
c7d87d4cf9
add buffer-oriented routines & constify
2024-10-07 10:30:33 -05:00
b2f238ab2f
selected charset is the inverse of what you'd expect
2024-10-07 10:30:33 -05:00
492155dbb3
Make unicode mode optional, default off
2024-10-07 10:30:33 -05:00
eed6a93b83
Show VT100 line drawing characters
2024-10-07 10:30:33 -05:00
840e4586b9
Handle EIO when subprogram exits
...
In this case EIO is expected and
just indicates there will never be
further data to read.
2024-10-07 10:30:33 -05:00
b3aa492f9a
hl-vt100: basic utf-8 support
2024-10-07 10:30:33 -05:00
41d0a87984
fix clear color
2024-10-07 10:30:33 -05:00
62378ea631
minimal terminal attribute implementation
2024-10-07 10:30:33 -05:00
8cd0a82af9
hl-vt100: Add character attribute support.
...
.. not really tested though.
2024-10-07 10:30:33 -05:00