Commit Graph

111 Commits

Author SHA1 Message Date
Eric Helgeson
ca9089b405 v1.1-20220626 2022-06-26 09:35:44 -05:00
Eric Helgeson
f8cd61fbf9
Merge pull request #138 from erichelgeson/eric/vdrName
Change product so vendor specific Quantum commands are not issued
2022-06-26 09:31:50 -05:00
Eric Helgeson
b74eecfa7a Add Sense page for caching 0x08 2022-06-26 07:03:09 -05:00
Eric Helgeson
63a1fe9c41 Change product so vendor specific Quantum commands are not issued, but still compatible with Apple formatting utils 2022-06-26 07:02:46 -05:00
Troy
d97ea88d17 minor fixes
cleaned up onReadCapacity last lba calculation
cleaned up Flexible Geometry Mode Page values
2022-06-25 15:42:36 -04:00
Eric Helgeson
28078212f5 Fix length offset for Flexable Geometry sense 2022-06-24 16:13:15 -05:00
Eric Helgeson
52a0936fbc Fix onReadCapacity calculation 2022-06-24 16:13:15 -05:00
Glenn Anderson
f29da7c88c Cleanup some stray command table definitions.
Fix handling of dbd bit in onModeSense()
2022-06-24 13:21:05 -07:00
Eric Helgeson
d26bf0a15a Back to snapshot 2022-06-22 07:43:35 -05:00
Eric Helgeson
f7075df6d8 v1.1-20220620 2022-06-20 07:45:35 -05:00
Eric Helgeson
8e4b4ee512 v1.1-SNAPSHOT-20220617 2022-06-17 10:23:51 -05:00
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
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
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
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