Subj : Closing a file in Assembly on the VIC-20
To   : Lawrence Woodman
From : Daniel Path
Date : Mon Jun 21 2021 08:28 pm

Hello Lawrence.

21 Jun 21 08:12, you wrote to me:

LW> On Fri, 18 Jun 2021 20:54:46 +1200, Daniel Path wrote:

>> 18 Jun 21 06:56, you wrote to you:
>>
>>  LW> On Thu, 17 Jun 2021 18:56:16 -0000 (UTC), Lawrence Woodman
>>  LW> wrote:
>>
>>  >> On Thu, 17 Jun 2021 11:29:57 -0000 (UTC), Tilmann Hentze wrote:
>>  >>
>>  >>> Lawrence Woodman <[email protected]> wrote:
>>  >>>> I have created a piece of code which replicates the problem
>>  >>>> below if anyone has any ideas where I'm going wrong I'd be
>>  >>>> very grateful.
>>  >>>>
>>  >>>> [snip]
>>
>>  LW> I've managed to track down the problem.  Because I was
>>  LW> automating some of the testing around this I hadn't left a long
>>  LW> enough delay before displaying the directory.  It turns out
>>  LW> that it takes a little longer than I expected for the SAVE
>>  LW> command to complete the write. Once I left a bigger delay
>>  LW> before checking the directory everything was fine.  It also
>>  LW> appears that there is no need to call CLOSE either.
>>
>> and what are you coding? :)


LW> I'm creating an article and video about various ways to load and save
LW> memory on the VIC-20.  I wrote the assembly code that I posted a while
LW> ago and was sure it worked previously.  As it turned out there was
LW> nothing significantly wrong with the code, it was purely a testing
LW> issue.  I can post the URLs to the article/video once finished if
LW> you're interested?

sure i am! thanks Lawrence :)
good luck and have fun!

--
Daniel

... 10:23pm  up 6 days, 11:23:31, load: 69 processes, 275 threads.
--- GoldED+/EMX 1.1.4.7
* Origin: Roon's BBS - Budapest, HUNGARY (2:371/52)