Re: My free and open-source hobby operating system

Another update. Just finished the identify_device() safe function -- its about 400 lines of code or so) which builds all the data structures and strings for you. It unfortunately needs to use memory (I used a Vec<> and an heap-allocated string for drive serial number, media serial number, firmware revision and model number) but that's not much, less than 200 bytes or so. Also, thanks to Smartmontools's source code, specifically their ATA commands source code, helped me figure out the byte swapping that ATA8 ACS does. Its a tad confusing. Now onto verifying the twos compliment CRC32 of the entire structure to verify that the ATA controller and me are on the same page...

-- 
Audiogames-reflector mailing list
Audiogames-reflector@sabahattin-gucukoglu.com
https://sabahattin-gucukoglu.com/cgi-bin/mailman/listinfo/audiogames-reflector
  • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Nuno via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Nuno via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : adel . spence via Audiogames-reflector
    • ... AudioGames . net Forum — Developers room : Ethin via Audiogames-reflector

Reply via email to