Pin mapping for ATMega 16A (when programmed using Arduino as ISP)

I am using my Arduino board as an ISP to program an ATMega 16 A microcontroller.

I tested it using a basic blink program written in AVR C (manipulating the registers, ports etc myself) and it works fine. Now I want to use Arduino functions like digitalWrite(), pinMode() etc., and for that I need to know how to map Arduino's digital/analog pins to ATMega 16A's ports.

For ATMega 168/328 I can get the mapping from http://www.arduino.cc/en/Hacking/PinMapping168. Is there such a mapping for ATMega 16A as well?

Is there such a mapping for ATMega 16A as well?

That would be something that you (or the vendor of the ATmega16A-based board) would have to provide as part of the hardware/arduino/cores/arduino/pins_arudino.* or equivalent. It is allowed to be different on different boards, even if they have the same CPU.

Thanks. I would define the pins for ATMega 16.