Git Product home page Git Product logo

serialdisk's People

Contributors

z80andrew avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

pjones1063

serialdisk's Issues

Logging level not working as documented

The --help option shows that the default for --logging-level is Verbose
Yet running the program without the --logging-level argument defaults to Info. This needs to be consistent and either the default or the usage message needs to be changed.
Personally I'd prefer it if Verbose really was the default, but I can live with it either way :)
If Verbose had been the default I would have spent less time chasing after a ghost serial port error that is most likely due to something else.

SerialDisk disk buffer does not work well with Atari hdd drivers

Issue description

By default, SerialDisk allocates a 32KiB buffer for large (512MiB) hard disk support. This causes conflicts with hard disk driver disk buffers, leading to bus errors.

Additionally, the wording used in SERDISK.CFG is misleading and implies that the disk buffer size should match the virtual disk size being used.

Resolution steps:

  1. Rename the "max disk size" config setting in SERDISK.CFG to "disk buffer size".
  2. Update the description in SERDISK.CFG to remove confusion, and note that the disk buffer should be disabled when using a hdd driver.
  3. Disable disk buffer by default.
  4. Add a note to the PC application for the user to check that SERDISK.CFG is correct when using disk sizes above 32MiB.

SerialDisk 3.0 compatibility issues with EmuTOS 1.2.1

Issue desription
Copying files from Atari to PC outside of PC root folder does not work correctly when using EmuTOS.
Serial communication happens as expected but no file is written to the PC.
Copying files and folders to the Atari works as expected.

Steps to reproduce
Copy a file from the Atari to a non-root folder on the virtual disk.

Expected result
File is written to disk.

Actual result
No file is written.

Test environment 1
Atari STe / 4 MiB RAM / EmuTOS 1.2.1 floppy disk

Test environment 2
Hatari / Atari STe / 4 MiB RAM / EmuTOS 1.2.1 512K ROM

Empty files are not written to PC

Copying an empty file from Atari to PC transfers correctly, but does not write the file to disk.

I think this is a problem with the following line in Disk.SyncLocalDisk:
if (String.IsNullOrEmpty(LocalDirectoryContentName) && directoryBuffer[directoryEntryIndex] != 0xe5 && startClusterIndex != 0)

Empty files have a start cluster of 0, and so are not considered ready for writing to disk.

Enable data compression

Use data compression for transmission to reduce transfer times.

LZ4 has a tiny 68k implementation and decompresses fast enough to work transparently to the user.
Nuget packages exist for C# according to https://lz4.github.io/lz4/

Investigate: Can data sending from Atari to PC be optimised?

PC -> Atari uses LZ4 compression to send as little data as possible, but there is currently no mechanism for data compression / trimming from Atari -> PC which makes larger disk sizes difficult to use due to the larger sector sizes.

Can the data be compressed or trimmed in any way to mitigate serial transmission speeds?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.