Re: How interrupts work (x86 vs. C64)



MJ <spamtrap@xxxxxxxxxx> wrote:

What exactly do you mean by "emulating the C64"? Do you want to get
timer interrupts? In that case, how to do it depends on what kind of
timer you have. Is this a PC? An old PC or a new one?

Yes, I want timer interrupt at classic x86 PC with Linux (or Windows).

The operating system gets the timer interrupts. You can get messages and
callbacks on a periodic basis, but you cannot directly handle interrupts as
a user-mode program. That's the responsibility of the kernel.

What are you really trying to do?
--
Tim Roberts, timr@xxxxxxxxx
Providenza & Boekelheide, Inc.

.



Relevant Pages

  • Re: [PATCH] kexec: force x86_64 arches to boot kdump kernels on boot cpu
    ... and put LVT0 in ExtInt mode and IOAPIC is bypassed. ... I am looking at Intel Multiprocessor specification v1.4 and as per figure ... all the CPU should see the timer interrupts (which is coming ... It hung after the kernel ...
    (Linux-Kernel)
  • Re: Xeon hyperthreading problem
    ... model name: IntelXeonCPU 3.06GHz ... > counters, or a bug in the mobo, or a bug in the setting up of the APIC ... > by the kernel, or some mumo-jumbo is needed in lilo.conf. ... Notice it did not start up that way, as you have a few timer interrupts to ...
    (comp.os.linux.setup)
  • is it a timer bug?
    ... I notice the timer interrupts is quit high on the 2.6.28-rc8 kernel in my Nehalem machine. ... the timer interrupts reduce to 10-/second with tickless and highres enable. ... On 2.6.27 kernel, the timer interrupts can keep low with tickless kernel whenever the highres feature is enable or not. ...
    (Linux-Kernel)
  • Re: Sleep() is not accurate on XP P4 2.8G
    ... to receive timer interrupts quicker than 10 msec, ... XP is NT kernel Os, ... > why can I get 1ms messured incremenets on one identical machine and not ... > Arkady Frenkel wrote: ...
    (microsoft.public.win32.programmer.networks)