Subj : Re: Closing a file in Assembly on the VIC-20
To   : Anssi Saari
From : Lawrence Woodman
Date : Fri Jun 18 2021 08:04 am

On Fri, 18 Jun 2021 10:48:21 +0300, Anssi Saari wrote:

> Lawrence Woodman <[email protected]> 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 :-)

Best wishes


Lorry

---
Advanced Use of .LBR Files on CP/M
https://techtinkering.com/articles/advanced-use-of-lbr-files-on-cpm/
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)