简体   繁体   中英

How to use bochs in ubuntu ?

I am making a simple operating system kernel and want to emulate it using bochs. Currently, I am using qemu as my emulator but want to switch over to bochs. I have downloaded and installed bochs in ubuntu but couldn't figure out a way to use it? Can anybody help me with that ? Any links or some way to get me started would be really helpful.

I needed the following .bochsrc run a minimal boot sector:

ata0-master: type=disk, path="main.img", mode=flat,
cylinders=1, heads=1, spt=1
boot: disk
display_library: sdl
megs: 128

More details at: https://stackoverflow.com/a/32871939/895245

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM