changed pcieflat from using array indices -48..-1 to 0..47