| 1 |
#! /bin/sh |
| 2 |
# Check the large disk interface, boots partition 3. |
| 3 |
do_install -d 0x80 -p 3 -t 5 -isk -e1 test-mbr |
| 4 |
# Boots partition 3. |
| 5 |
cat <<EOF >test-x |
| 6 |
Output: "\rMBR " |
| 7 |
Time: 5 |
| 8 |
Output: "\rMBR " |
| 9 |
Read sector #0x000000000004cc40 to 0000:7c00 |
| 10 |
Output: "\r\n" |
| 11 |
Time: 6 |
| 12 |
Exit: 0000 0000 0004 cc40 |
| 13 |
Partition: inactive type: 0xeb |
| 14 |
Start: C=1023 H=15 S=17 End: C=1023 H=15 S=17 |
| 15 |
Sector 0x0004cc40 Length 0x00010de0 |
| 16 |
eax:00000e0a ebx:00000000 ecx:00000001 edx:00000080 PC:0000:00007c02 |
| 17 |
esi:000007de edi:00000005 ebp:00000000 efl:00030246 SP:0000:00000000 |
| 18 |
ds:0000 es:0000 fs:0000 gs:0000 FLAGS: c P a Z s t I d o |
| 19 |
EOF |
| 20 |
harness -ib test-mbr -r 10 >test-y |
| 21 |
diff -u test-x test-y |
| 22 |
|
| 23 |
: Done |