Small bugfixes with DF in debug subsystem; small improvement in function 70.0 for floppies
git-svn-id: svn://kolibrios.org@113 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
849b393cad
commit
7a1e29cbc9
@ -421,6 +421,7 @@ debugger_notify:
|
||||
debug_exc:
|
||||
; int 1 = #DB
|
||||
save_ring3_context
|
||||
cld
|
||||
mov ax, os_data
|
||||
mov ds, ax
|
||||
mov es, ax
|
||||
|
@ -246,6 +246,7 @@ exc_c:
|
||||
.debug:
|
||||
; we are debugged process, notify debugger and suspend ourself
|
||||
; eax=debugger PID
|
||||
cld
|
||||
movzx ecx, bl
|
||||
push ecx
|
||||
mov ecx, [0x3010]
|
||||
|
@ -1328,14 +1328,14 @@ fs_FloppyRead:
|
||||
jz .eof
|
||||
cmp edi, 0xFF8
|
||||
jae .eof
|
||||
sub ebx, 512
|
||||
jae .skip
|
||||
lea eax, [edi+31]
|
||||
pusha
|
||||
call read_chs_sector
|
||||
popa
|
||||
cmp [FDC_Status], 0
|
||||
jnz .err
|
||||
sub ebx, 512
|
||||
jae .skip
|
||||
lea eax, [0xD000+ebx+512]
|
||||
neg ebx
|
||||
push ecx
|
||||
|
Loading…
Reference in New Issue
Block a user