Skip to content

Tiny Graphics Interface

Oliver Schmidt edited this page Mar 15, 2014 · 5 revisions

Driver classification

driver double page best colors best resolution
a2[e].hi.tgi  
a2[e].lo.tgi    
atr[x]3.tgi      
atr[x]4.tgi      
atr[x]5.tgi      
atr[x]6.tgi      
atr[x]7.tgi      
atr[x]8.tgi    
atr[x]8p2.tgi  
atr[x]9.tgi    
atr[x]9p2.tgi  
atr[x]10.tgi      
atr[x]10p2.tgi    
atr[x]11.tgi    
atr[x]14.tgi      
atr[x]15.tgi      
atr[x]15p2.tgi    
atmos-228-200-3.tgi    
atmos-240-200-2.tgi    
c128-vdc.tgi    
c128-vdc2.tgi  
c64-hi.tgi  
geos-tgi.tgi  
lynx-160-102-16.tgi
nes-64-56-2.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.
Clone this wiki locally