GideonZ / 1541ultimate

Official GIT archive of 1541 ultimate II sources
GNU General Public License v3.0
173 stars 45 forks source link

Reading empty directory if drive/partition number is specified #381

Open bjonte opened 7 months ago

bjonte commented 7 months ago

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

GideonZ commented 7 months ago

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.)

bjonte commented 7 months ago

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 commented 7 months ago

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