And there are som more issues: a OS above Win98 (NT, ME, 2K, XP and up) will NOT allow you to access other memory than the one you request the normal way and will not allow ANY direct access to the hardware.
The access to hardware can be solved through a special driver, there should be som freewares on the net, i haven't used any so don't ask.
Totte