On Monday 11 August 2008 22:10:30 Michael Hennebry wrote: > 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.
Looks like a bunch of work. It's really sad that there is no API documentation at all in simulavrxx because it's not comfortable to look up ctors and that stuff in headerfiles :D I don't have a clue how to write those timers but maybe I'll find out and try it. Thx for the fast response! -- Lukas Kropatschek Jabber: [EMAIL PROTECTED] PGP: 0x85812126 _______________________________________________ Simulavr-devel mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/simulavr-devel
