The VDI engine

Table of Contents

  • Main program
  • Control functions
  • Attributes functions
  • Output functions (graphics primitives)
  • Raster functions
  • Input functions (mouse)
  • Escape functions
  • Inquire functions
  • Color functions
  • Others

fvdi

Main program

  • fvdi.s - mainly function dispatcher related things
  • startup.c - startup
  • loader.c - preferences and driver loader
  • setup.c - workstation setup functions

Control functions

  • workstn.c - workstation functions
  • fonts.c - font load and setup
  • calamus.c - Calamus functions
  • dcsdstub.s - Calamus stub functions

Attributes functions

  • fill_sq.s - fill set/query functions
  • mark_sq.s - marker set/query functions
  • text_sq.s - text set/query functions
  • line_sq.s - line set/query functions
  • textlib.c - text handling
  • patterns.c - patterns

Output functions

  • bezier.c - Bezier code
  • conic.c - circle/ellipse/pie/arc code
  • draw.s - drawing functions
  • text.s - text drawing functions
  • textrndr.s - text rendering functions
  • polygon.c - polygon fill functions
  • line.c - line code
  • math.c - integer sin/cos/sqrt code

    Raster functions

  • default.c - default drawing function code
  • blit.s - blit type functions
  • vdi_misc.s - miscellaneous functions
  • expand.s - Mono->mono (MFDB) operations

Input functions

  • mouse.s - mouse functions

Escape functions

  • escape.c - console functions
  • bconstub.s - Bconout(con) redirection calling stub
  • bconout.c - Bconout(con) redirection

Inquire functions

  • simple.s - miscellaneous functions

Color functions

  • colour.c - colour handling
  • colour.s - colour functions

Utilities

  • gnu.s - syscalls (GNU GCC)
  • purec.s - syscalls (Pure C)
  • sys_call.s - system routines
  • setjmp.s - setjmp
  • support.s - support routines
  • traptabl.s - trap table
  • unimpl.s - unimplemented functions
  • utility.c - utility functions

Others

  • mousenat.s - small test program. constantly outputs the mouse cursor position using nf_stderr natfeat call
  • mousepos.s - small test program. constantly write the mouse cursor position to the top right corner of the screen