Subj : Re: Closing a file in Assembly on the VIC-20
To   : Lawrence Woodman
From : Andreas Kohlbach
Date : Mon Jun 21 2021 06:01 am

On Mon, 21 Jun 2021 08:12:46 -0000 (UTC), Lawrence Woodman wrote:
>
> 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 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 automating some
>>  LW> of the testing around this I hadn't left a long enough delay
>>  LW> before displaying the directory.  It turns out that it takes a little
>>  LW> longer than I expected for the SAVE command to complete the write.
>>  LW> Once I left a bigger delay before checking the directory everything
>>  LW> was fine.  It also appears that there is no need to call CLOSE either.
>>
>> and what are you coding? :)
>
>
> I'm creating an article and video about various ways to load and save
> memory on the VIC-20.  I wrote the assembly code that I posted a while
> ago and was sure it worked previously.  As it turned out there was
> nothing significantly wrong with the code, it was purely a testing
> issue.  I can post the URLs to the article/video once finished if
> you're interested?

I'd be interested.
--
Andreas
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)