Fact is, on most systems, it works fine and well, but on AMD K6-II systems, it take ages to load (though it doesn't report errors, afaik)
You may find 'loadsector' code in my CVS
It gets used as
Code: Select all
;----> datas loading <--------------------
xor ecx,ecx
inc bx
.loadloop:
mov cx,512
cmp edi,ecx
jb .loadlast
sub edi,ecx
read2buffer bx ;; call readSector for sector #bx into a sectorbuffer
buffer2mem 512,0,dx ;; moves the data to proper place (rep movsb)
inc bx
jc .error
add bp,0x20
mov ds,bp
jmp short .loadloop
.loadlast:
mov cx,di
jcxz .wipeready
read2buffer bx
buffer2mem cx,0,dx
If anyone sees anything odd in that stuff ...
