67 lines
1.4 KiB
Markdown
67 lines
1.4 KiB
Markdown
|
|
compiler
|
|
gcc
|
|
|
|
asembler
|
|
nasm
|
|
|
|
emulator
|
|
bochs
|
|
|
|
create image file
|
|
bximage
|
|
|
|
|
|
xchose@sjofn:~$ 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]
|
|
|
|
What kind of image should I create?
|
|
Please type flat, sparse, growing, vpc or vmware4. [flat]
|
|
|
|
Choose the size of hard disk sectors.
|
|
Please type 512, 1024 or 4096. [512]
|
|
|
|
Enter the hard disk size in megabytes, between 10 and 8257535
|
|
[10]
|
|
|
|
What should be the name of the image?
|
|
[c.img] boot.image
|
|
|
|
Creating hard disk image 'boot.image' with CHS=20/16/63 (sector size = 512)
|
|
|
|
The following line should appear in your bochsrc:
|
|
ata0-master: type=disk, path="boot.image", mode=flat
|
|
|
|
************
|
|
save: CHS=20/16/63
|
|
************
|
|
|
|
|
|
Open bokchs and add configuration file
|
|
|
|
bochs
|
|
|
|
konfig 1gb page cpu support enabing
|
|
memory setup to 1024
|
|
boot image file
|
|
|