[Date Prev][Date Next] [Chronological] [Thread] [Top]

[rtl] 16 bit I/O on a PC



Hi,

I'm new to linux and am converting from DOS (used for the real time
interrupt handling - forget windows for r.t.) on an I/O board I
built about 5 years ago. The board has 2 Hitachi Universal Pulse
Processors on it. These UPPs have 24 16bit counters (for PWM,
quadrature & timebase use) plus 10 10bit ADCs. 

The problem is that I used the extra 6 bits (bit 10 through bit 15)
that are not decoded by the PC hardware to address the internal UPP
registers. 

1) Has anyone extended rtlinux port I/O to 16 bits, or is the 0x000 
to 0x3FF (bit 0 to bit 9) limit easily overcome?

2) Also, has anyone worked on rotating the hardware interrupt
sequencing mask? We used int 7 in DOS and could allocate that as
the highest priority by rotating the mask bit so that 7 always 
happened, and then 0, 1 ...6 in that order.  WIndows unfortanately 
disables interrupts for large blocks of code and is of no use for 
this work.

Any assistance greatly appreciated. 

Thanks,

Reg Dunlop
University of Canterbury, NZ


--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail majordomo@rtlinux.cs.nmt.edu OR
echo "unsubscribe rtl <Your_email>" | mail majordomo@rtlinux.cs.nmt.edu
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/