 Any unsaved programs will be lost.There is no command to display a disk directory from within BASIC and this must be done by exiting out to DOS.DOS occupies roughly 5k of memory, thus a cassette-based Atari machine (48k or greater) will have around 37,000 bytes of free BASIC program memory and 32,000 bytes if DOS is present.