about summary refs log tree commit diff stats
path: root/baremetal/ex1.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-29 18:56:21 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-29 18:56:21 -0800
commit796f3b70f264a13a48f8b0247a997f074e5995c3 (patch)
tree840ec9eabaf0af5f0dcdd8af8cf9e96eecf82d5f /baremetal/ex1.subx
parentc1b1d1f4e67b0badfef3473121220d34a5b4b418 (diff)
downloadmu-796f3b70f264a13a48f8b0247a997f074e5995c3.tar.gz
7461
Diffstat (limited to 'baremetal/ex1.subx')
-rw-r--r--baremetal/ex1.subx9
1 files changed, 2 insertions, 7 deletions
diff --git a/baremetal/ex1.subx b/baremetal/ex1.subx
index 196b4104..9507bad3 100644
--- a/baremetal/ex1.subx
+++ b/baremetal/ex1.subx
@@ -3,13 +3,8 @@
 # On an emulator the window may get bigger to accomodate the higher-resolution
 # graphics mode.
 #
-# To convert to a disk image, first prepare a realistically sized disk image:
-#   dd if=/dev/zero of=disk.img count=20160          # 512-byte sectors, so 10MB
-# Load the program on the disk image:
-#   ./translate_subx_baremetal baremetal/ex1.subx    # emits a.bin
-#   apps/hex < baremetal/boot.hex  > boot.bin
-#   cat boot.bin a.bin > disk.bin
-#   dd if=disk.bin of=disk.img conv=notrunc
+# To build a disk image:
+#   ./translate_subx_baremetal baremetal/ex2.subx    # emits disk.img
 # To run:
 #   qemu-system-i386 disk.img
 # Or: