Skip to content

Commit 99b29d5

Browse files
first commit
1 parent 8463cbe commit 99b29d5

2 files changed

Lines changed: 7 additions & 10 deletions

File tree

bootloader/kernel/ksdos.asm

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -154,22 +154,19 @@ system_load_complete:
154154
155155
; Initialize FAT filesystem (20%)
156156
mov al, 1
157-
call splash_update
157+
call gui_update_progress
158158
159159
; Load critical system data (40%)
160160
mov al, 2
161-
call splash_update
161+
call gui_update_progress
162162
163163
; Initialize disk system (60%)
164164
mov al, 3
165-
call splash_update
165+
call gui_update_progress
166166
167167
; Load driver systems (80%)
168168
mov al, 4
169-
call splash_update
170-
171-
; Complete loading
172-
call splash_complete
169+
call gui_update_progress
173170
174171
pop dx
175172
pop si

bootloader/kernel/window_gui.asm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -254,7 +254,7 @@ window_find_new_active:
254254
push bx
255255
push di
256256
257-
mov [active_window], -1
257+
mov word [active_window], -1
258258
mov bx, WINDOW_MAX
259259
mov di, windows
260260
@@ -450,7 +450,7 @@ window_check_drag:
450450
push bp
451451
452452
; Check if already dragging
453-
cmp [drag_window], -1
453+
cmp word [drag_window], -1
454454
jne .continue_drag
455455
456456
; Start new drag
@@ -543,7 +543,7 @@ window_check_drag:
543543
; window_stop_drag: Stop dragging windows
544544
; ============================================================
545545
window_stop_drag:
546-
mov [drag_window], -1
546+
mov word [drag_window], -1
547547
ret
548548

549549
; ============================================================

0 commit comments

Comments
 (0)