Add magic stty command that makes the damn thing work

This commit is contained in:
John Lorentzson 2025-07-10 21:15:37 +02:00
parent 3373409100
commit 0734b19746

View file

@ -247,3 +247,8 @@
(defun compile-and-send-to-c64 (string) (defun compile-and-send-to-c64 (string)
(let ((bytes (compile-string-to-bytes string :print-ir-p t))) (let ((bytes (compile-string-to-bytes string :print-ir-p t)))
(send-data-to-c64 (coerce bytes 'vector)))) (send-data-to-c64 (coerce bytes 'vector))))
#|
Required to make the serial port behave even remotely correctly:
stty -F /dev/ttyACM0 -brkint -icrnl -imaxbel -opost -onlcr -isig -icanon -iexten -echo -echoe -echok -echoctl -echoke 9600
|#