Hello!

AmiBIOS (C) 1994 has very limited LBA support.
Function 0x42 (LBA read) is not supported.

The question "should use CHS instead?" has an answer "Yes".
It is certainly better that just print "Read Error" and stop.

The situation is different in start.S
If the Stage 1 indicates that LBA was used, then errors in start.S are
actually read errors.

ChangeLog:
        * stage1/stage1.S: fallback to CHS if LBA read is not supported

PS. I think I'm now eligible for Boston Hurd User Group :-)
Feel free to contact me in private.

Pavel Roskin
diff -urN stage1/stage1.S stage1/stage1.S
--- stage1/stage1.S     Tue Oct 26 10:09:55 1999
+++ stage1/stage1.S     Thu Nov 11 16:21:18 1999
@@ -200,8 +200,8 @@
        movb    $0x42, %ah
        int     $0x13
 
-       /* should use CHS instead? */
-       jc      read_error
+       /* function 0x42 not supported, we have to use CHS */
+       jc      chs_mode
 
        movw    $STAGE1_BUFFERSEG, %bx
        jmp     copy_buffer

Reply via email to