ROOL Forum: Recent Posts

Font antialiasing maximum size setting

Tue, 29 Sep 2020 15:54:33 -0000

I can’t get there! Configure won’t let me increase the initial font cache above 1020K

Sorry my mistake typing it in, it is 1020K.

Zap Block edit, tabs, not a heap block

Tue, 29 Sep 2020 15:52:45 -0000

The code as it stands doesn’t look correct to me, its loading from either +0 or +2 addresses then using the top 16 bits shifted down in the next instruction. i.e with rotated loads for +0 it getting bits 16-32, and for +2 getting bits 0-15. Where as if you used LDRH you would get for +0 bits 0-15 and for +2 bits 16-31. Is it some hack to avoid using a 16 bit mask by storing the column numbers in the order 1,0,3,2,5,4 ?

My brain might just be too melted to understand this anymore.

How do you write a daemon in risc os?

Tue, 29 Sep 2020 15:39:09 -0000

Trying hard not to remember this too much from industrial control stuff I wrote in the 90s; but use a relocatable module, non blocking socket operations and upcalls for socket activity. Write it in C, the extra points for assembler aren’t worth the additional hair loss.

How do you write a daemon in risc os?

Tue, 29 Sep 2020 15:37:39 -0000

Take a look at

http://www.riscos.com/support/developers/prm/internet.html

GCC 3.4.6 rebuild

Tue, 29 Sep 2020 15:19:44 -0000

No, don’t need ADA just the last working GCC3, recompiled for modern machines.

How do you write a daemon in risc os?

Tue, 29 Sep 2020 14:32:47 -0000

Maybe look at WebJames for inspiration? https://www.riscos.info/index.php/WebJames

How do you write a daemon in risc os?

Tue, 29 Sep 2020 14:19:22 -0000

I am interested in getting a server process to run in the background. Like a web server it needs access to sockets and filesystem without reentrancy issues like filecore in use.

The best example of this that I have seen is Atomwide RemoteFS. This doesn’t run on my machine any more but looking inside it there are just relocatable modules.

I don’t believe the server process is a wimp module task as it carried on working if you pressed F12 or otherwise blocked the wimp. I suspect it hooks into the call after or call every vectors, but I don’t know how to do that in a rm in c. Does this mean its user mode code? and where & how would C configure the stack under these circumstances?

Does anybody know of an open source C example of something that works this way?

Alan

Who has RISCiX sources?

Tue, 29 Sep 2020 13:56:31 -0000

Here is a picture I took recently. I thought afterwards there may be reasons that it might not be quite right but its pretty close anyway. Not sure if you can upload pictures here but I could not see a way.
http://riscix.info/riscixbootscreen.jpg

Who has RISCiX sources?

Tue, 29 Sep 2020 13:28:38 -0000

RISCiX 1.21c runs perfectly on my A540, though better with 8Meg of RAM.
It has drivers for Ether 1, Ether 2 and the Acorn SCSI card.
It will boot on a 4M A3000 if you plug the SCSI card & drive in, though you can’t get Ethernet at the same time. It will do tcpip over Econet.
It does require a MEMC 1a chip.
The backplane PAL business is not a show stopper it just complains that its missing at boot.
It will boot on an A5000 but lacks drivers for the PC IO chip so the keyboard doesn’t work.
I suspect that the kernel is mostly from the 4.3BSD source with Acorn drivers, memory management,& compress executable support. The userland heritage is a more complicated as it has binaries for many common commands in both BSD and system 5 flavours. Setting the path determines which you get.

I have used the BSD source to that to try to recompile some userland stuff.

To add device drivers you need the kernel binaries kit. You can write new ones, and then link with their kernel binary objects to produce a new kernel with your driver.

I probably still have the instructions on how you copy it from disk to disk and get it to boot but I have never been able to produce bootable floppy disk set that would enable reinstallation without having a running system already.

I too would love the source to it and also to RISCiXFS the RISC OS module that can mount the RISCiX filesystem read only and execute RISCiX binaries out of water.

I may have some discs called ‘Petrol pump’ this is an broadcast disk duplicator which copies one machine to many target machines.

Perl

Tue, 29 Sep 2020 12:07:39 -0000

Hi Duncan,

Could you amend the email address in your post, please? It’s bad form to give people’s email addresses in full in public.

Thanks. ;-)

Perl

Tue, 29 Sep 2020 11:09:06 -0000

Buried within the application there’s some RISC OS related stuff for this port indicating version 5.14.2 by Chris Gransden, and the email address chrisg@care4free.net .