Commit Graph

249 Commits

Author SHA1 Message Date
Eric Helgeson
1cfaf00594 We only need to test 50 and 25 as the rest are just divided and rounded to full and half. 2022-06-17 10:04:04 -05:00
Eric Helgeson
07961108c7
Merge pull request #115 from mynameistroy/troy/function_table
Switched to function table for SCSI commands
2022-06-17 10:03:05 -05:00
Eric Helgeson
b01c2ffd7c
Merge pull request #127 from ryandesign/patch-2
Fix typos
2022-06-17 09:36:10 -05:00
Ryan Schmidt
d5405ab5f0
Fix typos 2022-06-17 06:52:11 -05:00
Troy
f69cff42e4 LED2 blinks once again 2022-06-16 17:13:35 -04:00
Troy
9b2b3f689f accidentally left DEBUG = 1 2022-06-10 23:05:42 -04:00
Troy
eeacf3e746 dev->m_file actually gets the right pointer now 2022-06-10 22:57:06 -04:00
Troy
e52957315e Switched to function table for SCSI commands
moved defines/macros/etc to BlueSCSI.h
SCSI device state is now per device instead of global
Missing INQUIRY init added
SCSI-2 LUN handling (Fixes excess LUN's on SCSI-2)
Only allocate File obj for active SCSI ID's
2022-06-10 22:23:14 -04:00
Eric Helgeson
2641e80fac
Merge pull request #120 from erichelgeson/eric/readDefectData
Implement Read Defect Data 0x37
2022-06-08 15:51:18 -05:00
Eric Helgeson
437b2531ca
Merge pull request #118 from mactcp/main
XCVR code cleanup
2022-06-08 10:00:14 -05:00
Glenn Anderson
dcbb7df80d Alignment adjustment to make XCVR perform the same as non-XCVR 2022-06-04 23:33:19 -07:00
Glenn Anderson
1aecf323e1 Remove unnecessary SCSI_DB_INPUT() and TRANSCEIVER_IO_SET(vTR_DBP,TR_INPUT) 2022-06-03 16:11:53 -07:00
Eric Helgeson
d6ff7017c9 Implement Read Defect Data 0x37 2022-06-02 21:49:27 -05:00
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
2338d8f153
Merge pull request #117 from erichelgeson/eric/reordercmds
Move read/write command earlier, few kb/sec faster read/write
2022-05-30 16:16:33 +00: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
79d5b12110
Merge pull request #116 from erichelgeson/eric/noopCmds
Add cmds that are ok to respond GOOD and not do anything.
2022-05-30 14:50:33 +00: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
c2c3397b72
Merge pull request #114 from erichelgeson/eric/newCmds
Four new commands & some Sense
2022-05-25 02:38:02 +00: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
14321e3ba6
Merge pull request #113 from erichelgeson/eric/minorFixes2
Minor fixes
2022-05-21 15:51:33 -05:00
Eric Helgeson
b0799bc327 Remove tabs 2022-05-21 13:21:21 -05:00
Eric Helgeson
2127b14863 Fix default env name 2022-05-21 13:20:53 -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
9d1b58cdb6
Merge pull request #111 from erichelgeson/eric/fewMinorFixes
Few minor fixes
2022-05-21 09:30:31 -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
853956e441
Merge pull request #110 from erichelgeson/eric/APM32F103C8-support
Add support for the APM32F103C8T6 chip, a clone of the STM32F103
2022-05-20 19:34:01 -05:00
Eric Helgeson
69e69cad3a add support for the APM32F103C8T6 chip, a clone of the STM32F103 2022-05-18 19:43:56 -05:00
Eric Helgeson
bbd91936fb
Fix typo 2022-04-24 14:41:09 -05:00
Eric Helgeson
c04027c8ca
Merge pull request #97 from erichelgeson/eric/minor_cleanup
Implement Test Unit Ready & minor cleanup
2022-04-23 16:12:57 -05:00
Eric Helgeson
b898d9684f Remove comment 2022-04-23 16:09:44 -05:00
Eric Helgeson
38904285d4 Make the STM32F103C8 the default env 2022-04-23 16:08:30 -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
Eric Helgeson
7b7f19413c
Merge pull request #98 from mactcp/main
Support for image files larger than 4GB
2022-04-22 07:48:52 -05:00
Glenn Anderson
961ae0b8b7 Support for images larger than 4GB 2022-04-19 10:14:23 -07:00
Eric Helgeson
aa751dc3b8
Merge pull request #92 from erichelgeson/XCVR
Code for Transceiver Hardware
2022-04-18 21:19:08 -05:00