progress on serial and added editor

This commit is contained in:
2026-03-16 04:31:47 +00:00
parent a4446cdb62
commit 6061e1701e
47 changed files with 1878 additions and 396 deletions
+27
View File
@@ -0,0 +1,27 @@
0 => **InvalidInterrupt** CPU exception for an invalid interrupt request
1 => **PageFault** CPU exception triggered by an illegal memory access
2 => **ProtectionFault** CPU exception for a protection violation (e.g., privilege level)
3 => **InvalidOpcode** CPU exception for executing an undefined opcode
4 => **DivideByZero** CPU exception when dividing by zero
5 => **StackOverflow** CPU exception due to stack overflow
6 => **WriteToReadOnly** CPU exception for writing to a readonly segment
7 => **ReadFromWriteOnly** CPU exception for reading from a writeonly segment
8 => **UnmappedIo** CPU exception for accessing unmapped I/O
> **Reserved Range (931):** Future CPU exceptions
---
### IRQ Range (3263)
- **Hardware** Represents hardware interrupt requests.
32 => **SerialIn** Interrupt triggered by serial input
---
### Syscall Range (64255)
- **Software(u8)** Represents system calls.
The enum is aliased to start at value **128**, so valid syscall numbers are 128255.
Programs typically use the range **64127** for OSdefined syscalls, while values ≥128 are reserved for software interrupts.