This has been already done, and is available on the
Net. Look at the
schematics for the Apple I replica at
www.applefritter.com;
this contains an ATMEL controller to convert a PC keyboard to the
7bit+strobe required for the Apple I. It is probably just a matter
of changing the translation table in the code to adapt to any encoding.
An ATMEGA8515 is maybe overkill for such a converter, as
it has 2 unused 8 bit ports , but it is a little bit less powerconsuming
as a PC with a parallel port.
I'm a bit out of time, but this can be easily done with an atmega 2313
(18 pin, 15 I/O ports). Look for BASCOM in
www.mcselec.com - this is a easy
way to program that, you just need to capture the PS/2 data and use data
lines and lookup to convert to your 7-bit desired value.