OS_ServiceCall &9F (DCI)
Colin Ferris (399) 1814 posts |
Is Nemo version of ‘HostFS’ a replacement for VRPC’s version or RPCEmu? With ref to my problem – the 32bitted mod works ok with RO4.02 – Hibernate and back ok. If VRPC – RO5.25 – is loaded without the Internet module – Hibernate and back seems ok (apart from some black screens) Rmkilling the Internet module – seems to make no difference. |
Rick Murray (539) 13841 posts |
Whether that’s good or bad perhaps depends upon how many and what sort of backups you have. I mean, you don’t still use Zip discs, right? :-) Just so long as you don’t object to various entities looking over your shoulder (automated, obviously, unless something catches the interest of the cat-loving-AI-overlord). I trust you have nothing that the GDPR would object to… |
Steve Pampling (1551) 8170 posts |
Probably file locks. The MS server boys have to deal with files that are deadlocked because a crashed process left them locked fairly regularly. Sometimes the file is locked until a reboot. At a guess Google drive is locking the file so it doesn’t change part way through a transfer. |
Chris Mahoney (1684) 2165 posts |
Apart from when this happens… |
Rick Murray (539) 13841 posts |
Didn’t they rather defeat the idea of document collaboration?
Yes, something didn’t ring true with that story. You’d have thought the various (alleged) prompts would have been noticed in the course of the discussion… |
Steve Pampling (1551) 8170 posts |
Apart from when this happens… As you might expect the quotes were indicating that I was expressing just a little cynicism. The issue with these things is the cloud storage has a copy of a version of your files, whether that version is the specific version you were hoping for is not a 100% match as people have already noted.
In any system the file you access must, for however brief a time, be exclusively yours. The problem comes when that brief lock gets stuck. |
nemo (145) 2547 posts |
VRPC.
That was a lie. :-> |
nemo (145) 2547 posts |
Ain’t going to happen (I don’t think), at least not in the way you’re implying. File operations would (probably) have to be the responsibility of the main UI thread, though handles of open files could be passed to other threads… even so, this would require threadsafe filing systems. More likely, at least at first, is non-blocking file operations as part of the scheduling of a thread-pool system in a ‘worker’ model. So a task could say (to the TaskManager) “Read in all this data from this file, then process it using this code in as many pieces as you think appropriate, and let me know when it’s done”. |
Colin Ferris (399) 1814 posts |
Are there any examples/info on SWI OS_ClaimDeviceVector? What goes in R3/R4 when called? [edi] |
nemo (145) 2547 posts |
I’m sure you’ve found this IRQ is a privileged mode, so you can just alter the processor mode direct. On modern processors you would do something like: [edited]
On old processors you use TEQP similarly. |
Jeffrey Lee (213) 6048 posts |
The NOPs are superfluous (it’s only conditional MSR CPSR_c that needs extra care) Also, remember to preserve R14 after switching from IRQ to SVC mode (and restore it when switching back, obviously) |
nemo (145) 2547 posts |
Oh yes. I recall the bug being clarified, but originally it was “MSR/NOP”. |
Jeffrey Lee (213) 6048 posts |
It can. http://web.archive.org/web/20160316033132/http://www.iyonix.com/32bit/32bitTech.shtml |
nemo (145) 2547 posts |
D’oh! It’s the other way around. MSR/TEQP good, TEQP/MSR bad. |
nemo (145) 2547 posts |
I seem to have tweaked HostFSFiler again. (This is surprisingly useful) |
Alan Robertson (52) 420 posts |
nemo demonstrated
Is this on your 64-bit version of RISC OS or just your 32-bit version of RISC OS? ;-? |
nemo (145) 2547 posts |
Actually… it’s on my stubbornly 26bit version of RISC OS. But HostFSFiler is 32bit now. ;-) |
Alan Robertson (52) 420 posts |
The amount of valuable stuff on your hard drive must be scary! |
nemo (145) 2547 posts |
Fixed that for you. |
Alan Robertson (52) 420 posts |
how many Operating System do you know inside out? |
nemo (145) 2547 posts |
“What a man knows could fill a book. |
Alan Robertson (52) 420 posts |
what this man(me) knows could fill a phamphlet. |
Colin Ferris (399) 1814 posts |
Thanks for the ideas – still havn’t found out why – the difference between RO4.02 an RO5.25 VRPC-DL – with the ‘Internet’ module – with ‘Hibernate’ :-( I think this came up before – something that would work with a Podule version of Internet – as opposed to a softload version. I am using OS_LeaveOS but RO4.02 doesn’t have that call – as standard. teq pc,pc Is there any podule programming info available? |
nemo (145) 2547 posts |
Also be very wary of OS_LeaveOS, as very many versions of CallASWI have a botched implementation that attempts to put you in a non-existent processor mode. |
Rick Murray (539) 13841 posts |
Brilliant put down. But, yet, this man couldn’t even fill a pamphlet (even counting the endless repetitions). |