Studying the Alexei Frounze Protected Mode Tutorials
Posted: Fri May 19, 2017 11:57 am
The tutorials seem to be here more cleanly:
http://members.tripod.com/protected_mode/alexfru/pmtuts.html
I'm currently trying to study paging.
I'm carefully studying TUT08, the tutorial about paging.
What I'm seeing is that the code contains a lot of functions to pack the basic functionality.
But it seems like the functionality central to each tutorial isn't packed, it's just laid as code in main().
For example, the paging tutorial hasn't packed the code to find free 4096 blocks, allocate, fill, enable/disable paging, into functions like the rest of basic functionality.
It makes the key concepts harder to reuse than the common bulk of basic functions.
At least it allows people to practice packing those special functions, for example packing the paging code in main() into a set of reusable paging functions.
I think that this is an important thing to point out to make these tutorials more understandable, and to develop additional packed code elements here to make the main ideas of each tutorial much more reusable and easy to visualize.
http://members.tripod.com/protected_mode/alexfru/pmtuts.html
I'm currently trying to study paging.
I'm carefully studying TUT08, the tutorial about paging.
What I'm seeing is that the code contains a lot of functions to pack the basic functionality.
But it seems like the functionality central to each tutorial isn't packed, it's just laid as code in main().
For example, the paging tutorial hasn't packed the code to find free 4096 blocks, allocate, fill, enable/disable paging, into functions like the rest of basic functionality.
It makes the key concepts harder to reuse than the common bulk of basic functions.
At least it allows people to practice packing those special functions, for example packing the paging code in main() into a set of reusable paging functions.
I think that this is an important thing to point out to make these tutorials more understandable, and to develop additional packed code elements here to make the main ideas of each tutorial much more reusable and easy to visualize.