Posted By
unclouded on 2020-10-19 19:37:42
| DOS wedge
When I SAVE a BASIC program with the same name as a file already on the disk, it doesn't overwrite the file and doesn't report an error either. Is there a DOS wedge for the 264 series and does it have a command that would overwrite like I want it to?
|
|
|
Posted By
unclouded on 2020-10-20 05:27:06
| Re: DOS wedge
This seems to be a suggestion that "@:FILENAME" can cause file system corruption:
https://www.lemon64.com/forum/viewtopic.php?t=8505#76596
I remembered DIRECTORY but having SCRATCH, RENAME and DSAVE is cool. So with BASICv3.5:
SCRATCH"MYFILE" : DSAVE"MYFILE"
..though this is still easier with the C64 wedge:
←MYFILE
Sorry my bad, I still need to:
>S:MYFILE : ←MYFILE
..which isn't all that much of an improvement after all.
|
|
Posted By
MMS on 2020-10-20 14:19:27
| Re: DOS wedge
I suppose the C64 version you mention is JiffyDOS or some extension card, like Final Cartridge 3. The native C64 BASIC 2.0 was WAY more complex than that, with OPEN and other complex commands. Thanks God we had HEADER command
|
|
|
Posted By
SVS on 2020-10-21 12:43:13
| Re: DOS wedge
Two matters: 1) The IEC drives, used by the emulators, do rewrite the old file with the new file without problem (and without messages); both onto a PC folder or onto a D64 file image; 2) If you use the native "@filename" mode, be warned of the bug that many times afflicts the command (see Ultimate Map for more info).
|
|