diff --git a/m4-bochs/readme.md b/m4-bochs/readme.md index 56427cf..6d3f27e 100644 --- a/m4-bochs/readme.md +++ b/m4-bochs/readme.md @@ -1,5 +1,13 @@ # Testing on local emulator bochfs +We have configuration for emulator in bochsrc and assembler code in hello.asm. +## Building binary +> nasm hello.asm -f bin -o hello.bin + +## Build image +> dd if=hello.bin of=boot.img bs=512 count=1 conv=notrunc + +## Run emulator > bochs -f bochsrc -q ![Bochs screenshot](./screen/bochs.png)