1
0
Fork 0
mirror of https://git.sr.ht/~asya/copycat synced 2024-11-22 05:08:42 -06:00
Commit graph

5 commits

Author SHA1 Message Date
AsyaTheAbove e3906f2dc3 Start CrabBIOS, implement firmware loading and push/pop/ret
Signed-off-by: AsyaTheAbove <asya@waifu.club>
2023-10-08 17:50:05 +03:00
AsyaTheAbove 911d6e844b Implement a basic IO bus
Implemented in this patch is also more jumps, loop instructions, and the
`out` instruction. With this patch, the 5150 BIOS can now checksum
itself.

Signed-off-by: AsyaTheAbove <asya@waifu.club>
2023-09-27 18:17:16 +03:00
AsyaTheAbove 54c6892527 Fix effective address calculation
Signed-off-by: AsyaTheAbove <asya@waifu.club>
2023-09-26 22:50:54 +03:00
AsyaTheAbove 03055b819d Load 5150 BIOS and pass 8088 processor test
This patch loads and runs the 5150 BIOS, and implements the instructions
necessary to pass the 8088 processor test done by the BIOS on boot.

The 5150 BIOS ROM is loaded with a TLB-like address lookup buffer that
is prefilled with entries that point to BIOS ROM in the host memory.
This TLB-like buffer will likely evolve to a full TLB in the far future
when we implement paging.

Signed-off-by: AsyaTheAbove <asya@waifu.club>
2023-08-29 13:43:43 +03:00
AsyaTheAbove d095cd4055 Initial commit
Signed-off-by: AsyaTheAbove <asya@waifu.club>
2023-08-19 18:03:46 +03:00