Commit Graph

154 Commits

Author SHA1 Message Date
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
Pacjunk
9ca197f260
Various fixes for VAXstation 2022-01-07 18:21:13 +11:00
Eric Helgeson
2a2019ea55 v1.1-20211215 2021-12-15 11:16:29 -06:00
Eric Helgeson
ab646260a0 Dont consider LUN in filename as it wont work, just force to 0 2021-12-15 10:59:58 -06:00
Eric Helgeson
3e616f6a38 Fix warnings 2021-12-15 10:23:20 -06:00
Eric Helgeson
5e26988f93 Merge branch 'eric/1.1-a' 2021-12-15 10:14:58 -06:00
Eric Helgeson
b54ecdee72 Quick fix for handling default ids 2021-08-13 10:53:05 -05:00
Eric Helgeson
c52cc33bb4 Fix whitespace 2021-07-08 21:47:55 -05:00
Eric Helgeson
c709fa35d9 Allow for easier use of files - Just define what you know.
HD == hard drive - min file name req.
* Defaults to SCSI ID 0, LUN 0, 512 block size.
HD1 == SCSI ID 1, LUN 0, 512
HD11 == SCSI ID 1, LUN 1, 512
HD11_1024 == SCSI ID 1, LUN 1, 1024
HD System 7.0.1 Apps.dsk == ID 0, LUN 0, 512
* suffix no longer required
2021-07-08 21:45:11 -05:00
Eric Helgeson
09a79fccae Truncate log file on open 2021-07-08 10:03:07 -05:00
Eric Helgeson
698f73c88b Allow for debug on USB serial or log file 2021-07-08 09:59:50 -05:00
Troy
8b30041f41 Fixed some quotes I screwed up 2021-07-08 09:46:55 -05:00
Troy
dd06c9f214 Sd card info is display in log now 2021-07-08 09:43:29 -05:00
androda
fe77bd5a2f PA0 is External LED
Always set both, no performance decrease in my testing
2021-07-08 09:37:48 -05:00
Eric Helgeson
6652cba50a Set version to snapshot 2021-07-08 09:36:47 -05:00
Eric Helgeson
054637bd6a Revert "Use gpio_read to toggle led state, saves 24 bytes of flash."
This reverts commit 83f040dc40.
2021-06-14 18:25:34 -05:00
Eric Helgeson
f0ca2fba80 Allow for easier use of files - Just define what you know.
HD == hard drive - min file name req.
* Defaults to SCSI ID 0, LUN 0, 512 block size.
HD1 == SCSI ID 1, LUN 0, 512
HD11 == SCSI ID 1, LUN 1, 512
HD11_1024 == SCSI ID 1, LUN 1, 1024
HD System 7.0.1 Apps.dsk == ID 0, LUN 0, 512
* suffix no longer required
2021-06-09 19:28:12 -05:00
Eric Helgeson
e427532f98 Allow for 2048 block size 2021-06-09 19:27:51 -05:00
Eric Helgeson
2cdbd10dcf
Merge pull request #22 from xunker/optimize-led-blink-on-error
Use `gpio_read` to toggle led state, saves 24 bytes of flash.
2021-06-01 11:52:04 -05:00
Eric Helgeson
15f941e0aa Fix var name when *_SPEED_OPTIMIZE is off 2021-05-06 11:50:32 -05:00
Matthew Nielsen
83f040dc40 Use gpio_read to toggle led state, saves 24 bytes of flash. 2021-05-03 17:09:57 -06:00
Eric Helgeson
7c4a1b3c9f Fix setting syncperiod 2021-04-16 11:08:47 -05:00
Eric Helgeson
ef21912fca Update copyright satement 2021-04-10 14:08:30 -05:00
androda
8d0dfd0b90 Update BlueSCSI.cpp
Fix incorrect array data type and update SEL -> MSG/CMD  transition
2021-04-10 12:55:46 -06:00
Eric Helgeson
b9e977d44d Version 1.0-20210410 2021-04-10 12:58:56 -05:00
Eric Helgeson
a223891a6d Fix issue with incorrect LUN calc 2021-04-10 12:58:56 -05:00
Eric Helgeson
6342dc58de Ignore case on file names 2021-04-10 12:42:41 -05:00
Eric Helgeson
9cfb9a6001 Fix issues with log file not being written.
Add different blinks for error condidtions
2021-04-10 12:42:41 -05:00
Eric Helgeson
053cb78e2d Optionally allow for SCSI device config to be loaded from a file. 2021-04-10 12:42:40 -05:00
Eric Helgeson
27c77c269c Allow for more dynamic handling of image files 2021-04-10 12:42:39 -05:00
Eric Helgeson
2b412d3d91 Align file names with RaSCSI 2021-04-10 12:42:39 -05:00
Eric Helgeson
59e40a05c4 Initial working platform io config 2021-04-10 12:42:39 -05:00