From ee524119546da6b45777a1fd87f7defe167b84e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Wed, 22 Mar 2023 21:03:10 +0200 Subject: [PATCH] Resize file window so that it can display full directory --- shell.asm | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/shell.asm b/shell.asm index 68822a8..027adb5 100644 --- a/shell.asm +++ b/shell.asm @@ -53,9 +53,9 @@ initialize: ; Initialize file window but don't show it mov word [windows + 1*window.size + window.width], 40 - mov word [windows + 1*window.size + window.height], 4 - mov word [windows + 1*window.size + window.x], 14 - mov word [windows + 1*window.size + window.y], 6 + mov word [windows + 1*window.size + window.height], 16 + mov word [windows + 1*window.size + window.x], 10 + mov word [windows + 1*window.size + window.y], 4 mov word [windows + 1*window.size + window.data], file_window mov byte [windows + 1*window.size + window.icon], 0 mov byte [windows + 1*window.size + window.mouse_released_inside], 0 @@ -615,9 +615,7 @@ file_window: db 'A', 0x0f, ':', 0x0f times 37 db ' ', 0x0f db 'x', 0x0f - times 40 db ' ', 0xf0 - times 40 db ' ', 0xf0 - times 40 db ' ', 0xf0 + times 15*40 db ' ', 0xf0 windows: times window.size db 0