Re: [hatari-devel] New blitter code for xcount=1 nfsr=1

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Am Fri, 18 Sep 2020 10:10:55 +0200
schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:

> Le 18/09/2020 à 05:43, Thomas Huth a écrit :
> 
> >   
> >> I don't have ahcc installed on my setup ; could you compile
> >> blitemu.c and send it to me and then I will push the blitter test
> >> to the git repo ?  
> > 
> > Sure, attached is a version that should work. Note that I also had
> > to replace fopen() and friends with their TOS counterparts
> > Fcreate() etc. since the stdlib functions also tried to use some OS
> > calls that were not supported.
> > 
> >   Thomas
> >   
> 
> Hi
> 
> program is working fine, thanks.
> 
> I noticed a small difference regarding "\r\n" ; in your version, it
> uses "Fwrite(fh, 2, "\r\n");", which creates 0x0d 0x0a in the output
> file at the end of each line.
> But in version using "fprintf(fp,"\r\n");", it outputs 0x0d 0x0d
> 0x0a, because under TOS "\n" is handled as 0x0d 0x0a.
> 
> Not a big difference, it can be handled by using "diff -b" (if using 
> only "diff -q", then tests will fail due to these end of lines)

.... or simply adjust the test_out.txt file accordingly?

> Can you send the content of blitemu.prj you used, so I can push it to 
> repo too ?

Sure, it's attached to this email.

> Apart from that, blitter test is now working OK, I will add it to
> repo.

Great!

 Thanks,
  Thomas

Attachment: blitemu.prj
Description: Binary data



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/