Technical Systems Architecture Questions

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
whyme_t

Technical Systems Architecture Questions

Post by whyme_t »

When a call to sti or cli is made, which device is actually effected? Does this tell the CPU to stop servicing interrupts, or does the CPU continue, but the PIC stops.

And another thing, where are the ports which we use with inb and outb, I mean physically. Are they on the motherboard? Or are they logical?

I just want to know exactly what my code is doing to the computer :)
User avatar
Pype.Clicker
Member
Member
Posts: 5964
Joined: Wed Oct 18, 2006 2:31 am
Location: In a galaxy, far, far away
Contact:

Re:Technical Systems Architecture Questions

Post by Pype.Clicker »

those ports are only logical addresses with I/O devices. they should *not* be mixed with COM1, parallel or usb ports... for instance, port 220 used to be the main port of the soundblaster card ... this just means an outb(0x220,'x') sends 'x' out of the CPU to the register of the soundblaster that has I/O address 0x220 ... nothing more ... nothing less
Post Reply