The floppy table patching was somehow messed up when converting to
GPT. The proper offset of FloppyTable at the point we patch is
[di-12] and we use offset +4 inside that field.
Reported-by: Juergen <jlborries@online.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
mov [bx+2],ax ; Segment 0
fs rep movsw ; Faster to move words
mov cl,[bsSecPerTrack] ; Patch the sector count
- mov [di-76+8],cl
+ mov [di-12+4],cl
push ax ; Partition offset == 0
push ax