Tiny Graphics Interface - Zirias/cc65 GitHub Wiki

Driver classification

driver double page best colors best resolution
a2.hi.tgi  
a2.lo.tgi    
a2e.hi.tgi  
a2e.lo.tgi    
atari3.tgi      
atari4.tgi      
atari5.tgi      
atari6.tgi      
atari7.tgi      
atari8.tgi    
atr8p2.tgi  
atari9.tgi    
atr9p2.tgi  
atari10.tgi      
atr10p2.tgi    
atari11.tgi    
atari14.tgi      
atari15.tgi      
atr15p2.tgi    
atmos-240-200-2.tgi  
c128-vdc.tgi    
c128-vdc2.tgi  
c64-hi.tgi  
geos-tgi.tgi  
lynx-160-102-16.tgi

TGI bitmap fonts

  • Starting coordinates are: Lower left corner (not baseline).
  • Drawing is done transparently (meaning non-glyph "background" pixels are left as they are).
  • A driver states via a bit in the header if it supports 8.8 fixed point scaling (or only integer scaling).
  • Based on that bit (and the already existing integer x and y size values) the TGI kernel does clipping on character granularity.
  • The parameters to the OUTTEXT driver entry point are no C string but kind of a Pascal string in order to facilitate copy-free clipping for TGI kernel.
⚠️ **GitHub.com Fallback** ⚠️