about summary refs log tree commit diff stats
path: root/baremetal/boot.bochsrc
blob: 9a02d67c076fa5836db23835f483cab3d438a6f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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: -
ter Kartik K. Agaram <vc@akkartik.com> 2016-02-26 18:07:52 -0800 2716 - more holes in immutability checks' href='/akkartik/mu/commit/078table.mu?h=hlt&id=aed2929055ee8de978da739fbeaec7112418fc1d'>aed29290 ^
b17de7ba ^
aed29290 ^
b17de7ba ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86