about summary refs log blame commit diff stats
path: root/baremetal/boot.bochsrc
blob: 9a02d67c076fa5836db23835f483cab3d438a6f9 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                           
                                          







                                                        
 
                                                                                                                
          
                                                                   
      
# Configuration for the Bochs x86 CPU emulator to run baremetal Mu programs
# See baremetal/boot.hex for more details.
#
# Installing Bochs:
#   On Mac OS:
#     brew install bochs
#   On Ubuntu Linux 20.04:
#     sudo apt install bochs bochs-sdl bochsbios vgabios

display_library: sdl2

ata0-master: type=disk, path="disk.img", mode=flat, cylinders=20, heads=16, spt=63  # 10MB, 512 bytes per sector
boot: disk
# PS/2 mouse requires black magic that I don't know how to explain.
log: -