Stimulus driven interrupts?

Download new library modules and examples to use with Astrobe for RISC5. Forum members can also upload their own source code examples.
Post Reply
jmaggio14
Posts: 5
Joined: Tue Mar 09, 2021 8:16 pm

Stimulus driven interrupts?

Post by jmaggio14 » Wed May 05, 2021 9:46 pm

In this Oberon-1 paper (http://norayr.am/papers/WirthTasksVersusThreads.pdf) from 1996, Wirth discusses a method of "real-time tasks". (Page 10). In which I believe interrupt handlers installed with Kernel.Instal(Handler, N) are triggered when a device or buffer is updated?

I see that Kernel.Install still exists in the RISC5 source. Can this method still be used for "real-time tasks" in which a procedure is run when an external stimulus changes? So far all the interrupt examples I've seen make use of interrupts triggered periodically by the millisecond timer, but I'm a little out of my depth here so it's very possible I missed something

My end goal is to trigger an interrupt (from firmware or otherwise) without having to wait for the millisecond timer

cfbsoftware
Site Admin
Posts: 511
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Stimulus driven interrupts?

Post by cfbsoftware » Thu May 06, 2021 12:10 am

Oberon's interrupt capabilities are part of Project Oberon and the RISC5 design - they are not peculiar to Astrobe. Unfortunately we have not had any experience in what you are attempting to do. However, I recommend that you check out this website produced by gray, another Astrobe user and frequent contributor to this forum:

https://oberon-rts.org/basics/on-interrupts/

Alternatively, try asking your question on the ETH Oberon Mailing list.

cfbsoftware
Site Admin
Posts: 511
Joined: Fri Dec 31, 2010 12:30 pm
Contact:

Re: Stimulus driven interrupts?

Post by cfbsoftware » Fri May 14, 2021 2:12 am

For anybody who is interested this discussion was continued on the ETH Oberon Mailing list:

http://lists.inf.ethz.ch/pipermail/oberon/2021/015803.html

Post Reply