Commit Graph

81 Commits

Author SHA1 Message Date
Eric Helgeson
19cc9ad169 Implement 3 commands:
SCSI Read Buffer (Thanks @marcelv-3!)
SCSI Write Buffer (Thanks @marcelv-3!)
ReZero Unit
2022-05-21 15:51:42 -05:00
Eric Helgeson
b0799bc327 Remove tabs 2022-05-21 13:21:21 -05:00
Eric Helgeson
3ef2474ae8
Merge pull request #112 from erichelgeson/eric/versions
Build and tag all versions, collect & rename bin fines
2022-05-21 09:30:58 -05:00
Eric Helgeson
1f03996977 Build and tag all versions, collect & rename bin fines 2022-05-20 20:47:11 -05:00
Eric Helgeson
73fc0ed2bf Fix issue where log file would close when logging was enabled.
Thanks @marcelv-3
https://github.com/erichelgeson/BlueSCSI/discussions/103#discussioncomment-2779471
2022-05-20 19:36:06 -05:00
Eric Helgeson
94a22bb45e Add sd card volume format to log.txt 2022-05-20 19:34:19 -05:00
Eric Helgeson
c8d47218b1 Remove the usage of String, saves quite a bit of flash 2022-05-20 19:34:19 -05:00
Eric Helgeson
b898d9684f Remove comment 2022-04-23 16:09:44 -05:00
Eric Helgeson
8a27bcc585 Remove unused settings as we always use the OPTIMISEd ones 2022-04-23 16:08:30 -05:00
Eric Helgeson
c5447a4098 Add back LUN filename parsing 2022-04-23 16:08:30 -05:00
Eric Helgeson
408e155a63 Implement Test Unit Ready command 2022-04-23 16:08:30 -05:00
Eric Helgeson
f7799fb225 Replace magic numbers with constants - thanks Jokker 2022-04-23 16:08:30 -05:00
Eric Helgeson
845954edeb Remove unused SCSI_SELECT - upstream has moved to a different approch to
support PC98/etc
2022-04-23 16:08:30 -05:00
Glenn Anderson
961ae0b8b7 Support for images larger than 4GB 2022-04-19 10:14:23 -07:00
androda
fff520959e Merge branch 'main' into XCVR 2022-04-18 16:57:57 -06:00
androda
2f08b9fa73 Swap to #ifdef 2022-04-18 16:57:19 -06:00
androda
3158391c86 Merge branch 'main' into XCVR 2022-04-15 06:29:02 -06:00
androda
ceb6da764b Boot tested
Tested to boot beige G3 and Q700, both with XCVR mode on and off on appropriate hardware
2022-04-15 06:14:59 -06:00
androda
b4b0ce711f Cleaning up changes 2022-04-15 05:34:47 -06:00
androda
77698d0a68 Disable by default
Since this is new hardware, disable it by default
2022-04-15 05:21:44 -06:00
androda
d593c0817c Seems to boot 2022-04-14 06:44:19 -06:00
Glenn Anderson
adca34aeb8 Write speed tuning 2022-04-13 16:47:48 -07:00
Eric Helgeson
693ab2a5c0
Merge pull request #88 from mactcp/Bus-settle-delay-cleanup
Cleanup of SCSI phase change code, and adjustment of bus settle delays.
2022-04-13 08:28:02 -05:00
androda
4d3ee87c56 Work in progress 2022-04-12 06:22:28 -06:00
Glenn Anderson
ba1b3df680 Cleanup of SCSI phase change code, and adjustment of bus settle delays. 2022-04-08 11:10:07 -07:00
Eric Helgeson
22eb2c8d3e Back to snapshot 2022-04-07 16:29:06 -05:00
Eric Helgeson
9290adb1d6 v1.1-20220404 2022-04-05 08:22:36 -05:00
Eric Helgeson
fc38371717 v1.1-BETA-20220330 2022-04-03 20:16:03 -05:00
Eric Helgeson
e468bd6fef init blk1
Thanks to @moof via discord
2022-04-03 14:53:37 -05:00
Glenn Anderson
de35be0dc2 Remove obsolete initialization of sector data overrun byte. 2022-03-31 14:18:35 -07:00
Glenn Anderson
5c357b578c Correct == to = for verify with bytchk of 3 2022-03-31 09:23:30 -07:00
Glenn Anderson
79835832d1 Reorder bus phase change and file.seek() so that file.seek() acts as a bus settle delay. 2022-03-28 15:01:40 -07:00
Eric Helgeson
8db8000db3 Image set selection 2022-03-26 09:02:11 -05:00
Eric Helgeson
13b8de7bfd
Merge pull request #69 from erichelgeson/eric/spiSpeed
Try clock speeds from 50 -> 32mhz for SD communication
2022-03-26 08:28:43 -05:00
Glenn Anderson
7f68d9f808 Support for VERIFY (10).
Support for MODE SELECT as a no-op.
Range checking on block commands.
Sense key and additional sense for no image file.
2022-03-24 17:22:04 -07:00
Glenn Anderson
e42291e82f Support Apple mode sense page 0x30.
Support for mode sense page control 01b (changeable values).
Change SYNCHRONIZE CACHE (10) to be a no-op rather than an error.
2022-03-24 16:51:35 -07:00
Eric Helgeson
551faf72b2 Try clock speeds from 50 -> 32mhz for SD communication
Helps compatibility with SD and different STM32 chips.
Add warning if under 40mhz - testing showed 40-50mhz gave almost no change in speed

