git: 9front

Download patch

ref: 6b02d113aba49bce94e7e47880c6780c589a53d8
parent: 88ef6f5a3c86e730b620196263bfabb2d9a174dd
author: ment <thement@ibawizard.net>
date: Tue Jun 21 20:30:09 EDT 2011

boot/pbs: wrong register

--- a/sys/src/boot/pc/pbs.s
+++ b/sys/src/boot/pc/pbs.s
@@ -107,7 +107,7 @@
 	CLR(rCX)
 	LB(_nfats(SB), rCL)
 	MUL(rCX)
-	OR(rCX, rCX)
+	OR(rAX, rAX)
 	JNE _fatszok	/* zero? it's FAT32 */
 
 	LW(_fatsz32hi(SB), rBX)
--