summaryrefslogtreecommitdiff
path: root/memdisk
diff options
context:
space:
mode:
Diffstat (limited to 'memdisk')
-rw-r--r--memdisk/memdisk.inc1
-rw-r--r--memdisk/memdisk_chs_512.asm1
-rw-r--r--memdisk/memdisk_edd_512.asm1
3 files changed, 2 insertions, 1 deletions
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"