11 Commits

Author SHA1 Message Date
fafae757e1
Miscellaneous changes and fixed (I think?) virtual 8086 mode 2025-01-08 18:46:58 +00:00
dc2fe698a3
Added oneshot timer functionality. Added sleep function. Added proper tracking of physical pages allocated. Made the 0th page invalid. Fixed a 4KiB memory leak when destroying processes. Fixed scrolling colour in terminal.cpp 2022-04-15 16:15:51 +01:00
0fc40ad5e4
Add system calls for more file system related functionality. Add ls command to world.c. Remove and reorganise certain source code files. Update terminal to no longer have two copies of ANSI escape code handling between write and printf. Massively simplify my printf function. Combine io and ioports. 2022-04-12 03:42:13 +01:00
bb69d6b713
Update how syscalls accept arguments in registers, change how syscalls are defined in common.c and common.h 2022-04-08 18:00:56 +01:00
7e5f20ef66
Added sleep syscall 2022-04-08 02:01:25 +01:00
5c05866d5d
Added kill syscall 2022-02-14 14:37:48 +00:00
2f2a7a3e45
Added file reading via filehandlers. Added support for directories. Processes are now created using filehandlers. 2022-01-19 16:51:37 +00:00
73c0fe429f
Add ability for other processes to bind to eachother's stdin and stdout. Add PoC for this functionality 2022-01-17 19:43:13 +00:00
55a5bea35a
Update keyboard driver, add start of file handlers, stdio. 2022-01-13 13:36:24 +00:00
ca131c71e8
Updated hello.c to print the program's PID. Add getPID syscall. 2021-12-08 18:48:24 +00:00
bfa648d96b
Moved syscall related code to common. Add hello.c and world.c in preparation for testing pre-emptive multitasking 2021-11-27 13:10:20 +00:00