Both the CPU engine and the OS compatibilty layer are to be written in C.
My problem is this: although I understand the logic behind the problem I'm trying to solve, and could implement it in PDP-8 assembler (if only the PDP-8 were powerful enough!




Why would you? If you really need to, use IPC (see the next answer).wilsonsamm wrote:How can I pass a semaphore to another process?
Well, by using IPC. The most common two approaches are message passing and shared pages. I'd suggest shared paged for stuff like common variables. Just be careful about those race conditionsHow can several processes have variables and so on in common? When the CPU engine calls the OS compatibility layer for a particular syscall, the OS compat layer will need to look at CPU registers and memory locations for parameters and so on.
Use [ list ] [asterisk] foo [asterisk] bar [ /list ]How do put proper bullet points into this message?
pipes , message queues.... , even by using sockets on loopback ... So i would prefer a more specific query . Also mention the operating system under considerationThe most common two approaches are message passing and shared pages