bunch of stuff idek

This commit is contained in:
andromeda
2026-03-06 20:33:51 +01:00
parent fdf5bb9daf
commit 9c65697dd8
20 changed files with 329 additions and 101 deletions

32
twasm/README.md Normal file
View File

@@ -0,0 +1,32 @@
# twasm
this will be a self hosted, very minimal subset of 64 bit asm
### goals
I want to compile Bootler and Twasm with the Twasm assembler
### memory map
```
+------ 0x00100000 ------+
| hardware, bios stuff |
+------ 0x00080000 ------+
| output binary |
+------ 0x00070000 ------+
| token table |
+------ 0x00060000 ------+
| |
| |
+------------------------+
| input |
+------------------------+ this is lined up to a sector
| | and this is less than a sector
+------------------------+
| assembler |
+------ 0x00010000 ------+
| bootloader, bios, etc. |
+------------------------+
```
each word represents a token on the token table.