File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,7 @@ QEMU=qemu-system-i386
9
9
.PHONY : compile run clean disk.img
10
10
11
11
run : disk.img
12
- tmux split-window -h " $( QEMU) -hda $< -curses -monitor telnet:localhost:4444,server -s -S"
13
- tmux select-pane -L
14
- sleep 1
15
- telnet localhost 4444
12
+ $(QEMU ) -hda $< -curses
16
13
17
14
clean :
18
15
rm -f arch/x86/boot/* .bin arch/x86/boot/* .o arch/x86/boot/* .img
@@ -22,9 +19,9 @@ kernel.elf: arch/x86/boot/start.o lib.o
22
19
$(LD ) $(LDFLAGS ) arch/x86/boot/linker.ld -o $@ $^
23
20
24
21
disk.img : kernel.elf
25
- sudo mount -o loop,offset=32256 disk.img /mnt
26
- sudo mv kernel.elf /mnt/boot/
27
- sudo umount /mnt
22
+ mount -o loop,offset=32256 disk.img /mnt
23
+ mv kernel.elf /mnt/boot/
24
+ umount /mnt
28
25
29
26
% .o : % .asm
30
27
$(NASM ) $(NASMFLAGS ) $@ $<
You can’t perform that action at this time.
0 commit comments