aboutsummaryrefslogtreecommitdiffstats
path: root/dos
diff options
context:
space:
mode:
authorShao Miller <shao.miller@yrdsb.edu.on.ca>2010-07-10 00:47:55 -0400
committerShao Miller <shao.miller@yrdsb.edu.on.ca>2010-07-10 00:47:55 -0400
commitccad6e87e9b9a51f3781cc6e4dc045525c5c5342 (patch)
tree95e30b297c8bfc773bdfde38c460ca555a5407a6 /dos
parent1fb6b70cdacaf3ca3c069a6d96434eed3b6bc22f (diff)
downloadsyslinux-devel-ccad6e87e9b9a51f3781cc6e4dc045525c5c5342.tar.gz
syslinux-devel-ccad6e87e9b9a51f3781cc6e4dc045525c5c5342.tar.xz
syslinux-devel-ccad6e87e9b9a51f3781cc6e4dc045525c5c5342.zip
dos: Work-in-progress 2
Diffstat (limited to 'dos')
-rwxr-xr-x[-rw-r--r--]dos/dosexe.ld0
-rwxr-xr-xdos/syslinux.c2
2 files changed, 2 insertions, 0 deletions
diff --git a/dos/dosexe.ld b/dos/dosexe.ld
index 4612b30a..4612b30a 100644..100755
--- a/dos/dosexe.ld
+++ b/dos/dosexe.ld
diff --git a/dos/syslinux.c b/dos/syslinux.c
index 891980e8..744ec36a 100755
--- a/dos/syslinux.c
+++ b/dos/syslinux.c
@@ -601,6 +601,7 @@ int main(int argc, char *argv[])
int patch_sectors;
ldlinux_seg = (size_t) __payload_sseg + data_segment();
+printf("SHAO seg: 0x%04x\n", ldlinux_seg);
dprintf("argv = %p\n", argv);
for (i = 0; i <= argc; i++)
@@ -757,6 +758,7 @@ int main(int argc, char *argv[])
}
}
+printf("Foo: %p\n", syslinux_ldlinux);
/*
* Patch ldlinux.sys and the boot sector
*/