Cluso's Propeller OS V1.14 - now with SPIN/PASM Compiler, EEPROM Read/Write :)

1235»

Comments

  • Of course it's slower than parallel SRAM, but fetching the bytes as required from SPI or whatever is even slower (~0.4 MT/s = 0.8 MHz Z80 (?) (altough I think the Z80 doesn't use (almost) every memory cycle like the 6502)). OTOH this amount of code
    mov t1,address
    shr t1,shift
    and t1,mask1
    mov t2,t1
    add t1,cachetags_ptr
    rdlong t1,t1
    and t1,mask2
    cmp t1,t2 wz
    if_nz jmp #fetchline
    and address,mask3
    add address,cachedata_ptr
    rdbyte data,address
    ret
    
    to read a single byte is quite a ton. (even more when writing,due to having to tag the line as dirty)
  • Cluso99Cluso99 Posts: 15,405
    edited 2019-05-04 - 21:29:13
    @Wuerful_21
    Not sure who you arguing with/against?

    I use parallel SRAM with unbuffered and seperate address and data lines directly from the propeller. Cannot get any faster than this. Just copy the address to the pins and read/write the data to another set of 8 pins, together with /CS, /WE and /OE pins.
    FWIW my RamBlade uses 8 data, 19 address, plus 3 control lines (30 pins) to the SRAM.

    SPI has to have the command, address and data sent (clocked) out serially. Much slower, even if quad or 2xquad is used.

    Caching adds comparisons to check if the data is in cache or not, and if not then the command and address has to be sent out and then data read/written in a block.
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
  • Not arguing with anyone. Just random thoughts on what could be done with what I already have here (which is serial RAM).
  • Let us suppose I tracked down an appropriately sized SD card for the PAB I have here. How would I go about having your amazing OS install itself on the SD card, and then start when the thing is started?

    To be honest I have here several Prop chips, but I haven't decided on a board target for any of them.
  • The lazy way is to program OS.BIN into the EEPROM.

    Of course, one can also use a bootloader to chain-load it, making it less of a hassle to update. Cluso has one somewhere, I'm pretty sure.
  • Cluso99Cluso99 Posts: 15,405
    edited 2019-09-01 - 21:50:53
    I have a program(s) that boot the sd card and load a default program(s).
    They are in the OS release, together with source and homespun which I use to compile. There are prebuilt binaries for standard boards as well as my boards.
    If you can’t find them (hard to search while on my phone) or need help just let me know.

    Posted it: see first post for link
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
  • Okay. I've downloaded the relevant ones for 1.14 so we'll see what does happen.

    However your emulator links need to be updated. I tried the one for 6502 and the one for the Altair, and both gave me the not found message.
  • Okay. I've downloaded the relevant ones for 1.14 so we'll see what does happen.

    However your emulator links need to be updated. I tried the one for 6502 and the one for the Altair, and both gave me the not found message.
    Sorry. :(
    There are too many links that broke with a number of forum software updates for me to go back and update them all. I did update the main links in my signature.
    So instead, search the forum using the description.
    My Prop boards: P8XBlade2, RamBlade, CpuBlade, TriBlade
    Prop OS (also see Sphinx, PropDos, PropCmd, Spinix)
    Website: www.clusos.com
    Prop Tools (Index) , Emulators (Index) , ZiCog (Z80)
Sign In or Register to comment.