Plug and Play Resource Allocation

Your computer has many devices connected to it. Your key board is a device. Your mouse is a device. Your modem is a device.
Even a port, like a USB port, is a device.

You can add a device to your computer by installing it into an expansion connector on the the motherboard of the computer. In order to operate, resources need to be allocated to the device. One of the most important resources a device needs is an Interrupt Request (IRQ) line. An IRQ signals the processor that the device needs attention. For example, each time you press a key on your keyboard, an IRQ is sent to let the processor know that the keyboard needs attention.

A device also needs to be allocated a set of memory addresses where commands can be sent to it and it can send responses. Many devices need to be allocated an area of memory to store data and/or a Direct Memory Access (DMA) channel. A DMA channel allows a device to create a data stream directly between it and the computers memory without passing through the processor. One of the most important structures in a computer is the system bus located on the motherbord. The processor, chipset, memory, and expansion slot devices communicate over the bus.

Early PCs used a bus called Industry Standard Architecture (ISA). When you installed an expansion card into the ISA bus, you had to set IRQs and other resources with jumpers and/or DIP switches on the card. ISA devices cannot share resources, each ISA device must have its own IRQ. - You can have more than one ISA device configured for the same IRQ, as long as only one of the device drivers is loaded at any one time; otherwise, you'll get an IRQ conflict. Since a computer has only a limited amount of resources, the number of devices that a computer could support is limited.

One of the most limited resources is IRQ lines. A PC has only 16 IRQs. Common devices such as the keyboard, mouse, floppy drive, and hard drive use a standard set of resources. Standard IRQ aassignmentsIRQ
DEVICE0

System Timer1

Keyboard2

IRQ Controller 23

COM24

COM15

LPT26

Floppy Drive7

LPT18

Real-Time Clock9

ACPI10

unallocated11

IRQ Holder12

Mouse13

Math Coprocessor14

Primary IDE15

Secondary IDEIn 1993, Microsoft and Intel developed Plug and Play (PnP) to solve this problem. One of the main structures supporting PnP is the Peripheral Component Interconnect (PCI) bus.

Along with a PCI bus, the computers BIOS, operating system, and hardware devices must be PnP compliant. One of the key features of PnP is that when installing a PCI card, you do not need to use jumpers of DIP switches to set the IRQ or I/O address for the card, the PCI bus controller does this for you. The Windows 2000/XP operating system component responsible for PnP is the Advanced Configuration and Power Interface (ACPI). ACPI allows devices to be controlled by the operating system to perform power management. ACPI may put a device in a power saving state such as Standby, Suspend or Off.

ACPI also allows dynamic handling of events like the addition or removal of a USB device. During the boot process, the BIOS builds a table to record which IRQs have been used by legacy ISA devices and then assigns the unused ones to the PCI bus controller. The PCI bus controller, which is part of the motherboard chip set, manages the PCI bus and the expansion slots. Each PCI device communicates its resource requirements to ACPI. Based on the resource requests that each device makes, ACPI assigns resources such as IRQs, I/O addresses, and memory locations, and DMA channels.

ACPI can reconfigure resource assignments when needed, for example, when a device is added to the system.
The PCI bus overcomes the limitation in available IRQ's with a feature called "PCI steering". PCI steering makes it possible for several devices to use the same IRQ. PCI steering allocates an IRQ called the "IRQ Holder" for PCI steering. The PCI controller steers that IRQ to its own interrupt systems on the PCI bus.

These interrupts are called A, B, C, D, and so on to avoid confusion with the numbered system IRQs. One interrupt is assigned to each PCI expansion slot. To see which IRQ has been assigned to the IRQ Holder for PCI steering, open the Control Panel "System" utility. In the "System Properties" dialog box, select the "Hardware" tab and click on the "Device Manager..." button. In Device Manager's "View" menu select "Resources by type", then open the "Interrupt request IRQ" branch.

pcirq.bmp - Note that Windows 2000 uses IRQ 9 for PCI Steering, so never set a device to IRQ 9. PnP resource allocation removes the need to use jumpers of DIP switches to set the IRQ and other resources for devices. But PnP involves a complex interaction between the computers BIOS, chipset, PCI bus, operating system, and PnP devices.Copyright(C)2004 Bucaro TecHelp. Permission is granted for the below article to forward, reprint, distribute, use for ezine, newsletter, website, offer as free bonus or part of a product for sale as long as no changes are made and the byline, copyright, and the resource box below is included..

Stephen BucaroTo learn how to maintain your computer and use it more effectively to design a Web site and make money on the Web visit bucarotechelp.com. To subscribe to Bucaro TecHelp Newsletter visit http://bucarotechelp.com/search/000800.asp.

Tips On Buying Keyboards and Digital Pianos

