trs80: update README
authorAlan Cox <alan@linux.intel.com>
Wed, 16 May 2018 21:23:36 +0000 (22:23 +0100)
committerAlan Cox <alan@linux.intel.com>
Wed, 16 May 2018 21:23:36 +0000 (22:23 +0100)
Kernel/platform-trs80/README

index 1bb4cd7..5768e14 100644 (file)
@@ -60,7 +60,37 @@ Adding Support For Other Banked RAM:
        Finally up MAX_BANKS in platform/config.h accordingly.
 
 
-Setting It Up
+Setting It Up (current xtrs: https://github.com/TimothyPMann/xtrs)
+
+       This needs patches currently in progress
+
+       # Tool to make disk images
+       make tools/makejv3
+       # Double density single sided 40 track boot disk
+       tools/makejv3 dd40s /dev/zero disk4p-0
+       # Build kernel and boot block (edit Makefile, set target then)
+       make
+       # Add pieces to the disk (boot block in sector 0, kernel at end)
+       dd if=zout/trs80load.cim of=disk4p-0 bs=1 seek=8960 conv=notrunc
+       dd if=fuzix.bin of=disk4p-0 bs=1 seek=142336 conv=notrunc
+       # Once we get that far you can also put a filesystem in the lower
+       # blocks
+       #
+       xtrs -model 4p -emtsafe
+
+To set up for hard disk, create a hard disk with the xtrs tools and
+
+       mkdisk -h hard4p-0
+       # This assumes the default disk size
+       cd Standalone/filesystem-src
+       ./build-filesystem trs80.hd 256 21760
+       dd if=trs80.hd of=hard4p-0 bs=256 seek=1 conv=notrunc
+       tools/trslabel hard4p-0
+       #
+       xtrs -model 4p -emtsafe
+
+
+Setting It Up (patched SDLTRS)
 
        # Tool to make disk images
        make tools/makejv3
@@ -90,6 +120,7 @@ To set up for hard disk, create a hard disk with the xtrs tools and
        sdltrs -model 4p -emtsafe -disk0 mydisk.jv3 -hard0 hard4-0
 
 
+
 You will still need a boot floppy at this point but just boot with device
 0 (or hit return). Swap is configured to be on the end of the hard disk