Commit Graph

12 Commits

Author SHA1 Message Date
Jonas Maebe
03980540bd * reordered some local variables (first 4 byte vars, then 2 byte vars
etc)
  * font data is now disposed in exitproc, exitproc is now called
    GraphExitProc (was CleanModes) and resides in graph.pp instead of in
    modes.inc
1999-09-28 13:56:25 +00:00
Jonas Maebe
aa5751acbc * changed name of modeinfo variable to vesamodeinfo and fixed
associated errors (fillchar(modeinfo,sizeof(tmodeinfo),#0) instead
    of sizeof(TVesamodeinfo) etc)
  * changed several sizeof(type) to sizeof(varname) to avoid similar
    errors in the future
1999-09-26 13:31:06 +00:00
Jonas Maebe
5f0cf70477 * optimized patternline a bit (always use hline when possible)
* isgraphmode stuff cleanup
  * vesainfo.modelist now gets disposed in cleanmode instead of in
    closegraph (required moving of some declarations from vesa.inc to
    new vesah.inc)
  * queryadapter gets no longer called from initgraph (is called from
    initialization of graph unit)
  * bugfix for notput in 32k and 64k vesa modes
  * a div replaced by / in fillpoly
1999-09-24 22:52:38 +00:00
Jonas Maebe
47b14faf20 * renamed text.inc -> gtext.inc to avoid conflict with system unit
* fixed textwidth
  * isgraphmode now gets properly updated, so mode restoring works
    again
1999-09-22 13:13:34 +00:00
Jonas Maebe
4e43bad546 + hlinevesa256 and vlinevesa256
+ support for not/xor/or/andput in vesamodes with 32k/64k colors
  * lots of changes to avoid warnings under FPC
1999-09-18 22:21:09 +00:00
Jonas Maebe
d045295cd4 + added Log and Id tags
* added first FPC support, only VGA works to some extend for now
  * use -dasmgraph to use assembler routines, otherwise Pascal
    equivalents are used
  * use -dsupportVESA to support VESA (crashes under FPC for now)
  * only dispose vesainfo at closegrph if a vesa card was detected
  * changed int32 to longint (int32 is not declared under FPC)
  * changed the declaration of almost every procedure in graph.inc to
    "far;" becquse otherwise you can't assign them to procvars under TP
    real mode (but unexplainable "data segnment too large" errors prevent
    it from working under real mode anyway)
1999-07-12 13:27:06 +00:00
carl
c3929d7354 + Hardware pages 1999-06-26 02:33:33 +00:00
carl
0b1a558a5a + Added DirectColor support 1999-05-24 13:43:50 +00:00
carl
bd452e05a9 + Added SetRGBPalette
+ Added GetRGBPalette
1999-05-22 17:10:40 +00:00
carl
5ba476e64a + More error checking 1999-05-09 23:15:27 +00:00
carl
aa8128e317 + RestoreCRTMode
* GetModeRange returned one mode too much
  + Some cleanup
1999-04-24 18:56:13 +00:00
carl
8d2d8a5279 + Mode management helper routines 1999-04-23 03:05:06 +00:00