#! /bin/sh
# Check the large disk interface
do_install -d 0x80 -p 3 -t 5 -isk -e1 test-mbr
cat <<EOF >test-x
Output: "\rMBR "
Time: 5
Output: "\rMBR "
Read sector #0x000000000004cc40 to 0000:7c00
Output: "\r\n"
Time: 6
Exit: 0000 0000 0004 cc40
eax:00000e0a ebx:00000000 ecx:00000001 edi:00000080 PC:0000:00007c02
esi:0000078e edi:00000005 ebp:00000000 efl:00030246 SP:0000:00000000
ds:0000 es:0000 fs:0000 gs:0000 FLAGS: c P a Z s t I d o
EOF
harness -ib test-mbr -r 10 >test-y
diff -u test-x test-y

: Done
