Re: [hatari-devel] SCC support

[ Thread Index | Date Index | More Archives ]

Am Tue, 18 May 2021 00:55:27 +0300
schrieb Eero Tamminen <oak@xxxxxxxxxxxxxx>:

> Hi Thomas,
> On 15.5.2021 14.01, Thomas Huth wrote:
> > I'm currently not working on the SCC code anymore. It was just a 
> > quick-n-dirty adaption of the SCC code from Aranym to get rid of
> > the bus error problem that we had with the TT IO memory map. The
> > current status is just enough for outputting some bytes. Interrupts
> > have not been wired up yet, and the D(bug()) stuff is also just
> > there because it has been copied over from Aranym. If someone wants
> > to work on this code and implement interrupts or rework the debug
> > printing, be my guest, I currently don't have any local
> > modifications to that file.
> Debug macros were a mix of different things, so I
> converted them to SCC trace and DEBUG & WARN level
> log outputs.
> I also removed Init()/UnInit() debug output and
> added output to reset functions (and removed superfluous "inline"
> from one static function).
> Does the mapping in the attached patch look reasonable enough to push?

Yes, looks fine to me at a first glance. 

> (Only testing I did for it was EmuTOS boot on TT
> & Linux boot on Falcon.)
> Btw. There's also another, preliminary patch
> that sorts trace options for trace help output.
> Any objections on that?

Should the #defines in log.h get sorted accordingly?


Mail converted by MHonArc 2.6.19+