Commit Graph

48 Commits

Author SHA1 Message Date
peter
01dfac4a4e * old logs removed and tabs fixed 2002-09-07 15:06:34 +00:00
carl
712bd8dbc1 - unit cleanup (removed unused defines) 2002-09-07 12:43:02 +00:00
marco
4af59f4504 * Renamefest 2002-06-01 19:42:02 +00:00
Jonas Maebe
bd745d3e82 * fixed problem with new modes system (reported by Vladimir Ravodin) (merged) 2001-04-14 16:06:03 +00:00
Jonas Maebe
c91a23c27d * new constant handling: from now on, hex constants >$7fffffff are
parsed as unsigned constants (otherwise, $80000000 got sign extended
    and became $ffffffff80000000), all constants in the longint range
    become longints, all constants >$7fffffff and <=cardinal($ffffffff)
    are cardinals and the rest are int64's.
  * added lots of longint typecast to prevent range check errors in the
    compiler and rtl
  * type casts of symbolic ordinal constants are now preserved
  * fixed bug where the original resulttype wasn't restored correctly
    after doing a 64bit rangecheck
2000-12-07 17:19:42 +00:00
Jonas Maebe
2f3239d61c + setallpalette hook
+ setallpalette implemented for standard vga and VESA 2.0+
2000-08-12 12:27:13 +00:00
peter
3c7d8f0db1 * merged setvideostate patch 2000-08-05 18:34:47 +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
Jonas Maebe
575f6c0d6d * fixed setgraphmode together with the new graphdrivers 2000-07-07 17:29:30 +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
d87a8dd637 * detectmode between ifdef 2000-06-18 18:41:18 +00:00
Jonas Maebe
2d01b922b6 * release memory of newmodeinfo in graphexitproc 2000-06-18 08:11:53 +00:00
Jonas Maebe
6cb27b64e6 + added missing detectMode stuff for -dnewmodes 2000-06-18 06:11:20 +00:00
Jonas Maebe
27186c9639 * new platform independent mode handling (between -dnewmodes) 2000-06-17 19:09:22 +00:00
Jonas Maebe
7a5240c730 * calling a graph function when initgraph is not yet called now prints
a nice error message instead of giving a Run Time Error
2000-06-07 07:33:42 +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
peter
2d6a92f17e * graph unit include is now independent and the dependent part
is now in graph.pp
  * ggigraph unit for linux added
2000-03-19 11:20:12 +00:00
peter
6dac8462c5 * move graph.inc to the target dir 1999-11-08 11:15:21 +00:00
Jonas Maebe
887c7e173b * fixed pascal version of (direct)putpixelx 1999-11-05 12:18:23 +00:00
florian
707675a501 + first release of win32 gui support 1999-11-03 20:23:01 +00:00
carl
f7e31f50f6 * Bugfix of mode m800x600x64k - wrong vide mode would be used.
+ TP compilable.
1999-10-24 15:51:22 +00:00
carl
a3f4314a19 - Removed some old french comments.
* Bugfix of problems with register access in noasmmoded
  + GetPixVESA16
1999-10-24 03:34:37 +00:00
Jonas Maebe
0fa97f88ea * fixed set/getvgargbpalette for VGA 16 color modes 1999-10-08 14:28:18 +00:00
peter
85c3b9ff3b * new graph unit is default for go32v2
* removed warnings/notes
1999-09-27 23:34:40 +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
c8541db634 + getscanline16 1999-09-24 14:22:38 +00:00
Jonas Maebe
cc0428dcda * fixed another typo :( 1999-09-24 11:31:38 +00:00
Jonas Maebe
5edf8b5488 * -dlogging no longer required to fuction correctly
* some typo's fixed
1999-09-23 14:00:41 +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
34f074549c * graph.pp: removed pieslice and sector from ToDo list
* closegraph: exits now immidiately if isgraphmode = false (caused
    RTE 204 with VESA enabled if you set exitproc to call closegraph
    and also called closegraph explicitely before exit, like bgidemo)
1999-09-18 16:03:36 +00:00
Jonas Maebe
6ea818a303 * small change to internalellipsedef to be TP compatible
* fixed directputpixel for vga 320*200*256
1999-09-15 13:37:50 +00:00
Jonas Maebe
062f4e5991 * several changes to internalellipse to make it faster
and to make sure it updates the ArcCall correctly
    (not yet done for width = 3)
  * Arc mostly works now, only sometimes an endless loop, don't know
    why
1999-09-12 17:28:59 +00:00
Jonas Maebe
cb55fd4de2 * FloodFill: did not take into account current viewport settings
* GetScanLine: only get line inside viewport, data outside of it
    is not used anyway
  * InternalEllipseDefault: fix for when xradius or yradius = 0 and
    increase xradius and yradius always by one (TP does this too)
  * fixed conlict in vesa.inc from last update
  * some conditionals to avoid range check and overflow errors in
    places where it doesn't matter
1999-09-11 19:43:00 +00:00
Jonas Maebe
51cc22f9c6 * fixed hline16 and vline16 for notput (also TP supports copy, and, or, xor and
notput for lines!!)
  * fixed directputpixel16 to support all the different put types
1999-08-01 14:50:51 +00:00
Jonas Maebe
c023f717f1 + xor-, and and- orput support for VESA256 modes
* compile with -dlogging if you wnt some info to be logged to grlog.txt
1999-07-18 15:07:19 +00:00
florian
ddf0f0389b * cosmetic changes 1999-07-14 18:18:02 +00:00
florian
0014fa54a3 * HLine16 and VLine16 implemented 1999-07-14 18:16:23 +00:00
florian
7821e9580a * small VGA detection problem solved 1999-07-14 14:32:12 +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
88c2f7a274 + Hardware pages for VESA modes 1999-06-26 02:33:16 +00:00
carl
a998ce5455 - I have no idea :(... 1999-05-30 23:06:04 +00:00
carl
672beecbc7 + x86 DOS routines (NOT PART OF OFFICIAL FPC RTL! Test only) 1999-05-24 13:47:22 +00:00