-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make aligned reads from the SD card for the D8 cmd
The code now fetches data from the SD card aligned on 512 byte boundaries. This means prefetching and post-fetching from the SD card so the unaligned 2352 byte CD sector size can properly fit in the buffer. To be written over the SCSI bus. The end case where the last CD sector is read hasn't been addressed yet, so in theory the buffering code could attempt to read past the end of the SD card.
- Loading branch information
Showing
1 changed file
with
74 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters