Commit Graph

139 Commits

Author SHA1 Message Date
Troy
847456203f Cleaned up SDfs logging 2022-10-12 21:15:18 -04:00
Troy
fb3a266c86 Report error for READ_DVD_STRUCTURE
fixes issues with drivers getting confused about the optical image file
2022-10-12 21:08:47 -04:00
Eric Helgeson
452930940c Back to snapshot 2022-09-18 15:30:42 -05:00
Eric Helgeson
7c6f9aef75 v1.1-20220917 2022-09-17 09:53:00 -05:00
Mike
a7af02057f Add apostrophe to log message 2022-09-17 09:53:00 -05:00
Eric Helgeson
dc9552410f
Merge pull request #130 from mynameistroy/troy/optical
CD/DVD emulation
2022-09-13 20:46:54 -05:00
Troy
67d3909dd9 Cleaned up MODE_SELECT blocksize request
OnReadBuffer uses generic buffer and only transfers actual length
2022-09-11 18:32:29 -04:00
Troy
3f279230d9 cleanup Apple Mode Page handling 2022-09-08 22:02:55 -04:00
Troy
331cd96ac5 minor logging cleanup 2022-09-06 22:46:38 -04:00
Troy
94a5e711e3 MODE SELECT supports CDROM 512/2048 sector toggle
CDROM devices return a DBD properly
CDROM Error Mode Page has a default retry of 1
More streamlining of debug logging
2022-08-17 21:15:15 -04:00
Eric Helgeson
a06e840e39 Upgrade SdFat from 2.0.6 to 2.2.0
No change in perf
2022-07-26 18:28:19 -05:00
Troy
32453b9886 added missing set of raw sector size 2022-07-24 23:11:15 -04:00
Troy
3a3d68cf99 alternative sector size supported
this let's .BIN files get used at the very least, maybe more depending
on how some of the other optical formats look
reverted a small SCSI phase change that causes problems
2022-07-22 20:38:59 -04:00
Troy
30b794e03d merged in latest HEAD, cleaned up some warnings 2022-07-17 11:49:08 -04:00
Troy
2611ec885b out of phase error fixed, SGI Indy works now
basic determination of arbitration
2022-07-17 11:26:07 -04:00
Troy
953309be30 ISO-9660 raw image support for CD/DVD emulation 2022-07-17 11:26:05 -04:00
Troy
b00dac7339 more code shuffling 2022-07-17 11:20:58 -04:00
Troy
b53524e6c7 code layout adjustments 2022-07-17 11:20:55 -04:00
Eric Helgeson
40e4590686 Product back to BLUESCSI F1 2022-07-16 15:02:19 -05:00
Eric Helgeson
d4f86ddaed LED on/off is around all commands, no need to have it here. 2022-07-16 15:02:19 -05:00
Eric Helgeson
ff8990e5c5 Test unit ready is a nop and not defined 2022-07-16 15:02:19 -05:00
Eric Helgeson
2a95bc35ff
Merge pull request #142 from mynameistroy/troy/phase_fix
SCSI Phase handling improved for SCSI-2
2022-07-16 15:02:02 -05:00
Eric Helgeson
219e3d0f23
Merge pull request #141 from mynameistroy/troy/lun_fix
stop invalid LUNs from reading unallocated structs
2022-07-16 15:01:55 -05:00
Eric Helgeson
53ad02384d
Merge branch 'main' into troy/icd 2022-07-16 15:01:35 -05:00
Troy
5d80b8adbf added proper define for ICD command 2022-07-13 17:58:59 -04:00
Troy
e5d78139de SCSI Phase handling improved for SCSI-2 2022-07-03 22:13:25 -04:00
Troy
0895f00094 stop invalid LUNs from reading unallocated structs 2022-07-03 15:39:17 -04:00
Troy
58e880a9e1 Support for Atari ST ICD commands 2022-06-29 21:36:33 -04:00
Eric Helgeson
54500e18b8 Back to snapshot 2022-06-26 10:57:03 -05:00
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
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