mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 10:04:49 +00:00
Indicate loading process by dots (in non-debug mode only)
svn path=/trunk/; revision=1496
This commit is contained in:
parent
b12b25cd3d
commit
8fe6e74b25
1 changed files with 25 additions and 2 deletions
|
@ -609,6 +609,13 @@ pe_load_module:
|
||||||
;;
|
;;
|
||||||
mov [_current_filehandle], ax
|
mov [_current_filehandle], ax
|
||||||
|
|
||||||
|
;;
|
||||||
|
;; Print space
|
||||||
|
;;
|
||||||
|
mov ah,02h
|
||||||
|
mov dl,' '
|
||||||
|
int 021h
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Seek to the start of the file
|
;; Seek to the start of the file
|
||||||
;;
|
;;
|
||||||
|
@ -695,9 +702,11 @@ pe_load_module:
|
||||||
mov dx, error_file_read_failed
|
mov dx, error_file_read_failed
|
||||||
jmp .error
|
jmp .error
|
||||||
.read_data_succeeded:
|
.read_data_succeeded:
|
||||||
|
%ifndef NDEBUG
|
||||||
mov ah,02h
|
mov ah,02h
|
||||||
mov dl,'#'
|
mov dl,'#'
|
||||||
int 021h
|
int 021h
|
||||||
|
%endif
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Copy the file data just read in to high memory
|
;; Copy the file data just read in to high memory
|
||||||
|
@ -706,9 +715,15 @@ pe_load_module:
|
||||||
mov esi, 0x90000
|
mov esi, 0x90000
|
||||||
mov ecx, 32768
|
mov ecx, 32768
|
||||||
call _himem_copy
|
call _himem_copy
|
||||||
|
%ifndef NDEBUG
|
||||||
mov ah,02h
|
mov ah,02h
|
||||||
mov dl,'$'
|
mov dl,'$'
|
||||||
int 021h
|
int 021h
|
||||||
|
%else
|
||||||
|
mov ah,02h
|
||||||
|
mov dl,'.'
|
||||||
|
int 021h
|
||||||
|
%endif
|
||||||
|
|
||||||
sub dword [_current_size], 32768
|
sub dword [_current_size], 32768
|
||||||
jmp .read_next
|
jmp .read_next
|
||||||
|
@ -731,9 +746,11 @@ pe_load_module:
|
||||||
mov dx, error_file_read_failed
|
mov dx, error_file_read_failed
|
||||||
jmp .error
|
jmp .error
|
||||||
.read_last_data_succeeded:
|
.read_last_data_succeeded:
|
||||||
|
%ifndef NDEBUG
|
||||||
mov ah,02h
|
mov ah,02h
|
||||||
mov dl,'#'
|
mov dl,'#'
|
||||||
int 021h
|
int 021h
|
||||||
|
%endif
|
||||||
|
|
||||||
;;
|
;;
|
||||||
;; Copy the tailing part to high memory
|
;; Copy the tailing part to high memory
|
||||||
|
@ -742,9 +759,15 @@ pe_load_module:
|
||||||
mov ecx, [_current_size]
|
mov ecx, [_current_size]
|
||||||
mov esi, 0x90000
|
mov esi, 0x90000
|
||||||
call _himem_copy
|
call _himem_copy
|
||||||
|
%ifndef NDEBUG
|
||||||
mov ah,02h
|
mov ah,02h
|
||||||
mov dl,'$'
|
mov dl,'$'
|
||||||
int 021h
|
int 021h
|
||||||
|
%else
|
||||||
|
mov ah,02h
|
||||||
|
mov dl,'.'
|
||||||
|
int 021h
|
||||||
|
%endif
|
||||||
|
|
||||||
.do_round:
|
.do_round:
|
||||||
test di, 0xfff
|
test di, 0xfff
|
||||||
|
|
Loading…
Reference in a new issue