Subj : Re: Closing a file in Assembly on the VIC-20 To : Lawrence Woodman From : Andreas Kohlbach Date : Fri Jun 18 2021 03:47 pm On Fri, 18 Jun 2021 08:04:07 -0000 (UTC), Lawrence Woodman wrote: > > On Fri, 18 Jun 2021 10:48:21 +0300, Anssi Saari wrote: > >> Lawrence Woodman writes: >> >>> Hello Everyone, >>> >>> I've been trying to save some memory on the VIC-20 to a file on disk but >>> seem to be having some problems when it comes to close the file. At the >>> moment the file saves the data properly from assembly but I have to use >>> 'CLOSE 8' from basic to prevent it having an asterisk next to the name in >>> the directory entry. >> >> I assembled with xa and ran in Vice but I don't get an asterisk in the >> directory entry. Other than the obvious file name issue I see nothing >> wrong but I'm hardly an expert. > > Thanks for trying. I have got it running now, the problem was that I was > automating this and wasn't leaving it long enough before checking the > directory. It's all working now :-) And the delay when physically writing a file does not occur in emulators. That's why it worked in VICE right away. Hmm, VICE has "true drive emulation". I wonder what happens if activated... -- Andreas PGP fingerprint 952B0A9F12C2FD6C9F7E68DAA9C2EA89D1A370E0 --- SoupGate-Win32 v1.05 * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3) .