On Mon, 11 Aug 2008, Lukas Kropatschek wrote: > How easy would you guys think would it be to create a new device such as the > ATMega168? > > Basically only some registers have other memory addresses and have diffrent > names. > Should I try to just "copy" the ATMega128 code and change the regs or am I > missing something?
Alas, you are missing something. The first thing I noticed when I tried it was that a pin (I don't remember which one) was inverted. The next thing was that the timers were different. I think that none of the 168 timers correspond to a 128 timer. Someone will need to write 3 new timers. I'll probably get back to it some day, but not today. -- Michael [EMAIL PROTECTED] "Those parts of the system that you can hit with a hammer (not advised) are called Hardware; those program instructions that you can only curse at are called Software." _______________________________________________ Simulavr-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/simulavr-devel
