Commit Graph

43 Commits

Author SHA1 Message Date
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
carl
e94bef4279 - unit cleanup (removed unused defines) 2002-09-07 12:37:19 +00:00
Jonas Maebe
5bf4a7f9fc * GetMaxMode() now returns a smallint instead of a word (since the type
of the modenumbers is smallint too) (merged)
2001-06-01 11:13:22 +00:00
Jonas Maebe
bd745d3e82 * fixed problem with new modes system (reported by Vladimir Ravodin) (merged) 2001-04-14 16:06:03 +00:00
peter
46b58ded78 * fixes for the stricter compiler 2001-04-13 23:49:48 +00:00
Jonas Maebe
2f3239d61c + setallpalette hook
+ setallpalette implemented for standard vga and VESA 2.0+
2000-08-12 12:27:13 +00:00
Jonas Maebe
8bce8284d3 * the defaulthooks are reset if setmode() fails at any point (merged
from fixes branch)
2000-08-01 06:03:32 +00:00
michael
650fbb86aa + removed logs 2000-07-13 11:32:24 +00:00
michael
e7aca136a1 + Initial import 2000-07-13 06:29:38 +00:00
peter
0f6ce09f13 * initernmodenumber is now renumbered at the end of AddMode() it
also sets hi/lo for the driver
2000-07-09 07:21:14 +00:00
Jonas Maebe
b506dc4514 * forgot to remove some non-working experimental code from last
commit :(
2000-07-08 13:00:08 +00:00
Jonas Maebe
732f06de57 * fixed problem that occurred if the graphmode was initialized with
a new graphdriver, but then setgraphmode was called with as
    parameter the result of getGraphMode (since that one returns an
    old-style modenumber)
2000-07-08 06:24:21 +00:00
Jonas Maebe
575f6c0d6d * fixed setgraphmode together with the new graphdrivers 2000-07-07 17:29:30 +00:00
Jonas Maebe
011a187da3 * final fixes for linux support (graphdriver value of the modes
is now also not modified anymore)
2000-07-05 13:07:48 +00:00
Jonas Maebe
c88da249b4 * added internModeNumber to modeinfo type to fix Linux compatibility
with -dnewmodes code
2000-07-05 11:25:20 +00:00
Jonas Maebe
8d2b35c5ef * released -dnewmodes 2000-06-27 13:37:04 +00:00
Jonas Maebe
71184303bd * setviewport was sometimes called with parameters from the previous
active mode, either directly from setgraphmode or from
    setbkcolor
2000-06-23 19:56:37 +00:00
peter
57c538267c * removed notes 2000-06-22 18:36:18 +00:00
carl
35c60dfa09 + added modes for Atari/Amiga and bit depth also 2000-06-19 01:18:49 +00:00
Jonas Maebe
c0910ded8c * changed maxint -> maxsmallint (range error because of objpas mod
somewhere)
2000-06-18 14:59:39 +00:00
Jonas Maebe
27186c9639 * new platform independent mode handling (between -dnewmodes) 2000-06-17 19:09:22 +00:00
florian
b8faf9a8a3 * some more procedures can be now hooked by the OS specific implementation 2000-04-02 12:13:36 +00:00
florian
fe462795f6 * introduce a DrawBitmapCharHoriz procedure variable to accelerate output on
win32
2000-03-24 18:16:32 +00:00
florian
8a700b7568 * ClearViewPort fixed 2000-03-24 13:01:15 +00:00
daniel
ec29a31834 * copyright 2000 2000-01-07 16:41:28 +00:00
daniel
a79b4a404b * copyright 2000 added 2000-01-07 16:32:21 +00:00
Jonas Maebe
39343bf688 * removed/commented out (inited but) unused vars and unused types 2000-01-02 19:02:39 +00:00
Jonas Maebe
802730bfb5 * changed vesa.inc do it doesn't try to use linear modes anymore (doesn't work
yet!!)
  * fixed mode detection so the low modenumber of a driver doesn't have to be zero
    anymore (so VESA autodetection now works)
1999-12-21 17:42:17 +00:00
peter
62bd7e53ee * integer -> smallint to overcome -S2 switch needed for ggi version 1999-12-20 11:22:35 +00:00
michael
514f0f9879 + Additional logging 1999-12-04 21:20:04 +00:00
Jonas Maebe
db5cdd7387 * corrected misplacement of call to initvars in initgraph
+ some extra debugging commands (for -dlogging) in the mode functions
1999-11-28 16:13:55 +00:00
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