diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-03-14 21:41:47 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-03-14 21:41:47 -0700 |
commit | 98feca922e46c82d1efdb44b99021b771bdac44d (patch) | |
tree | 9b59a558e787693b5db14fd44ea8b7d240246b5c /ex1.hex | |
parent | da438fa9f5e4297f37833daa4f1d76ddd6d10a42 (diff) | |
download | mu-98feca922e46c82d1efdb44b99021b771bdac44d.tar.gz |
rename boot.hex to boot.subx
Diffstat (limited to 'ex1.hex')
-rw-r--r-- | ex1.hex | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/ex1.hex b/ex1.hex deleted file mode 100644 index cb5f7e25..00000000 --- a/ex1.hex +++ /dev/null @@ -1,19 +0,0 @@ -# The simplest possible program: just an infinite loop. -# All is well if your computer clears screen and hangs without restarting. -# 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: -# cat baremetal/boot.hex baremetal/ex1.hex |bootstrap/bootstrap run hex > a.bin -# dd if=a.bin of=disk.img conv=notrunc -# To run: -# qemu-system-i386 disk.img -# Or: -# bochs -f baremetal/boot.bochsrc # boot.bochsrc loads disk.img - -# main: (address 0x9400) -e9 fb ff ff ff # jump to main, hanging indefinitely - -# vim:ft=subx |