Repos / kernel.git / commitdiff
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 31579f4)
raw | patch | inline | side by side (parent: 31579f4)
| author | zhaoyanbai <zhaoyanbai@126.com> | |
| Fri, 5 Nov 2021 13:37:03 +0000 (21:37 +0800) | ||
| committer | zhaoyanbai <zhaoyanbai@126.com> | |
| Fri, 5 Nov 2021 13:37:03 +0000 (21:37 +0800) |
| .bochsrc | patch | blob | history | |
| .gitignore | patch | blob | history | |
| Makefile | patch | blob | history |
diff --git a/.bochsrc b/.bochsrc
--- a/.bochsrc
+++ b/.bochsrc
# The optional parameter 'write_protected' can be used to control the media
# write protect switch. By default it is turned off.
#=======================================================================
-floppya: 1_44=/dev/fd0, status=inserted
+#floppya: 1_44=/dev/fd0, status=inserted
#floppya: image=../1.44, status=inserted
#floppya: 1_44=/dev/fd0H1440, status=inserted
#floppya: 1_2=../1_2, status=inserted
# the Beep() function. The 'gui' mode forwards the beep to the related
# gui methods (currently only used by the Carbon gui).
#=======================================================================
-speaker: enabled=1, mode=sound, volume=15
+speaker: enabled=0, mode=sound, volume=15
#=======================================================================
# SB16:
# debug_symbols: file="kernel.sym"
# debug_symbols: file="kernel.sym", offset=0x80000000
#=======================================================================
-#debug_symbols: file="kernel.sym"
+debug_symbols: file="kernel.sym"
#print_timestamps: enabled=1
#megs: 32
#megs: 16
#megs: 8
-megs: 8
diff --git a/.gitignore b/.gitignore
--- a/.gitignore
+++ b/.gitignore
*.BIN
*.bin
*.map
+*.sym
*.diff
*.swp
bin/hello
diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
${KERNELBIN}: ${OBJS}
${LD} -m elf_i386 -M -T$(LINKSCRIPT) $(OBJS) -o $@ > $(SYSTEMMAP)
+ nm -a $@ > kernel.sym
rm kernel/setup.c.o
%.S.o: %.S ${HEADER_FILES}