Re: [Freedos-user] Question about FDAPM

2020-12-26 Thread Marv
Thanks Eric! I had noticed that FDAPM POWEROFF did both a flush and
spindown, but after a couple of seconds it says "Warming up...Back...Back
on..." so I wasn't quite sure what it had done. In any case, it sounds like
I should be ok holding down the power button at that point. This particular
laptop has a very minimal bios, at least the part I can access.



On Sat, Dec 26, 2020 at 10:43 AM Eric Auer  wrote:

>
> Hi Marv!
>
> FDAPM FLUSH (no slash needed) does not rely on the BIOS,
> it is just meant to give caches hints to write back all
> pending writes. Note that none of the caches shipping
> with FreeDOS will pool or delay writes, so you actually
> do not need to flush with those :-)
>
> As soon as the last app returns to the prompt, you can
> expect that DOS has written all data and closed files.
>
> The flush command should work for the following caches:
> msclient (not a cache, but network drives), CD Blitz,
> PC-Cache, QuickCache, Super PC Kwik / QCache, SMARTDRV.
> It also tells DOS and BIOS disks to reset some state.
>
> The latter could help to make sure that things are
> written from the built-in cache of your SD card to
> the permanent storage of that card. I would expect
> most drives - including SSD and SD ones - to default
> to not delay writes unless you enable that? And how
> long would such delays be at most? Are there rules
> about it? Or experiences here on the list?
> You could use the SPINDOWN command to tell disks/SD
> to shut down - that should give them a hint to flush
> their built-in caches :-) Actually, FDAPM POWEROFF
> implies flush and spindown anyway.
>
> Regards, Eric
>
>
>
> ___
> Freedos-user mailing list
> Freedos-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/freedos-user
>


-- 
It's all fun and games until someone divides by zero.
___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Question about FDAPM

2020-12-26 Thread Eric Auer


Hi Marv!

FDAPM FLUSH (no slash needed) does not rely on the BIOS,
it is just meant to give caches hints to write back all
pending writes. Note that none of the caches shipping
with FreeDOS will pool or delay writes, so you actually
do not need to flush with those :-)

As soon as the last app returns to the prompt, you can
expect that DOS has written all data and closed files.

The flush command should work for the following caches:
msclient (not a cache, but network drives), CD Blitz,
PC-Cache, QuickCache, Super PC Kwik / QCache, SMARTDRV.
It also tells DOS and BIOS disks to reset some state.

The latter could help to make sure that things are
written from the built-in cache of your SD card to
the permanent storage of that card. I would expect
most drives - including SSD and SD ones - to default
to not delay writes unless you enable that? And how
long would such delays be at most? Are there rules
about it? Or experiences here on the list?
You could use the SPINDOWN command to tell disks/SD
to shut down - that should give them a hint to flush
their built-in caches :-) Actually, FDAPM POWEROFF
implies flush and spindown anyway.

Regards, Eric



___
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user


Re: [Freedos-user] Question about FDAPM suspend versus clock

2004-12-16 Thread Arkady V.Belousov
Hi!

12--2004 23:03 [EMAIL PROTECTED] (Eric Auer) wrote to
[EMAIL PROTECTED]:

EA Hi, I got a report that FDAPM SUSPEND mode stops the timer tick clock
EA (so far so good) and fails to update it to current time when waking up.
EA Does that happen for you, too, or does it only happen for a few BIOSes?
EA The FDAPM STANDBY mode does not stop the timer, as the CPU is not halted
EA completely - but less energy is saved, too.

 On my (probably, not very correct machine) your FDAPM SUSPEND under
plain DOS (in DOS box W98 closes DOS box because invalid instruction) stops
disk and turns off monitor, but immediately after this FDAPM wakeups.

EA I could add a function which updates the timer tick clock by converting
EA the CMOS wall clock time to timer tick units when waking up from suspend,
EA but only if it is a common problem that the tick clock stops during suspend.




---
SF email is sponsored by - The IT Product Guide
Read honest  candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
___
Freedos-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-user