Commit Graph

177 Commits

Author SHA1 Message Date
Sam Edwards 3a9db99723 Changing indentation on log lines 2024-02-17 11:23:17 -08:00
Sam Edwards 70eda86484 Ensure log output is correct with used IDs 2024-02-17 11:23:17 -08:00
Sam Edwards 9d4207ea14 Only read INI per-device config once in "finalize" function, include filenames in output 2024-02-17 11:23:17 -08:00
Sam Edwards 1d49003fe1 Clean up logging in setup functions 2024-02-17 11:22:27 -08:00
Sam Edwards 0a30396c3b Make better use of macros, functions, and dynamic char array lengths 2024-02-17 11:21:26 -08:00
Sam Edwards ba06827814 Whitespace/Type cleanup 2024-02-17 11:21:26 -08:00
William Leara 0be37ccde0 fix typographical mistakes in comments
Also, fix up some white-space issues.  No functional change here.
2024-02-14 13:31:35 -06:00
Sam Edwards 47179c5fd0
Easier to change LEDs
- For building for boards with different LEDs and configurations
 - Define mode for LED
 - Update GPIO macros for port C
 - Use macros to generate bits for registers
2024-02-09 17:42:07 -08:00
Eric Helgeson 59c858332a dev 2023-11-16 21:39:00 -06:00
Eric Helgeson dddb7bfc1c v1.1-20231116 2023-11-16 21:38:41 -06:00
Eric Helgeson 7c9428131b Update commands to match v2 2023-11-16 21:30:15 -06:00
Eric Helgeson e35bae560c constant for block size 2023-11-16 21:30:15 -06:00
Eric Helgeson 13d7b985b7 Reuse m_buf and allow for 100 files 2023-11-16 21:30:15 -06:00
Eric Helgeson 27b7427301 hide hidden files 2023-11-16 21:30:15 -06:00
Eric Helgeson 98162fcd84 Fix issue with large files MSB being overwritten 2023-11-16 21:30:10 -06:00
Eric Helgeson 2be810e2ca 68k app 2023-10-24 17:17:12 -05:00
Sam Edwards 458617a827
Fix some compiler warnings
- Fix syntax of a cast to a uint32
 - Remove defines that are already made by the base platform
2023-08-11 11:47:34 -07:00
Sam Edwards d67fa80cf0
Ensure allocLength is defined when needed in onReadBuffer 2023-08-10 16:57:06 -07:00
Eric Helgeson 9e746ba145 Back to snapshot 2023-07-08 12:06:50 -05:00
Eric Helgeson e0d115f33c v1.1-20230708 2023-07-08 11:53:38 -05:00
Troy ad4737f384 INQUIRY supports small transfer sizes now
this fixes some Apple II SCSI cards like RAMFast and CMS
2023-04-01 11:23:53 -05:00
Eric Helgeson 927f8101fa Allow optical files that are set to RO on the SD card to be used 2023-04-01 11:20:19 -05:00
Eric Helgeson 142117c83a Merge remote-tracking branch 'jokker/troy/inifile' 2023-04-01 11:13:05 -05:00
Troy c5eff4f5fd megastemode renamed to maplunstoids in inifile 2022-12-28 22:16:54 -05:00
Troy c901efb929 fixed up CI/CD to work with ext libs better 2022-12-28 15:16:21 -05:00
Troy 5bad53008a bluescsi.ini support enabled for some features
MegaSTE Mode
Per SCSI device Product/Vendor/Revision

bunch of text refactoring for brievity and byteshaving
some reorg of the SD card info printed in the log
other little bits here and there
2022-12-22 17:45:20 -05:00
Eric Helgeson 5506a90042 Back to snapshot 2022-12-22 08:55:46 -06:00
Eric Helgeson b117ebb39d v1.1-20221203 2022-12-03 16:14:13 -06:00
Eric Helgeson 7ee2c44c6a Warn user if file is fragmented
See: https://github.com/greiman/SdFat/issues/256#issuecomment-778795554
- performance can be impacted if the file is fragmented on the SD card.
2022-12-03 15:22:07 -06:00
Eric Helgeson f4d7cdfa92
Merge pull request #196 from mynameistroy/troy/megaste_mode
MegaSTE mode added for using IDs as LUNs
2022-12-01 14:28:58 -06:00
Eric Helgeson a8903d42f2
Merge pull request #194 from mynameistroy/troy/cdb_length_fix
added a full lookup table for cdb length
2022-12-01 14:28:50 -06:00
Troy 0ae77a7b48 cleaned things up and added a log message 2022-11-30 21:42:38 -05:00
Eric Helgeson dc0bce859c Revert "We only need to test 50 and 25 as the rest are just divided and rounded to full and half."
This reverts commit 1cfaf00594.
2022-11-22 16:50:07 -06:00
Troy dba1860856 MegaSTE mode added for using IDs as LUNs 2022-11-13 18:08:41 -05:00
Troy 6ec75300c4 added a full lookup table for cdb length
this fixes the issue of 16 byte cdb commands
from causing problems by not being detected correctly
2022-11-06 12:20:30 -05:00
Troy 847456203f Cleaned up SDfs logging 2022-10-12 21:15:18 -04:00
Troy fb3a266c86 Report error for READ_DVD_STRUCTURE
fixes issues with drivers getting confused about the optical image file
2022-10-12 21:08:47 -04:00
Eric Helgeson 452930940c Back to snapshot 2022-09-18 15:30:42 -05:00
Eric Helgeson 7c6f9aef75 v1.1-20220917 2022-09-17 09:53:00 -05:00
Mike a7af02057f Add apostrophe to log message 2022-09-17 09:53:00 -05:00
Eric Helgeson b0a47bc376 Allow for file names to be up to 64 chars 2022-09-17 09:37:32 -05:00
Eric Helgeson dc9552410f
Merge pull request #130 from mynameistroy/troy/optical
CD/DVD emulation
2022-09-13 20:46:54 -05:00
Troy 67d3909dd9 Cleaned up MODE_SELECT blocksize request
OnReadBuffer uses generic buffer and only transfers actual length
2022-09-11 18:32:29 -04:00
Troy 3f279230d9 cleanup Apple Mode Page handling 2022-09-08 22:02:55 -04:00
Troy 331cd96ac5 minor logging cleanup 2022-09-06 22:46:38 -04:00
Troy 3952181d4f Clean up some remaining pinMode => gpio_mode 2022-09-06 22:45:26 -04:00
Troy 94a5e711e3 MODE SELECT supports CDROM 512/2048 sector toggle
CDROM devices return a DBD properly
CDROM Error Mode Page has a default retry of 1
More streamlining of debug logging
2022-08-17 21:15:15 -04:00
Eric Helgeson a06e840e39 Upgrade SdFat from 2.0.6 to 2.2.0
No change in perf
2022-07-26 18:28:19 -05:00
Troy 32453b9886 added missing set of raw sector size 2022-07-24 23:11:15 -04:00
Troy 3a3d68cf99 alternative sector size supported
this let's .BIN files get used at the very least, maybe more depending
on how some of the other optical formats look
reverted a small SCSI phase change that causes problems
2022-07-22 20:38:59 -04:00