diff --git a/shell.asm b/shell.asm index c1dbc69..68822a8 100644 --- a/shell.asm +++ b/shell.asm @@ -62,14 +62,6 @@ initialize: call request_redraw - ; Temporary testing - mov ax, cs - mov es, ax - mov di, file_window + 80 - mov cx, 3 - mov dx, 40 - call print_ls - pop ds retf @@ -259,6 +251,14 @@ show_file_window: add ax, 0x001 xchg [es:GLOBAL_WINDOW_CHAIN_HEAD], ax mov [windows + 1*window.size + window.next], ax + mov ax, cs + + ; Populate file window contents + mov es, ax + mov di, file_window + 80 + mov cx, 3 + mov dx, 40 + call print_ls pop ax