From 05fa5107ccf45d6105f82a5a147f2c2e766ee169 Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 14 Nov 2014 18:30:12 +0000 Subject: [PATCH] z80pack: Make the bootblock in the Makefile Update README --- Kernel/platform-z80pack/Makefile | 3 +++ Kernel/platform-z80pack/README | 7 ++----- Kernel/platform-z80pack/bootblock.s | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Kernel/platform-z80pack/Makefile b/Kernel/platform-z80pack/Makefile index 2b569073..5ac3aff9 100644 --- a/Kernel/platform-z80pack/Makefile +++ b/Kernel/platform-z80pack/Makefile @@ -23,3 +23,6 @@ clean: rm -f $(OBJS) $(JUNK) core *~ image: + sdasz80 -o bootblock.s + sdldz80 -m -i bootblock.rel + makebin -s 128 bootblock.ihx > bootblock.bin diff --git a/Kernel/platform-z80pack/README b/Kernel/platform-z80pack/README index 1c3cf494..db88c008 100644 --- a/Kernel/platform-z80pack/README +++ b/Kernel/platform-z80pack/README @@ -28,18 +28,15 @@ Bank 1 to Bank n: ECFF Application end ED00-EFFF uarea stash -CP/M emulation size is very limited short of figuring a hack way to have -a shared emulator in highmem, even then not great. - Disk swap device recommended - Put the kernel at the end of a floppy image from cyl 60 Add the fs in the first 60 cyls (390 blocks) + Put the bootblock in sector 0 dd the kernel image to offset 199680 ie -dd if=uzi.bin of=drivea.img bs=1 seek=199680 conv=nontruc +dd if=fuzix.bin of=drivea.cpm bs=1 seek=199680 conv=nontruc diff --git a/Kernel/platform-z80pack/bootblock.s b/Kernel/platform-z80pack/bootblock.s index 118aedea..887293fe 100644 --- a/Kernel/platform-z80pack/bootblock.s +++ b/Kernel/platform-z80pack/bootblock.s @@ -76,6 +76,6 @@ load_sectors: exx out (1), a jp 0x88 - .ds 25 + .ds 26 stack: .db 0xff -- 2.34.1