Shop OBEX P1 Docs P2 Docs Learn Events
SD card boot menu — Parallax Forums

SD card boot menu

RoadsterRoadster Posts: 209
edited 2007-11-11 23:44 in Propeller 1
Attached is a boot menu that will display all the *.BIN files you have on an SD card connected to pins
· spiDO· = 16
· spiClk = 17····
· spiDI· = 18
· spiCS· = 19

you can use the a·nes gamepad·or keyboard to scroll up and down and press select on the nes gamepad or enter on the keyboard to run the selected program

Comments

  • Spork FrogSpork Frog Posts: 212
    edited 2007-11-11 19:32
    Tried this out, works great. Excellent loading speed.

    My only real comment is that on the NES pad, "Select" is a little non-intuitive as the load button. I'd possibly set it to say all of "A", "Start", and "Select" all work for loading.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-11 22:27
    Any chance we could talk you into posting the source for tinkering with it?

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • RoadsterRoadster Posts: 209
    edited 2007-11-11 23:15
    Oldbitcollector,

    Here is the code at your request, it uses Tomas Rokicki SD card driver, Doug Dingus text display driver

    PS I would like to make it combatable with the prodo board aslo but I don't have one to test the changes with
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-11 23:19
    I think I can handle that...

    Oldbitcollector

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
  • Oldbitcollector (Jeff)Oldbitcollector (Jeff) Posts: 8,091
    edited 2007-11-11 23:44
    Nice code! If you don't mind my cross-posting this to the Propeller section..

    Here's the protoboard version.

    I remarked the NES_Reader since most protoboards don't have that.
    I've also made some other minor adjustments to the variables and speed of course.

    OBC

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Buttons . . . check. Dials . . . check. Switches . . . check. Little colored lights . . . check.

    — Calvin, of 'Calvin and Hobbes.
Sign In or Register to comment.