Giter VIP home page Giter VIP logo

Comments (3)

babbleberry avatar babbleberry commented on September 16, 2024 2

Oh, that's neat!

The (painful) alternative is to write the SDIO stuff required to get files off the SD card. That requires a whole world of code to read the FAT filesystem etc. (which is probably copyright M$!)

This is a rather great middle ground. Thanks for sharing!

I will try to add it to the docs at some point and credit you :) Unfortunately I've been distracted from this project for a little while - but my plan is to come back to it very soon. It's so much fun!

from rpi4-osdev.

paulwratt avatar paulwratt commented on September 16, 2024

That requires a whole world of code to read the FAT filesystem etc. (which is probably copyright M$!)

No, there are a couple (3 at least) of RPi baremetal FAT on SD/USB pieces of code in my repository list (which means it is/was here on GitHub somewhere), and I think at least one is in assembler - besides MS released FAT format to public, specifically for inclusion in Linux Kernel last year some time (2021 maybe 2020, after they bought GitHub - even tho its been in the kernel for 30+ years)

but if its in the ramfs filesystem you should not even need that .. just the wav file and the code to copy/play it from memory

from rpi4-osdev.

babbleberry avatar babbleberry commented on September 16, 2024

@paulwratt I must confess that I've got code for reading the FAT filesystem off the SD card... I just don't like/trust it enough to publish it! It was a pretty limited & clunky implementation as a proof of concept... I agree that this is not needed if we use the ramfs though. Weirdly I couldn't make @no-go's suggestion work. I suspect my brain was just on holiday that day (it happens!) and I haven't yet revisited it. I still really like the idea though which is why I left the issue open as a burning reminder 😄

from rpi4-osdev.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.