Compare commits

...

2 Commits

Author SHA1 Message Date
Syed Muhammad Hamza Raza
6bd3e36e2f Merge 309742463d into bde9fd0262 2024-02-10 11:00:35 -08:00
Syed Muhammad Hamza Raza
309742463d Update vga-text-buffer failed link for normal reads and write.
Previously the hyperlink for 'supports normal reads and writes' in post 3 was redirecting to a page not found, as I guess Stanford has remove that link. So I have added the correct link, which redirects to Stanford's Secure Systems Group, where they have the deails about CS140 course and relevant pintos docs.
2024-02-06 12:24:06 +05:00

View File

@@ -60,7 +60,7 @@ The VGA text buffer is accessible via [memory-mapped I/O] to the address `0xb800
Note that memory-mapped hardware might not support all normal RAM operations. For example, a device could only support byte-wise reads and return junk when a `u64` is read. Fortunately, the text buffer [supports normal reads and writes], so we don't have to treat it in a special way.
[supports normal reads and writes]: https://web.stanford.edu/class/cs140/projects/pintos/specs/freevga/vga/vgamem.htm#manip
[supports normal reads and writes]: https://www.scs.stanford.edu/21wi-cs140/pintos/specs/freevga/vga/vga.htm
## A Rust Module
Now that we know how the VGA buffer works, we can create a Rust module to handle printing: