I tried to look through the sources and understand what is going on. The driver declares something called _tgi_fontwidth which i 8 in my case. It is found in the header. The textwidth code uses something called _tgi_charwidth which is zeroed at the time when the driver loads. I can not find any place in the code that would copy _tgi_fontwidth to _tgi_charwidth. The old code has something like this in tgi_textstyle.s: -.proc charsize_helper - - lda _tgi_fontwidth,y - jmp @L2 -@L1: clc - adc _tgi_fontwidth,y -@L2: dex - bne @L1 - sta _tgi_charwidth,y - rts But that was removed after revision 5021 in July 2011. -- Karri On 17.09.2012 21:08, Ullrich von Bassewitz wrote: > Hi! > > On Mon, Sep 17, 2012 at 11:54:43AM +0300, Karri Kaksonen wrote: >> in the latest snapshop the cursor is no longer moves with tgi_outtext. >> Hello and World are printed on top of each other making it unreadable. >> >> tgi_outtextxy(0,0,"Hello "); >> tgi_outtext("World"); >> >> Any ideas of what should be done to fix this? > It *should* work. Since when do you think this doesn't work? The code hasn't > been touched for quite some time now (which I'm not happy about, but that's > the way it is). > > I've just had a quick look at both routines involved, and in my last tests > involving vector fonts they did work. If you give me a bit more information, > I'm willing to look further. > > Regards > > > Uz > > ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Tue Sep 18 10:15:35 2012
This archive was generated by hypermail 2.1.8 : 2012-09-18 10:15:39 CEST