1541ultimate icon indicating copy to clipboard operation
1541ultimate copied to clipboard

Reading empty directory if drive/partition number is specified

Open bjonte opened this issue 2 years ago • 3 comments

On the 1541U2+L version 3.10j:

When no disk image is mounted, loading "$0" will result in an empty directory even if there are files in the current directory. To be compatible with Commodore DOS software that specifies drive number or partition number, it should be possible to specify a drive number of 0 at least even if partitions aren't supported.

With JiffyDOS: @$0

Without JiffyDOS: LOAD"$0",dv

bjonte avatar Nov 11 '23 18:11 bjonte

Partitions are supported, actually. You can access different partitions with the CP command.

Have you tried "0:$"?

(And yes, there are many differences between Commodore & CMD DOS and the Software IEC. This needs to be rectified at some point.)

GideonZ avatar Nov 11 '23 18:11 GideonZ

That should result in "file not found" since $ isn't really a file, but a command. But I can try anyway just to see what happens.

bjonte avatar Nov 11 '23 18:11 bjonte

It responds "file not found", as it should.

bjonte avatar Nov 11 '23 19:11 bjonte