forked from KolibriOS/kolibrios
Apps/dbgboard: fix comments
This commit is contained in:
@@ -240,7 +240,6 @@ proc print_next_char uses ebx
|
|||||||
invoke con_write_asciiz, prefix
|
invoke con_write_asciiz, prefix
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
; invoke con_write_asciiz, prefix
|
|
||||||
|
|
||||||
mov [is_start_line], 0
|
mov [is_start_line], 0
|
||||||
mov [prefix_index], 0
|
mov [prefix_index], 0
|
||||||
@@ -258,7 +257,6 @@ proc print_next_char uses ebx
|
|||||||
invoke con_write_asciiz, chr
|
invoke con_write_asciiz, chr
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
; invoke con_write_asciiz, chr
|
|
||||||
.if byte [chr] = 10
|
.if byte [chr] = 10
|
||||||
mov [is_start_line], 1
|
mov [is_start_line], 1
|
||||||
stdcall set_text_color, TEXT_COLOR_LIGHTGRAY
|
stdcall set_text_color, TEXT_COLOR_LIGHTGRAY
|
||||||
@@ -268,11 +266,11 @@ proc print_next_char uses ebx
|
|||||||
endp
|
endp
|
||||||
|
|
||||||
start:
|
start:
|
||||||
;; if there is a second instance of conboard is running then exit
|
;; if there is a second instance of dbgboard is running then exit
|
||||||
mcall SF_THREAD_INFO, thread_info, -1
|
mcall SF_THREAD_INFO, thread_info, -1
|
||||||
stdcall string.copy, thread_info + process_information.process_name, thread_name
|
stdcall string.copy, thread_info + process_information.process_name, thread_name
|
||||||
stdcall string.to_lower_case, thread_name
|
stdcall string.to_lower_case, thread_name
|
||||||
xor edx, edx ; conboard instance count
|
xor edx, edx ; dbgboard instance count
|
||||||
xor esi, esi
|
xor esi, esi
|
||||||
.while esi < 256 ; NOTE: add to macros.inc MAX_THREAD_COUNT = 256
|
.while esi < 256 ; NOTE: add to macros.inc MAX_THREAD_COUNT = 256
|
||||||
mcall SF_THREAD_INFO, thread_info, esi
|
mcall SF_THREAD_INFO, thread_info, esi
|
||||||
@@ -313,10 +311,6 @@ start:
|
|||||||
mcall SF_FILE, struct_open_in_notepad
|
mcall SF_FILE, struct_open_in_notepad
|
||||||
.endif
|
.endif
|
||||||
.if ah = 0x0F ; Tab
|
.if ah = 0x0F ; Tab
|
||||||
; invoke con_set_title, [title_base + 4]
|
|
||||||
|
|
||||||
; invoke con_exit, 1
|
|
||||||
; jmp .raw_exit
|
|
||||||
mov eax, [current_mode]
|
mov eax, [current_mode]
|
||||||
inc eax
|
inc eax
|
||||||
.if eax >= MODES_COUNT
|
.if eax >= MODES_COUNT
|
||||||
@@ -382,8 +376,6 @@ title_base:
|
|||||||
title_mode_user db 'Debug board - [Tab] switches mode: USER_kernel_both [F2] opens log file',0
|
title_mode_user db 'Debug board - [Tab] switches mode: USER_kernel_both [F2] opens log file',0
|
||||||
title_mode_kernel db 'Debug board - [Tab] switches mode: user_KERNEL_both [F2] opens log file',0
|
title_mode_kernel db 'Debug board - [Tab] switches mode: user_KERNEL_both [F2] opens log file',0
|
||||||
title_mode_both db 'Debug board - [Tab] switches mode: user_kernel_BOTH [F2] opens log file',0
|
title_mode_both db 'Debug board - [Tab] switches mode: user_kernel_BOTH [F2] opens log file',0
|
||||||
; [Tab] changes mode: user_kernel_BOTH [F2] opens log-file
|
|
||||||
|
|
||||||
|
|
||||||
log_file_path dd default_log_file_path
|
log_file_path dd default_log_file_path
|
||||||
default_log_file_path db '/tmp0/1/BOARDLOG.TXT',0
|
default_log_file_path db '/tmp0/1/BOARDLOG.TXT',0
|
||||||
|
Reference in New Issue
Block a user