determine the size of Stage 2 automatically.

This commit is contained in:
okuji committed 1999-09-15 05:41:03 +00:00
1 parent e8d6ef494e
commit 4ea54f2d0a
9 files changed
+57 -28

No files matched your search

+4 -2
View File
@@ -19,7 +19,8 @@
*/
#include <stage1.h>
#include <stage2_size.h>
/*
* defines for the code go here
*/
@@ -345,7 +346,8 @@ lastlist:
#else
.long 1 /* this is the sector start parameter, in logical
sectors from the start of the disk, sector 0 */
.word 130 /* this is the number of sectors to read */
/* this is the number of sectors to read */
.word (STAGE2_SIZE + 511) / 512
.word 0x0800 /* this is the segment of the starting address
to load the data into */
#endif