From cb2d6723ad809d88d7fb22f29acb08ba27370fa9 Mon Sep 17 00:00:00 2001 From: Shao Miller Date: Sat, 1 Aug 2009 01:39:43 -0400 Subject: [memdisk] Move sector size choice into each individual hook --- memdisk/memdisk.inc | 1 - memdisk/memdisk_chs_512.asm | 1 + memdisk/memdisk_edd_512.asm | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) (limited to 'memdisk') diff --git a/memdisk/memdisk.inc b/memdisk/memdisk.inc index 7b63c050..14f077ab 100644 --- a/memdisk/memdisk.inc +++ b/memdisk/memdisk.inc @@ -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 diff --git a/memdisk/memdisk_chs_512.asm b/memdisk/memdisk_chs_512.asm index 4b06a856..35acbbd8 100644 --- a/memdisk/memdisk_chs_512.asm +++ b/memdisk/memdisk_chs_512.asm @@ -1,2 +1,3 @@ %define EDD 0 +%define SECTORSIZE_LG2 9 ; log2(sector size) %include "memdisk.inc" diff --git a/memdisk/memdisk_edd_512.asm b/memdisk/memdisk_edd_512.asm index d2e7b1cf..fbd90c15 100644 --- a/memdisk/memdisk_edd_512.asm +++ b/memdisk/memdisk_edd_512.asm @@ -1,2 +1,3 @@ %define EDD 1 +%define SECTORSIZE_LG2 9 ; log2(sector size) %include "memdisk.inc" -- cgit v1.2.1