z80andrew / SerialDisk

A virtual Atari ST disk over serial for Windows, Linux and macOS
GNU General Public License v3.0
21 stars 2 forks source link

Potential issues with TOS 1.02 #40

Closed z80andrew closed 3 years ago

z80andrew commented 3 years ago

https://www.facebook.com/groups/2260264734/

Connection and directory display working, but file transfers freeze on TOS 1.02 FR.

Determine if there is a compatibility issue with this particular version of TOS, and if so whether a fix can be implemented.

z80andrew commented 3 years ago

https://atariage.com/forums/topic/298769-some-less-known-things-about-tos-reasons-of-bad-programming-of-sw/

Just spotted strange bug or whatever in TOS 1.02 ... When opening floppy A: in Desktop RWABS (BIOS 4) call will be performed, with destination address = 0 . What causes of course crash . So I needed to add something against - and just added short code what in case of address = 0 just skips whole call, with OK return (just for first test). And that made it work well - not surprised, because had similar thing in some other SW. Then was curious what real floppy code does with address = 0 in TOS 1.02 . Traced it, and yeah, it does same, just skips with ret = 0 (OK) .

http://www.atarimania.com/utility-atari-st-fatspeed_36562.html

  • Speeds up the search for free clusters in file write operations ( only for drives with 16 bit FAT )
  • Dfree works faster
  • Fixes the GEMDOS bug, which bombs at redirection of Cconout, Cauxout and Cprnout.
  • replaces the sector buffer copy routines by faster ones
z80andrew commented 3 years ago

Atari

Hatari 2.3.0 TOS 1.02 FR Machine type: ST 512KB RAM HSMODA07 serial drivers

SerialDisk

v2.5 Windows x64 FDE

Tests performed: