### Run OS in QEMU Emulator Source: https://github.com/caoaolong/csos-teach/blob/master/README.md This command compiles and runs the operating system using the QEMU emulator. QEMU is a versatile machine emulator and virtualizer. ```shell make qemu ``` -------------------------------- ### Compile and Build the OS with Make Source: https://github.com/caoaolong/csos-teach/blob/master/README.md This command initiates a full recompilation and build process for the entire operating system. It is the primary method for generating the final executable. ```shell make all ``` -------------------------------- ### Create Disk Image with bximage Source: https://github.com/caoaolong/csos-teach/blob/master/README.md This is an interactive process using the `bximage` tool to create a new disk image for the Bochs emulator. It prompts the user for image type, format, size, and filename. ```shell bximage ======================================================================== bximage Disk Image Creation / Conversion / Resize and Commit Tool for Bochs $Id: bximage.cc 14091 2021-01-30 17:37:42Z sshwarts $ ======================================================================== 1. Create new floppy or hard disk image 2. Convert hard disk image to other format (mode) 3. Resize hard disk image 4. Commit 'undoable' redolog to base image 5. Disk image info 0. Quit Please choose one [0] 1 Create image Do you want to create a floppy disk image or a hard disk image? Please type hd or fd. [hd] hd What kind of image should I create? Please type flat, sparse, growing, vpc or vmware4. [flat] flat Choose the size of hard disk sectors. Please type 512, 1024 or 4096. [512] 512 Enter the hard disk size in megabytes, between 10 and 8257535 [10] 32 What should be the name of the image? [c.img] master.img Creating hard disk image 'test.img' with CHS=65/16/63 (sector size = 512) The following line should appear in your bochsrc: ata0-master: type=disk, path="test.img", mode=flat (The line is stored in your windows clipboard, use CTRL-V to paste) Press any key to continue ``` -------------------------------- ### Run OS in Bochs Debugger Source: https://github.com/caoaolong/csos-teach/blob/master/README.md This command compiles and runs the operating system within the Bochs emulator, specifically enabling its debugging features. Note that this is currently supported only in real mode. ```shell make bochs ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.