Skip to content

Small and unsafe bare bones Rust implementation of a FAT12 "driver" that reads files from the root entries of the data clusters.

License

Notifications You must be signed in to change notification settings

Cotezzo/rs-fat12-reader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rs-fat12-reader

Introducton

Small and unsafe bare bones Rust implementation of a FAT12 "driver" that reads files from the root entries of the data clusters. Made as a "training" for both my Rust knowledge and the actual assembly implementation for my Porcheria-OS project.

I'll probably want to refine this implementation in the future.

Usage

Installation

This is a command line program, the first parameter is the FAT12 disk image you want to read, the second one is the file you want to read. Outputs the file content as a byte array (hex). Panics if something goes wrong in the process. I've included a test image containing "kernel.bin" and "bigfile.txt" to try out the program.

Build and run with cargo:

  • cargo run -- test_floppy.img "KERNEL BIN"

About

Small and unsafe bare bones Rust implementation of a FAT12 "driver" that reads files from the root entries of the data clusters.

Topics

Resources

License

Stars

Watchers

Forks

Languages