Thanks @marcelv-3 via https://github.com/erichelgeson/BlueSCSI/discussions/58
2022-03-23 21:08:04 -05:00
Glenn Anderson
c9dbfec6be Change readDataLoop alignment to 16 2022-03-19 13:04:24 -07:00
Glenn Anderson
e0653d6647 Switch to latest toolchain.
Tune the timing for the readDataLoop with the latest toolchain.
2022-03-19 12:04:57 -07:00
Glenn Anderson
dd87235fc0 Pin down alignment for writeDataLoop and readDataLoop, and perform some additional timing adjustment. 2022-03-18 15:51:22 -07:00
Glenn Anderson
b797793340 Read timing adjustment, now getting 1216 KB/sec on LC III+.
First pass at write speed optimization, now getting 825 KB/sec on LC III+.
Whitespace cleanup.
2022-03-17 18:08:00 -07:00
Glenn Anderson
45f61a8346 Separate out writeDataLoop. Adjust the timing, and incorporate the loop overhead in to one of the desired delays. 2022-03-17 16:36:39 -07:00
Glenn Anderson
1f6410fdc2 Move the db_bsrr table to RAM for faster performance. 2022-03-16 13:21:10 -07:00
Glenn Anderson
d6ffe45554 Remove redundant set of BSY output when switching to inactive. 2022-03-15 10:04:49 -07:00
Glenn Anderson
3ed8ef0154 GPIO mode tweaks. Mode 1 is actually 10MHz PUSH/PULL, OD is mode 7. For DB PU/PD input, set the resistors to PU. Set REQ to match DB output mode. 2022-03-15 10:04:49 -07:00
Glenn Anderson
ab30ff262e Add explicit "bx lr" to longjmpFromInterrupt. 2022-03-15 09:59:05 -07:00
Glenn Anderson
bc65933625 Optimize handling of reset interrupt. 2022-03-14 12:43:57 -07:00
Glenn Anderson
072c50a7f9 CLZ optimization 2022-03-05 15:45:47 -08:00
Eric Helgeson
c819d9b09b Minor white space fixes. Snapshot to VERSION 2022-01-09 10:53:27 -06:00
Pacjunk
d0290a8cca
Fix indenting 2022-01-07 19:11:40 +11:00