rename vga to terminal and move to gfx folder

This commit is contained in:
hippoz 2022-02-24 18:16:17 +02:00
parent 065dbf5177
commit bb30cd2a65
No known key found for this signature in database
GPG key ID: 7C52899193467641
5 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@ CC=i686-elf-gcc
bootstrap.o: bootstrap.s bootstrap.o: bootstrap.s
i686-elf-as bootstrap.s -o bootstrap.o i686-elf-as bootstrap.s -o bootstrap.o
kernel.bin: bootstrap.o vga.o std/std.o std/kstd.o cpu/idt.o cpu/pic.o cpu/exception.o kernel.o kernel.bin: bootstrap.o gfx/terminal.o std/std.o std/kstd.o cpu/idt.o cpu/pic.o cpu/exception.o kernel.o
$(CC) -T linker.ld -o $@ -ffreestanding -O2 -nostdlib -lgcc $^ $(CC) -T linker.ld -o $@ -ffreestanding -O2 -nostdlib -lgcc $^
iso: kernel.bin iso: kernel.bin

View file

@ -1,4 +1,4 @@
#include "vga.h" #include "gfx/terminal.h"
#include "std/std.h" #include "std/std.h"
size_t terminal_row; size_t terminal_row;

View file

@ -1,7 +1,7 @@
#include <stdbool.h> #include <stdbool.h>
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#include "vga.h" #include "gfx/terminal.h"
#include "cpu/pic.h" #include "cpu/pic.h"
#include "cpu/idt.h" #include "cpu/idt.h"
#include "std/kstd.h" #include "std/kstd.h"

View file

@ -2,7 +2,7 @@
#include <limits.h> #include <limits.h>
#include "std/kstd.h" #include "std/kstd.h"
#include "std/std.h" #include "std/std.h"
#include "vga.h" #include "gfx/terminal.h"
int putchar(int ic) { int putchar(int ic) {
char c = (char) ic; char c = (char) ic;