Upload files to "/"

This commit is contained in:
floppy121 committed 2026-01-24 22:34:57 +00:00
1 parent 88ec1ebf30
commit 794b690be3
1 file changed
+42
+42
View File
@@ -0,0 +1,42 @@
---
programs/network/ircc/textbox.inc | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/programs/network/ircc/textbox.inc b/programs/network/ircc/textbox.inc
index bedaec6fe..5f685c4d7 100644
--- a/programs/network/ircc/textbox.inc
+++ b/programs/network/ircc/textbox.inc
@@ -140,6 +140,30 @@ print_asciiz:
;----------------------------------
print_char:
+ cmp al, 1
+ je .unsupported_char
+ cmp al, 2
+ je .unsupported_char
+ cmp al, 4
+ je .unsupported_char
+ cmp al, 5
+ je .unsupported_char
+ cmp al, 6
+ je .unsupported_char
+ cmp al, 7
+ je .unsupported_char
+ cmp al, 8
+ je .unsupported_char
+ cmp al, 9
+ je .unsupported_char
+ cmp al, 11
+ je .unsupported_char
+ cmp al, 12
+ je .unsupported_char
+ jmp .supported_char
+ .unsupported_char:
+ ret
+ .supported_char:
push esi edi
mov esi, [window_print]
mov edi, [esi + window.text_write]
--
2.52.0