[memdisk] Move sector size choice into each individual hook
authorShao Miller <shao.miller@yrdsb.edu.on.ca>
Sat, 1 Aug 2009 05:39:43 +0000 (01:39 -0400)
committerShao Miller <shao.miller@yrdsb.edu.on.ca>
Tue, 4 Aug 2009 02:09:37 +0000 (22:09 -0400)
memdisk/memdisk.inc
memdisk/memdisk_chs_512.asm
memdisk/memdisk_edd_512.asm

index 7b63c05..14f077a 100644 (file)
@@ -79,7 +79,6 @@
 
                org 0h
 
-%define SECTORSIZE_LG2 9               ; log2(sector size)
 %define        SECTORSIZE      (1 << SECTORSIZE_LG2)
 
                ; Parameter registers definition; this is the definition
index 4b06a85..35acbbd 100644 (file)
@@ -1,2 +1,3 @@
 %define EDD 0
+%define SECTORSIZE_LG2 9       ; log2(sector size)
 %include "memdisk.inc"
index d2e7b1c..fbd90c1 100644 (file)
@@ -1,2 +1,3 @@
 %define EDD 1
+%define SECTORSIZE_LG2 9       ; log2(sector size)
 %include "memdisk.inc"