Commit Graph

217 Commits

Author SHA1 Message Date
9d37b7a944 Update gui.h
Adds gui base header
2026-01-28 21:34:50 +01:00
eecc2561da Update gui.c
Add base gui implementation
2026-01-28 21:34:50 +01:00
cae3731f91 Update hid.c
Fixing print_hex error
2026-01-28 21:34:50 +01:00
df33351d60 Update keyboard.h
fixed typo in header include
2026-01-28 21:34:50 +01:00
d2b19ce376 Update mouse.h
Fixes static
2026-01-28 21:34:50 +01:00
8aea3c3c0e Update mouse.c
Make mouse_data non static
2026-01-28 21:34:50 +01:00
f64e40d460 Update keyboard.c
Fix missing definitions so theres nothing that would break the build
2026-01-28 21:34:50 +01:00
45da511bfa Update keyboard.h
fixing missing includes and definition
2026-01-28 21:34:50 +01:00
0f2528e07b Update keyboard.h
Add a extern const for the scancode map
2026-01-28 21:34:50 +01:00
b36356f10c Update keyboard.c
remove static
2026-01-28 21:34:50 +01:00
4b981a5d18 Create hid.c
Add bass HID implementation
2026-01-28 21:34:50 +01:00
fa66433179 Create hid.h
Adding base HID device support for early HID standards 1.0
2026-01-28 21:34:50 +01:00
vmttmv
f08204a2b3 Fix includes for string.h/string_utils.h 2026-01-28 21:34:50 +01:00
bb6f9d1a16 Update vga.c
Change my_strlen to use our klibc strlen in klibc/include/string.h
2026-01-28 21:34:50 +01:00
57ac458a4f Update vga.h
Add vga_init(); function prototype
2026-01-28 21:34:50 +01:00
6ad8644752 Update display.c
Added the 95% completely wired up display driver implementation file
2026-01-28 21:34:50 +01:00
40462e55e6 Update display.h
updated header for display driver display.c and display.h this will need to be finished wired up. Old display driver would have done nothing.
2026-01-28 21:34:50 +01:00
Borna Šoštarić
4d2197aa2d add rules for formatting consecutives 2026-01-28 21:34:50 +01:00
Borna Šoštarić
f7b6a78b59 add .clang-format 2026-01-28 21:34:50 +01:00
Borna Šoštarić
2b32a29890 added editorconfig file 2026-01-28 21:34:50 +01:00
Borna Šoštarić
4ee0ddb9ef add clangd config file 2026-01-28 21:34:50 +01:00
Borna Šoštarić
13b915a99d add compile_commands.json genereation 2026-01-28 21:34:50 +01:00
vmttmv
d480fbcc80 Fix PDE/PTE definitions, header cleanup
- Fixes PDE/PTE definitions in kernel/paging.h
- removes memset declaration from kernel/utils.h, uses klibc string.h as
needed
2026-01-28 21:34:50 +01:00
vmttmv
d0c9c9c4e0 Remove types.c/.h, use klibc headers, amend stdbool.h, reimplement cpuid() 2026-01-28 21:33:36 +01:00
8be984d565 Fix k_memcmp return logic and add disk_read_sector
Refactor k_memcmp to return correct difference and add disk_read_sector function.
2026-01-28 21:33:36 +01:00
4f992c8fc5 Fix extern declaration for disk_read_sector function 2026-01-28 21:33:36 +01:00
16057d41d6 Enhance cpu.h with Intel model definitions and struct
Added Intel model definitions and CPU info structure.
2026-01-28 21:33:36 +01:00
41281de743 Implement CPUID support check and CPU info printing
Added functions to check CPUID support and print CPU details.
2026-01-28 21:33:36 +01:00
Borna Šoštarić
dfb161a15a fix vga clear section in on_error 2026-01-28 21:33:36 +01:00
vmttmv
a450ac06f2 Establish well-defined read buffers for bl, implement error printing 2026-01-28 21:33:36 +01:00
vmttmv
235fd2636d Fix non-aligned disk reads in bootloader 2026-01-28 21:33:36 +01:00
Borna Šoštarić
8c529c6fe4 fix RWX perms warnings in link step 2026-01-28 21:33:36 +01:00
vmttmv
155563e434 fix stage2.asm: disk reads wait for BSY 2026-01-28 21:33:36 +01:00
Borna Šoštarić
8b1ea16c56 initial implementation of klibc
fix linker error about ctx_switch
2026-01-28 21:33:36 +01:00
Borna Šoštarić
7bda5c25b8 lessen indirection in the makefile 2026-01-28 21:33:36 +01:00
Borna Šoštarić
ac0fde28a0 update readme 2026-01-28 21:33:36 +01:00
Borna Šoštarić
a182bbca19 generate .build.env as part of configure script 2026-01-28 21:33:36 +01:00
Borna Šoštarić
c503709ff4 add configure script for setting up cross compilation tools 2026-01-28 21:33:36 +01:00
903061551c Update ps2.c
Remove the definition of the in/out assembly and add io.h include instead of inline
2026-01-27 12:41:17 -08:00
4393fbf6cb Update pci.c
Change this to use io.h to define the in/out assembly instead of doing directly
2026-01-27 12:37:38 -08:00
f572101d6b Merge pull request #102 from gbowne1/gbowne1-patch-5
Create ata.h
2026-01-27 08:53:21 -08:00
a37f94de44 Update ps2.c
Fixed the `__volatile__` into a volatile keyword
2026-01-27 08:16:44 -08:00
401a19143c Update pci.c
Fixed volatile to a keyword
2026-01-27 08:10:56 -08:00
3cd2ff6e1e Merge pull request #97 from gbowne1/gbowne1-patch-2
Update gui.c
2026-01-27 07:45:58 -08:00
aafd4efcb2 Update ata.h
Updated header to match ata.c
2026-01-26 17:18:39 -08:00
d6eb5115d5 Update ata.c
Updated ata.c to include fixed BSY status register
2026-01-26 17:16:31 -08:00
cc92ade8fd Update ps2.c
Fixing asm to __asm__
2026-01-26 17:06:44 -08:00
a9f6d5fa05 Update pci.c
Fixed the inline assembly macro asm to __asm__
2026-01-26 16:55:35 -08:00
84705fd225 Merge pull request #99 from gbowne1/gbowne1-add-hid
Add HID support
2026-01-26 12:18:04 -08:00
6c69b5fd6a Update hid.c
Fixing print_hex error
2026-01-25 08:45:45 -08:00