|
e5d7b80ed5
|
fix: irqs are handled correctly with regs->int_no (and the keyboard handler works)
|
2024-10-09 18:03:17 +02:00 |
|
|
4fb51d4356
|
feature: start to implement keyboard handler and better isrs/irqs
|
2024-10-09 17:54:29 +02:00 |
|
|
0812a06350
|
core: remove apic.c and unused function in pic.c
|
2024-10-09 16:22:26 +02:00 |
|
|
1640b2e125
|
fix: no more looping on some weird input
|
2024-10-09 16:16:22 +02:00 |
|
|
f3db3060af
|
add: pic work
|
2024-10-09 16:09:45 +02:00 |
|
|
a4411b0581
|
fix: kprintf unsigned int
|
2024-10-09 15:33:46 +02:00 |
|
|
599de25eec
|
fix: no more random reboot
|
2024-10-08 23:56:34 +02:00 |
|
|
339224f705
|
fix: remap pic with right offset
|
2024-10-08 12:22:35 +02:00 |
|
|
d348ac109e
|
fix: interrupt handler function uses an array
fix: gdt calls cli asm instruction at init
|
2024-10-08 10:56:15 +02:00 |
|
|
14758ff4ea
|
feature: kpanic on interrupts (merdella cmd to test it)
|
2024-10-03 17:00:47 +02:00 |
|
|
83e513c32f
|
fix: read_reg and write_reg are better now, no more double fault
|
2024-10-03 16:43:48 +02:00 |
|
|
d6b35a2786
|
feature: apic is now enabled and the double fault interrupt at boot no longer occurs
|
2024-10-03 15:20:19 +02:00 |
|
|
9479515685
|
fix: isr.s not compiling because of movb instruction instead of mov
|
2024-10-02 14:20:43 +02:00 |
|
|
8b2d35594d
|
add: idt
|
2024-10-02 14:15:57 +02:00 |
|
|
a3bbffcfd9
|
core: use define for gdt offset
|
2024-10-02 14:15:49 +02:00 |
|
|
64a3f6ee0d
|
feature: start to implements isrs
|
2024-10-01 20:24:33 +02:00 |
|
|
5fe4d12c12
|
fix: set_idt_entry_value: bit shift
|
2024-09-30 15:46:35 +02:00 |
|
|
8b73e8850a
|
fix: define the idt struct
|
2024-09-30 15:44:34 +02:00 |
|
|
0c540a11da
|
add: idt
|
2024-09-30 13:01:56 +02:00 |
|
|
ab702aabe7
|
fix: date cmd crashed because of the cringe kprintf(0, "[...]") from Camille (bozo)
|
2024-09-27 12:23:00 +02:00 |
|
|
ed11ec794a
|
fix: nvm strcmp should crash on NULL, color cmd is now protected though
|
2024-09-27 12:07:17 +02:00 |
|
|
f65d5ce418
|
fix: strcmp protection with NULL args
|
2024-09-27 12:03:52 +02:00 |
|
|
0bcc99997a
|
add: ksize and vsize
|
2024-09-26 17:06:03 +02:00 |
|
|
a66f9174f4
|
feature: both physical and virtual allocators should be done
|
2024-09-26 16:18:06 +02:00 |
|
|
a64262ee13
|
fix: shell cmds with args where not called the most efficient way and ARRAY_SIZE wasnt right
|
2024-09-25 22:58:25 +02:00 |
|
|
484e013ceb
|
add: color cmd
|
2024-09-25 22:25:43 +02:00 |
|
|
02059bff33
|
fix: cmd arg work
|
2024-09-25 22:25:35 +02:00 |
|
|
3a916908ef
|
core: split shell command into individual file and support command arg
|
2024-09-25 21:31:44 +02:00 |
|
|
2728346711
|
add: kpanic
|
2024-09-22 09:54:56 +02:00 |
|
|
283f073124
|
feature: heap command prints the status of the allocator
kprintf: change KERN_DEFAULT to 0
|
2024-09-22 01:57:27 +02:00 |
|
|
deca2b9bfc
|
fix: show_alloc_mem() can display detailed info properly
|
2024-09-21 12:19:04 +02:00 |
|
|
943f2beab9
|
feature: kmalloc kfree and krealloc are good
|
2024-09-21 12:17:27 +02:00 |
|
|
0467c45bf0
|
Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS
|
2024-09-20 12:41:25 +02:00 |
|
|
2e41858c77
|
feature: log level on kprintf (color)
fix: kprintf now uses concatenated strings for the flag
|
2024-09-20 12:40:36 +02:00 |
|
|
96179d996d
|
add: %u, %p, %x to kprintf
|
2024-09-19 18:00:18 +02:00 |
|
|
4cc1dba5f9
|
feature: kfree_alloc is now working (uncomment a free in the main to prove)
|
2024-09-19 17:39:14 +02:00 |
|
|
5ebf8ac6ab
|
fix: update frame count when allocating some
|
2024-09-19 17:16:45 +02:00 |
|
|
f559e71433
|
feature: kalloc_frame and demo in the main
|
2024-09-19 17:04:35 +02:00 |
|
|
8fd17276b2
|
fix: compilation warning for maybe unused variables
feature: shell - autocomplete and help menu improved
|
2024-09-19 00:05:21 +02:00 |
|
|
9b3a6cb5a4
|
style: clang-format on all files
|
2024-09-18 22:30:11 +02:00 |
|
|
083468240d
|
add: weekday support and fix start value of day and month - 1
|
2024-09-18 21:55:49 +02:00 |
|
|
ef75ad874d
|
add: date cmd to shell
|
2024-09-18 21:45:18 +02:00 |
|
|
c7545d5fc6
|
add: rtc support
|
2024-09-18 21:45:10 +02:00 |
|
|
ddf3cfff68
|
feature: enable paging and load page directory
|
2024-09-18 17:14:06 +02:00 |
|
|
65a59534b4
|
Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS
|
2024-09-17 13:58:10 +02:00 |
|
|
e316910581
|
feature: clear added to the shell
|
2024-09-17 13:57:52 +02:00 |
|
|
e314ff97f7
|
apagna
|
2024-09-17 13:19:56 +02:00 |
|
|
2f14074e4b
|
fix: print eip instead of ebp
|
2024-09-17 13:16:07 +02:00 |
|
|
a02931a165
|
feature: print_stack working (dont use opti flags, else the stack is broken)
|
2024-09-17 11:10:41 +02:00 |
|
|
963bf46b62
|
core: move reboot.c to a general power.c file
feature: halt added
|
2024-09-11 17:43:18 +02:00 |
|
|
e7a8d39ad7
|
reboot is done
|
2024-09-11 16:46:39 +02:00 |
|
|
52951c96d5
|
fix: merdella --credits is better now
|
2024-09-11 16:25:23 +02:00 |
|
|
bdfac39bc9
|
Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS
|
2024-09-11 15:52:22 +02:00 |
|
|
19141e6883
|
fix: screen switch now works well with the shell and its "history"
|
2024-09-11 15:51:40 +02:00 |
|
|
365ed0cc2e
|
fix: gdt work I think
|
2024-09-10 21:38:43 +02:00 |
|
|
bc99b99c82
|
Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS
|
2024-09-10 20:05:26 +02:00 |
|
|
15bdb4743a
|
feature: functional shell with help and merdella commands
TOOD: reboot, poweroff, echo, color
|
2024-09-10 20:03:33 +02:00 |
|
|
cc9aca2595
|
fix: gdt add stack
|
2024-09-10 16:39:31 +02:00 |
|
|
232b19666a
|
core: added the shell structure
|
2024-09-10 12:03:08 +02:00 |
|
|
5fc5a3be0e
|
fix: cringe gdt and and stack gdt
|
2024-09-10 11:19:23 +02:00 |
|
|
0787b1a1fc
|
add: gdt (peut etre y'a un gdt on sait pas)
|
2024-09-09 18:00:17 +02:00 |
|
|
e287578c46
|
clean: add comment
|
2024-09-08 20:08:29 +02:00 |
|
|
d3aa5af23a
|
add: capslock support
|
2024-09-08 20:06:44 +02:00 |
|
|
662a75d233
|
fix: capslock support uggly code to fix bug uwu
|
2024-09-08 19:56:34 +02:00 |
|
|
0ea82d6b4d
|
support caps with shift but not with caps lock
|
2024-09-08 19:47:31 +02:00 |
|
|
d0ddac4775
|
feature: character escape (you can now write text)
fix: cursor when changing screens
|
2024-09-08 15:32:47 +02:00 |
|
|
cf617d6984
|
feature: multiple screens + cursor move (bug to fix)
style: reorganise code structure
|
2024-09-08 05:03:50 +02:00 |
|
|
1894987afc
|
Merge branch 'main' of git.chauvet.pro:starnakin/42_KFS
|
2024-09-07 14:37:47 +02:00 |
|
|
446eddf3b7
|
submodule added
|
2024-09-07 14:35:52 +02:00 |
|
|
1685f2d0b9
|
add: print keypressed
|
2024-09-07 14:18:04 +02:00 |
|
|
7b9a5e0ef7
|
fix: kprintf now works with multiple arguments
|
2024-09-07 12:11:38 +02:00 |
|
|
dc47b02078
|
hello world
|
2024-09-07 01:46:21 +02:00 |
|
|
ce6d6ca969
|
use libbozo
|
2024-09-07 01:44:40 +02:00 |
|
|
a3e5157879
|
Makefile done and kernel booting
|
2024-09-07 00:36:03 +02:00 |
|
|
32c01291ad
|
init project structure
|
2024-09-06 23:36:07 +02:00 |
|