den31

u/den31


r/AskProgramming•

I've been screwing around with x86 assembly recently and the so called Unreal-mode, and I just got multiple CPUs running code simultaneous in DOS. Currently when it comes to old fashion interrupts like keyboard and timer, it seems that only the first CPU reacts to them. I'm guessing one should somehow configure the APIC with which core responds to which interrupt, but I don't know how to do this yet. I suppose I would eventually dig this info from somewhere, but I would appreciate it if someone familiar with the subject has simple examples of how to do this.

In case anyone is interested, I posted my code here: https://pastebin.com/4YJULxin. The first core responds to timer interrupt by incr

291

You've reached the end of this feed.