I am a beginner. got some stupid questions:

  1. how do I get m328def. dat to run the board with Bascom?
  2. where do I get information which pins on the processor correspond to the pins on the Arduino board??

I don't understand question 1), but the answer to 2) is "from the schematic".

See also this nice summary picture:

And my lovely GoogleDoc spreadsheet: