]> git.lizzy.rs Git - plan9front.git/commit
pbs: allow 9bootfat start cluster beyond 0xFFFF
authorcinap_lenrek <cinap_lenrek@gmx.de>
Sun, 5 May 2013 23:15:46 +0000 (01:15 +0200)
committercinap_lenrek <cinap_lenrek@gmx.de>
Sun, 5 May 2013 23:15:46 +0000 (01:15 +0200)
commitcd66b11f67654edfa54cab05422310d5c923784a
treeffb3e300f0068f6976cf838e087294bfe459930d
parentd3b727db18c04b1eb485399dfcebff8ff61d8c7b
pbs: allow 9bootfat start cluster beyond 0xFFFF

pbs failed to load (silently loading garbage) 9BOOTFAT from start
cluster beyond FFFF because we ignored the low word from the
directory entry. now taking the high 16 bit of the directory's
start cluster into account.
sys/src/boot/pc/pbs.s
sys/src/boot/pc/x16.h