Glenn Anderson
8167ddea6c
Move TRANSCEIVER_IO_SET out of writeDataLoop.
...
Add matching TRANSCEIVER_IO_SET(vTR_DBP,TR_INPUT) to writeDataPhase() and writeDataPhaseSD()
2022-06-01 12:44:05 -07:00
Eric Helgeson
b16dc558dc
Add a few more noops
2022-05-30 11:13:06 -05:00
Eric Helgeson
a5c6edadc3
Move read/write command earlier, few kb/sec faster read/write
2022-05-30 11:13:06 -05:00
Eric Helgeson
d6fb46d387
Add cmds that are ok to respond GOOD and not do anything.
2022-05-26 10:01:03 -05:00
Eric Helgeson
906b8be9aa
Implement Send Diagnostic
2022-05-24 16:49:23 -05:00
Eric Helgeson
3c258451fa
Add SCSI_SENSE_MODE_FLEXABLE_GEOMETRY
2022-05-24 13:38:21 -05:00
Eric Helgeson
7cdddf7371
Fix header handling in scsi buffer
2022-05-24 13:37:17 -05:00
Eric Helgeson
20cb5d8552
Prepend the header to the buffer data
2022-05-23 17:13:09 -05:00
Eric Helgeson
5c0724703b
Fix build for USB
2022-05-22 12:53:57 -05:00
Eric Helgeson
61ae8a59db
Add constants for SCSI mode page codes
2022-05-21 17:32:07 -05:00
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
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