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:
Evgeny Grechnikov (Diamond) 2006-08-02 14:34:15 +00:00
parent 849b393cad
commit 7a1e29cbc9
3 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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]

View File

@ -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