December 06, 2022

Is there a way to do hardware interrupts in D? I've been looking around for a while now, but I haven't really found anything on the topic yet.

December 06, 2022
On Tue, Dec 06, 2022 at 08:03:35PM +0000, astrus via Digitalmars-d wrote:
> Is there a way to do hardware interrupts in D? I've been looking around for a while now, but I haven't really found anything on the topic yet.

That's a platform-dependent operation that has nothing to do with D itself.  Probably your best bet is to use an asm block and write the instructions yourself.


T

-- 
Once the bikeshed is up for painting, the rainbow won't suffice. -- Andrei Alexandrescu