Appendix B01-B03 in series of writing os in cpp#37
Open
ssagar-linux wants to merge 3 commits intoAlgorithMan-de:masterfrom
Open
Appendix B01-B03 in series of writing os in cpp#37ssagar-linux wants to merge 3 commits intoAlgorithMan-de:masterfrom
ssagar-linux wants to merge 3 commits intoAlgorithMan-de:masterfrom
Conversation
Appendix B01) Disecting MBR(master boot record) alongwith partition table written by fdisk from TinyCoreOS ++ create 2 parition via fdisk in virtual hardisk using TinyCoreOS then in wyoos using ata driver gather info about MBR and Parition Table
Appendix B02) Implemented Fat32 filesystem ++ Using partitionOffset accessed 1st sector of partition which is known as BiosParameterBlock / VolumeID. bpb helps find location of FAT table, data, root directory cluster, etc From rootCluster we get access to DirectoryEntries which holds location of file data if dirent[i].attributes & 0x10 != 0x10
Appendix B03) Added functionality to Read all sector/cluster belonging to file:-
++ using tinyCoreOs create 8kb bile that span over multiple sector and cluster
++ Using 1st rootCluster we are able to reach 1st cluster of file data then
i) Get next cluster belonging to file from FAT table
ii) Get next sector belonging to file from current file cluster
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
a35756d [FAT32 extended] In series of writing os in cpp:- Appendix B03) Added functionality to Read all sector/cluster belonging to file:-
bec5bbd [FAT32 fs] In series of writing os in cpp:- Appendix B02) Implemented Fat32 filesystem
aff3c38 [MBR] In series of writing os in cpp:- Appendix B01) Disecting MBR(master boot record) alongwith partition table written by fdisk from TinyCoreOS
for reference check my repo https://github.com/ssagar-linux/ssagarWyoos