There are so many keyboards and digital pianos on the market today. How does one make a selection? Here are a few tips to help you choose one that meets your needs.1. How much can you afford?With such a wealth of keyboards available, a working person shouldn't have a problem finding one that fits their budget. Low priced keyboards are all over. But this doesn't mean that you should settle for anything.

As the old adage goes, you usually get what you pay for. Usually the more money you invest, the greater the returns.
2. Do you need weighted action or synth action.Weighted action means that the keyboard comes with heavy (weighted) keys and feels like an acoustic piano. You need some muscle to play such keyboards.

If you're a trained pianist or you want to develop your piano skills a weighted keyboard would be better suited.Synth action would mean lighter keys. You can usually play faster and easier with a synth action keyboard. Are you gonna be playing synthy and...

Tips On Buying Keyboards and Digital Pianos
Keyboard > Tips On Buying Keyboards and Digital Pianos

Planning to build a computer desk.

Much like any other piece of furniture, selecting computer desk plans requires a little bit of fore thought. There are a number of questions that you need to ask yourself before committing to a design. This will save some disappointment after the project is complete. Consider these 10 points before getting started. 1.

When planning your office make sure there is sufficient power close to where you plan to put your desk. It is possible to have power points right at your desk if there are computer components that are only used occasionally.2. Use a species of wood that is going to be able to resist the heavy weight of the computer components. A hardwood species such as Oak or Maple will provide the strength needed to resist these forces.3. Using the right species of wood will resist the weight of the computer components but the joinery used should also provide the maximum gluing surface area and thus the maximum strength.

Joints like dado's for the carcase, dovetails or finger...

Planning to build a computer desk.
Keyboard > Planning to build a computer desk.

An Introduction to Text Messaging

Why Text? Text messaging is a quick way to stay in touch with people for personal or business purposes. With text messaging, you can chat with a partner by typing on the keyboard and reading what they write to you on the screen. Many text messaging products can work with cell phone text messaging (aka SMS or Short Messaging Service) so you can chat with people who aren't in front of their computer. So, why not just pick up the phone and talk? It's faster than e-mail and phone calls. And you don't have to pay anything to text.

If you need to chat with someone briefly or ask a quick question, it's much less intrusive than calling someone. As with most developing technologies, several types of text messaging are available and each one is incompatible with the others. But don't let that keep you from trying it out. The main text messaging products are ICQ (www.icq.com), MSN Messenger (www.msn.com), AIM (www.aim.com), and Yahoo Messenger (www.yahoo.com). btw (By the Way...) Each one...

An Introduction to Text Messaging
Keyboard > An Introduction to Text Messaging

A Happiness Poem

If a happiness poem could bring forth a smile, Then my face would always dress in style.If my ears could hear my computer screen,From one to another, they, too, would grin. My keyboard types for my eyes not my tongue This happiness poem will never be sung.But what of my eyes?
Don't they shine? Yes, but not from this poem of mine.The pen is mightier than the sword, But a pen can write only words.The feelings I sense and the senses I feelFor keyboard and screen remain far too real.My ears and my nose remain at rest. My cheeks and hairline are doing their best.But if this happiness poem could make my mouth smile, My face would forever dress up in style..

David Leonhardt first published this happiness poem in A Daily Dose of Happiness at http://TheHappyGuy.com/daily-happiness-free-ezine.html. Read his friendship poem at http://TheHappyGuy.com/friendship-poem.html... A Happiness Poem
Keyboard > A Happiness Poem

From the Giant Keyboard in the Movie “Big”, to the Magic of “Piano Wizard”, FAO Schwarz Toyland Continues It’s Landmark Music Making Tradition This Holiday Season

(ContentDesk) December 9, 2005 -- The holiday season in New York City means snow-covered sidewalks, ice-skating at Rockefeller Center, and no kids winter experience is complete without a visit to the world famous toy display at FAO Schwarz. The store's guiding principle has not changed since 1862: to provide the world's children with the most extraordinary toys, and this year FAOs Toyland will include one of the hottest new gifts on the market: Piano Wizard".One of the classic movie moments and memories is Tom Hanks hopping across the giant keyboard at FAO Schwarz in the movie Big, said Chris Salter, inventor of Piano Wizard and founder of parent company Allegro Multimedia.
In that moment, he brings out the musical child in all of us, and that is what we have strived to do with Piano Wizard from the outset. To have Piano Wizard as part of that landmark annual toy display is a delight for us and the children, because now they can play real music quickly and easily, almost...

From the Giant Keyboard in the Movie “Big”, to the Magic of “Piano Wizard”, FAO Schwarz Toyland Continues It’s Landmark Music Making Tradition This Holiday Season
Keyboard > From the Giant Keyboard in the Movie “Big”, to the Magic of “Piano Wizard”, FAO Schwarz Toyland Continues It’s Landmark Music Making Tradition This Holiday Season

ikeyboardland.com, all rights reserved where applicable
Keyboard
This page loaded in 0.03065 seconds.