Mtdbg - bug fix: CTRL-F7 & CTRL-F8 aren't works right after loading. Added support of F7 & F8 - with the same functionality but without CTRL key

git-svn-id: svn://kolibrios.org@4285 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
tserj 2013-11-24 01:09:17 +00:00
parent 1a788758ed
commit 7cfde6baf4
2 changed files with 9 additions and 1 deletions

View File

@ -143,6 +143,10 @@ keypressed:
jz .up
cmp al, 0xD8
jz CtrlF7
cmp al, 0x38 ; F7
jz CtrlF7
cmp al, 0x39 ; F8
jz CtrlF8
cmp al, 0xD9
jz CtrlF8
cmp [cmdline_len], cmdline_width

View File

@ -888,6 +888,8 @@ OnStep:
cmp [step_num], 0
jg .stepone
mov esi, [curarg]
cmp esi, 0
jz .stepone
cmp byte [esi], 0
jz .stepone
call get_hex_number
@ -1000,6 +1002,8 @@ OnProceed:
cmp [proc_num], 0
jg .procone
mov esi, [curarg]
cmp esi, 0
jz .procone
cmp byte [esi], 0
jz .procone
call get_hex_number
@ -2355,7 +2359,7 @@ include 'disasm.inc'
caption_str db 'Kolibri Debugger',0
caption_len = $ - caption_str
begin_str db 'Kolibri Debugger, version 0.32',10
begin_str db 'Kolibri Debugger, version 0.33',10
db 'Hint: type "help" for help, "quit" for quit'
newline db 10,0
prompt db '> ',0