-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmakefile
More file actions
58 lines (35 loc) · 876 Bytes
/
Copy pathmakefile
File metadata and controls
58 lines (35 loc) · 876 Bytes
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
ASM = nasm
QEMU = qemu-system-i386
all: bootloader.img
boot.bin: boot.asm
$(ASM) -f bin -o $@ $<
stage2.bin: stage2.asm
$(ASM) -f bin -o $@ $<
bootloader.img: boot.bin stage2.bin
dd if=/dev/zero of=$@ bs=512 count=2880
dd if=boot.bin of=$@ bs=512 count=1 conv=notrunc
dd if=stage2.bin of=$@ bs=512 seek=1 conv=notrunc
run: bootloader.img
$(QEMU) -fda $< -boot a
clean:
rm -f *.bin *.img
.PHONY: all run cleanSetup
or create empty floppy disk
or create empty floppy disk
or create empty hard disk
or create empty hard disk
Disk images are not uploaded to the server
MB
MB
Presets: none, inbrowser, public relay, wisp, fetch
B
Setup
or create empty floppy disk
or create empty floppy disk
or create empty hard disk
or create empty hard disk
Disk images are not uploaded to the server
MB
MB
Presets: none, inbrowser, public relay, wisp, fetch
B