-#if 0
-/* second.S - LILO second stage boot loader */
-Copyright 1992-1998 Werner Almesberger.
-Copyright 1999-2006 John Coffman.
-All rights reserved.
-
-Licensed under the terms contained in the file 'COPYING' in the
-source directory.
-
-#endif
+; second.S - LILO second stage boot loader
+;
+; Copyright 1992-1998 Werner Almesberger
+; Copyright 1999-2006 John Coffman
+; Copyright 2009-2011 Joachim Wiedorn
+; All rights reserved.
+;
+; Licensed under the terms contained in the file 'COPYING'
+; in the source directory.
+;
/*#define DEBUG*/
#define REG_DUMP 1
xor edx,edx ; flag nothing found
xor esi,esi ; flag size==0
xor ebx,ebx
- ;jmp e8go ; circumvented due to BIOS problems
- br no_e801 ; skip to backup plan
+ jmp e8go
e8go2: or ebx,ebx ; test for end
jz e8go5
e8go: push edx ; save best prospect