📄 build.bat
字号:
set path=d:\Dev-Cpp\bin
nasm -f elf shell\head.s -o shell\head.o
nasm -f elf shell\font.s -o shell\font.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/main.c -o shell/main.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/unistd.c -o shell/unistd.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/stdio.c -o shell/stdio.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/gui.c -o shell/gui.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/queue.c -o shell/queue.o
gcc -Wall -O2 -g -nostdinc -fno-builtin -c shell/vsprintf.c -o shell/vsprintf.o
cd shell
make
objcopy -R .note -R .comment -S -O binary test.o SHELLER.sys
del *.o
cd..
copy shell\SHELLER.sys
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -