Commit Graph

44 Commits

Author SHA1 Message Date
David Kuder 8012d85d23 CHS Settings 2023-05-29 19:51:19 -04:00
David Kuder a09d5dbf13 Update scsibus.ino 2023-05-13 03:01:20 -04:00
David Kuder d420244da9 RAW disk support and LittleFS support 2023-05-13 02:49:13 -04:00
David Kuder c5c4c51667
preAllocate fail
preAllocate has angered the TrackZero and must be punished, out with preAllocate, in with writing zeros 512 bytes at a time.
2022-10-14 22:40:33 -04:00
David Kuder 3429bab34b Send Diagnostic, Prefetch and Sync Cache stubs 2022-06-11 11:13:45 -04:00
David Kuder 7d1227a193 Rigid Geometry & Format Parameters
Updates from upstream
2022-06-11 11:12:43 -04:00
David Kuder b8bdb3fe37 Verify10 command 2022-06-11 11:10:50 -04:00
David Kuder 7c51723a2b Import checkBlockCommand from upstream 2022-06-11 11:10:16 -04:00
David Kuder 4f4a9b1a33 Flexible Disk support 2022-06-11 11:09:01 -04:00
David Kuder b8580bd4e6 Verify Data Phase
Verify stub
2022-06-11 11:07:37 -04:00
David Kuder cb123509d2 Tape Fixes
Fixing various tape commands
2022-06-11 11:06:20 -04:00
David Kuder 2f14c0fed2 Constant consistency
Cleaning up "Magic Values" and replacing them with defined constants.
misc fixes.
2022-06-11 11:05:47 -04:00
David Kuder 968f3336af Control channel framework
Building the framework for communicating with the GreenSCSI command line over the SCSI bus.
2022-06-11 10:59:23 -04:00
David Kuder 5aeb32e928 File allocation fix
mkimg would create files 1/1048576 in size compared to the request.
2022-06-11 10:56:21 -04:00
David Kuder cf468bcbde Debug Logging Toggle
Debug Logging disabled by default, On/Off toggle with setvar debug 1/0
2022-06-11 10:54:54 -04:00
David Kuder 0c04852ad8 Command shell updates and quirks modes 2021-12-11 16:59:32 -05:00
David Kuder 178cffa658 Speed improvements 2021-11-30 00:12:32 -05:00
David Kuder 494a803890 Configuration CLI, performance tweaks, stability improvements, tested on GreenSCSI v1.0 Minimum Viable Product (MVP) PCB 2021-11-29 22:43:26 -05:00
David Kuder c2bac1a9d0 This commit is seemingly stable with transfer speeds around 1.5MB/s - 1.6MB/s, equal to speeds obtained
from TinySCSIEmu with the NCR5380 PHY. Successfully booted OpenVMS and Digital UNIX on an DEC Alpha 3000/300.

+ Interrupt-driven SCSI Data bus for Read & Write block routines
+ Low-Level Hardware register access for GPIO manipulation
+ Initial Optical Drive Emulation ported from TinySCSIEmu
+ Additional Mode Sense / Mode Select work to enable booting OpenVMS and Digital UNIX from CD or HD
+ Per-ID Inquiry Response editing via [CH]Dxx_xxx.cfg files instead of SCSI_CONFIG.TXT (same format)
+ Images should now be named CDxx_xxx.img or HDxx_xxx.img instead of HDxx_xxx.hda
2021-11-22 17:33:52 -05:00
David Kuder 8f44ace571
Update and rename BlueSCSI.cpp to GreenSCSI.ino
LUN Enhancement, Teensy 3.5 changes.
2021-11-19 03:37:27 -05: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 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