Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: GLGPrograms/tinyDiskII
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: GLGPrograms/tinyDiskII
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: rev2.0
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 7 commits
  • 10 files changed
  • 1 contributor

Commits on Jul 21, 2024

  1. [sdcard] first steps toward rev 2.0

    - swapped SDCARD_CLK and SDCARD_DO pins to make use of syncronous UART
      (MSPI mode).
    - Switched from SPI to UART, MSPI mode.
    giuliof committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    c3e20ab View commit details
    Browse the repository at this point in the history
  2. [repo] Note in readme

    giuliof committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    dd132e7 View commit details
    Browse the repository at this point in the history
  3. [dma] first working code with DMA, only read is implemented

    ALERT: AN HARDWARE CHANGE IS NEEDED, THIS CODE IS COMPATIBLE ONLY WITH
    HARDWARE REV2.0.
    
    - disabled writing, since is currently not implemented through DMA;
    - removed bitbanging, no more needed;
    - sdcard SPI is handled with USART in MSPI mode, this need pin swap
      between MOSI and SCK;
    - spi speed is incremented to 16MHz. Initialization speed is fixed to
      50kHz;
    - added DMA for floppy sector reading.
    giuliof committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    1f630f2 View commit details
    Browse the repository at this point in the history
  4. [dma] read/write code with DMA implemented, now with formatting support

    Tested with AppleDOS INITIALIZE command and CopyII+ V5.
    
    - Writing buffer size increased to keep whole SD Card sector, plus CRC
      and "end of data token". Buffer is mostly initialized at startup, only
      address and data fields are changed at runtime.
    - New writing state machine, which detects the currently writing field
      and updates the writing buffer accordingly.
    - Buffer commit is always triggered at the end of a data field. Another
      write request can now be interleaved while buffer commit is in progress.
    - When formatting operation is detected (i.e. an address field is
      written), reading is inhibited.
    giuliof committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    4329399 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    9454019 View commit details
    Browse the repository at this point in the history
  6. Minor, indentation

    giuliof committed Jul 21, 2024
    Configuration menu
    Copy the full SHA
    59cbd89 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    faf9888 View commit details
    Browse the repository at this point in the history
Loading