Help with Brian Riley's SD Loader Project!

AwesomeCronkAwesomeCronk Posts: 898
edited 2019-04-27 - 14:42:30 in Propeller 1
I went a-lookin' through the OBEX for an SD driver, intending to make a .spin file to copy code from an SD card to the upper EEPROM and then boot it.

@Brian Riley already did so! I went to PM him with questions about the loader, and noticed that he has not been here for three years. Can anyone else help answer my questions?

1. Can I use an 8Gb FujiFilm card(full-size, FAT32)?
2. Which pins is this set up to run on?
3. Can I modify the program to initialize external peripherials?
4. Can I run this at _xinfreq 6250000(100MHz)
Sarcasm for English build 2019.12.30 released two days before New Year's! Ports to other languages are in progress and are expected to be finished by January 5, 2020.

Comments

  • copy code from an SD card to the upper EEPROM and then boot it.
    You know you don't need to write it to EEPROM before booting it?

    In particular, KyeFAT (IIRC the only Spin driver that supports FAT32/SDHC (and thus cards larger than 2GB)) has a bootPartition method that you can just pass the filename you want to boot.

    If actually want to copy the file to EEPROM first (so you can remove that card and still have it in there), copying the file to EEPROm requires no "special" code.

    she/her
    My projects: JET Engine - Ventilator Computer (site coming soon™) and relatedly, VentilatorOS and software archive - Turbulence NTSC - The game(no not that one) (also coming soon™)
    Other cool links: Propeller Discord - Retronitus
    Wow, I too finally have an overly long signature!
  • So, I can load the installer into RAM via proptool, then boot two programs into EEPROM, the bottom one able to call the top one?
    Sarcasm for English build 2019.12.30 released two days before New Year's! Ports to other languages are in progress and are expected to be finished by January 5, 2020.
  • My OS can copy to/from a file to/from lower/upper eeprom
    My Prop boards: P8XBlade2 , RamBlade , CpuBlade , TriBlade
    P1 Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    P1: Tools (Index) , Emulators (Index) , ZiCog (Z80)
    P2: Tools & Code , Tricks & Traps
  • Prop OS? I have been toying with porting it to the Modular Computer once it is in hardware.
    Having an OS available for it that will do this file transfer business is good, and I think this will be one of the options.
    Sarcasm for English build 2019.12.30 released two days before New Year's! Ports to other languages are in progress and are expected to be finished by January 5, 2020.
  • Asked by PM...
    Will my OS run at 100MHz?
    Yes, it has been tested at 80, 96, and 104MHz so it will work at100MHz too.
    The OS itself is frequency agnostic once the boot is loaded. Only the module _OS.cmd heeds to be recompiled. All other compiled *.cmd files utilise the original clock setting, and other parameters which stay resident.
    Full info is available in the Propeller OS thread.
    My Prop boards: P8XBlade2 , RamBlade , CpuBlade , TriBlade
    P1 Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    P1: Tools (Index) , Emulators (Index) , ZiCog (Z80)
    P2: Tools & Code , Tricks & Traps
  • Thanks!
    Sarcasm for English build 2019.12.30 released two days before New Year's! Ports to other languages are in progress and are expected to be finished by January 5, 2020.
Sign In or Register to comment.