Running make runs one or more of these scripts:
- lo: sets up
disk.imgas a loopback device - unlo: tears down the loopback device set up by
lo - createdisk: creates the disk image
disk.img - formatdisk: formats
disk.imgusing FAT12 - copyboot: copies the bootloader
bin/bootto the disk image - copystage2: mounts the filesystem on the disk image and copies the stage 2 loader
- nasm
- qemu
The following targets are available for make:
makedisk: creates the disk image and copies the files to itrunonly: runs the emulator with the disk imagefull: compiles and assembles all filesrun: same asfull, but also runs the emulatorclean: removes all generated filesdoc: compile the README and file comments; output indoc/
- when jumping to a location in memory, make sure it contains executable code, and not a string -- this has been a problem