Commit Graph

434 Commits

Author SHA1 Message Date
nickysn
9f5011af30 * synchronize with ptc trunk from sourceforge; adds support for the numpad 5
key in ptccrt and several keys under windows have been changed to produce
  the same key codes as under x11

git-svn-id: trunk@36556 -
2017-06-20 22:48:59 +00:00
nickysn
a217c4c7d0 * merged all changes from ptc trunk from sourceforge; adds support for different
keyboard input modes in ptccrt (TP7 compatible, GO32 CRT compatible and WIN32
  CRT compatible mode)

git-svn-id: trunk@36555 -
2017-06-20 00:23:32 +00:00
nickysn
f2587b6061 * updated ptc and ptcgraph to the latest trunk (future 0.99.15 release) from sourceforge
git-svn-id: trunk@36507 -
2017-06-18 00:16:03 +00:00
pierre
7a172d3d5a Regenerated all Makefile from packages directories
git-svn-id: trunk@36395 -
2017-06-01 14:15:50 +00:00
pierre
17b2671213 Regenerate all Makefile's after changes related to FPCDIR checks
git-svn-id: trunk@35833 -
2017-04-18 14:15:47 +00:00
nickysn
f353416fd4 * fixed a bug in graph.OutText and graph.OutTextXY when the unit has
been compiled with range checking on

git-svn-id: trunk@35481 -
2017-02-25 17:30:15 +00:00
nickysn
5306ee552b * regenerated makefiles with latest fpcmake
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4 * regenerate makefiles after the fpcmake update
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
nickysn
e83f3d2978 * updated all the remaining makefiles that 'fpcmake -r' missed
git-svn-id: trunk@31527 -
2015-09-05 11:21:36 +00:00
joost
46906833f1 * Re-generated makefile's
git-svn-id: trunk@31318 -
2015-08-12 19:47:44 +00:00
joost
ac87da7c42 * Filter the Makefile's unit searchpaths from the fpmake command line.
To void cluttering the .fpm file

git-svn-id: trunk@31317 -
2015-08-12 19:15:14 +00:00
Károly Balogh
77bdd83bfc AROS/x86_64: regenerated Makefiles
git-svn-id: trunk@31177 -
2015-06-29 00:09:06 +00:00
Jonas Maebe
89418d23e5 * regenerated Makefiles with Linux/AArch64 support
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
nickysn
9d8f0493cd * support 4 pages (instead of 3) in the 640x200 EGA mode in the msdos graph unit as well
git-svn-id: trunk@30285 -
2015-03-22 23:05:40 +00:00
nickysn
20033d1af2 * emulate 4 pages (instead of 3) in the 640x200x16 colors mode
git-svn-id: trunk@30284 -
2015-03-22 22:35:47 +00:00
nickysn
317c1b32cf * updated VGA/VGALo to 4 pages as well, as it is the same mode as EGA/EGALo
git-svn-id: trunk@30283 -
2015-03-22 22:34:34 +00:00
nickysn
c2628e9917 * support 4 pages instead of 3 in the 640x200 EGA mode
git-svn-id: trunk@30282 -
2015-03-22 22:15:40 +00:00
nickysn
3d8c941c6c * updated go32v2 graph unit video card detection code with the latest code from the msdos graph unit (which supports detection of EGAMono, MCGA and combinations of two video cards)
git-svn-id: trunk@30281 -
2015-03-22 21:35:28 +00:00
nickysn
50fd91b3e1 * micro optimization in the putpixel routines of the msdos graph unit: perform
clipping before switching to global coordinates, as the comparisons are
  then simpler

git-svn-id: trunk@30263 -
2015-03-20 10:50:01 +00:00
nickysn
a5a61243b8 * updated video card detection code in the msdos graph unit to support EGA mono,
MCGA and added support for detection of combinations of video cards (i.e. dual
  head configurations with a color and a monochrome video card)

git-svn-id: trunk@30262 -
2015-03-20 00:24:10 +00:00
nickysn
be2937bb17 + VESA banked 32k/64k colour mode fast line drawing for msdos as well
git-svn-id: trunk@30249 -
2015-03-17 02:37:48 +00:00
nickysn
84f5184911 * micro optimization in a commonly repeated VESA horizontal line drawing code pattern
git-svn-id: trunk@30248 -
2015-03-17 00:54:25 +00:00
nickysn
529f1e77db * fixed spelling: allign -> align
git-svn-id: trunk@30247 -
2015-03-17 00:45:08 +00:00
nickysn
69d839e891 + implemented VESA banked 32k/64k colour mode fast line drawing in the go32v2 graph unit
git-svn-id: trunk@30246 -
2015-03-17 00:13:58 +00:00
Jonas Maebe
fa328436ab * regenerated for iphonesim/x86-64
git-svn-id: trunk@29974 -
2015-02-23 22:56:41 +00:00
Jonas Maebe
3d01d4ceb1 * regenerated with Darwin/AArch64 support
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
florian
6c99493181 * use USE_WINDOWS_API_THREAD_FUNCTIONS in the windows graph unit by default, resolves #27508
git-svn-id: trunk@29781 -
2015-02-21 22:43:00 +00:00
joost
1a90d29063 * Re-generated packages-Makefile.fpcs and Makefiles
git-svn-id: trunk@29409 -
2015-01-05 11:34:47 +00:00
marco
d407b668d1 * version updated to 3.1.1
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
joost
0574714317 * Use short 8.3 names for archives on limit83fs-hosts
git-svn-id: trunk@29174 -
2014-11-28 21:35:46 +00:00
Károly Balogh
da7efb8607 AROS: regenerated Makefiles to support i386-aros
git-svn-id: trunk@28438 -
2014-08-17 23:16:47 +00:00
nickysn
ca2d1a4667 * extracted the common mode initialization from QueryAdapterInfo to nested procedures
git-svn-id: trunk@27657 -
2014-04-25 23:18:48 +00:00
nickysn
1fa0e64480 + {$hugecode on} for the graph unit in the large and huge i8086 memory models
git-svn-id: trunk@27616 -
2014-04-20 19:11:09 +00:00
nickysn
c0709eef40 * i8086 far data model fixes in Save/RestoreStateVGA and Save/RestoreStateVESA
git-svn-id: trunk@27469 -
2014-04-04 19:51:15 +00:00
yury
73c26bd6be * mipsel-android: Regenerated makefiles. From now the mipsel-android target can be built and used.
git-svn-id: trunk@26705 -
2014-02-07 12:37:17 +00:00
Tomas Hajny
77967432ef * always use forward slashes in path to fpmake similarly to paths to other tools in Makefiles
git-svn-id: trunk@26641 -
2014-02-01 00:11:09 +00:00
nickysn
2a0a8cfc00 * fixed CGA 320x200 hline bug when CurrentColor=1
git-svn-id: trunk@26242 -
2013-12-16 22:35:32 +00:00
nickysn
6af4353933 + enabled PatternLineVESA256 in the graph unit for i8086-msdos as it now
compiles and works correctly.

git-svn-id: trunk@26092 -
2013-11-15 00:48:44 +00:00
nickysn
aea281f4cc + added the include file dependency to vesa.inc and vesah.inc from unit graph on go32v2 and msdos
git-svn-id: trunk@25781 -
2013-10-14 14:56:45 +00:00
nickysn
13c5c488de + added the include file dependencies for ptcgraph
git-svn-id: trunk@25780 -
2013-10-14 14:53:51 +00:00
nickysn
e18f336f3f + added unit ptcmouse, similar to winmouse and msmouse, for use with ptcgraph and ptccrt
git-svn-id: trunk@25779 -
2013-10-14 14:31:14 +00:00
nickysn
014a4e4653 * updated PTCPas to version 0.99.14
git-svn-id: trunk@25771 -
2013-10-13 22:34:01 +00:00
nickysn
849843fb20 * fixed compilation of unit graph for win32 and win64 after r25730
git-svn-id: trunk@25734 -
2013-10-10 09:06:13 +00:00
nickysn
73e875c7b2 * the graph unit's built in font compressed to use 1 bit per pixel, instead of
1 byte. This saves 14kb of space from the precious 64kb available for data in
  the i8086 medium memory model.

git-svn-id: trunk@25730 -
2013-10-09 21:10:58 +00:00
nickysn
d69a3447cd * the DrawnList structure (used by FloodFill) is now dynamically allocated
before a FloodFill and freed afterwards, so it doesn't waste memory, while
  not in use

git-svn-id: trunk@25729 -
2013-10-09 20:27:04 +00:00
nickysn
6f474e525c * TNewModeInfo/newModeList modified so that it doesn't keep a second copy of the
TModeInfo record for each mode, but instead keep only a pointer to the entry
  in the regular ModeList. This frees a lot of memory on i8086-msdos, when using
  the medium memory model (which has a 64kb data limit).

git-svn-id: trunk@25725 -
2013-10-08 21:11:39 +00:00
nickysn
6d1663fdc5 * the TNewModeInfo record type moved to the implementation part of the graph
unit. It is extremely unlikely that this type was ever used by programs,
  because:
  1) the newModeInfo structure of this type is in the implementation part of
     the unit
  2) none of the graph unit procedures and functions use this type either as a
     parameter or as a function result

git-svn-id: trunk@25724 -
2013-10-08 19:20:54 +00:00
nickysn
7b7334138b + use PatternLineVESA256 also for the 640x400 256-colour VESA mode
git-svn-id: trunk@25722 -
2013-10-08 14:45:56 +00:00
nickysn
4e951d908d * extracted the common code for the VESA 32k and 64k colour TModeInfo initialization
git-svn-id: trunk@25714 -
2013-10-07 15:11:56 +00:00
nickysn
7e3dd92b03 * extracted the common code for the VESA 16-colour TModeInfo initialization
git-svn-id: trunk@25711 -
2013-10-07 13:11:46 +00:00
nickysn
834008818f * extracted the common code for the VESA 256-colour TModeInfo initialization
git-svn-id: trunk@25701 -
2013-10-06 21:09:56 +00:00
nickysn
6d83c37da1 * extracted the common code for the EGA/VGA 16-colour TModeInfo initialization
git-svn-id: trunk@25695 -
2013-10-06 15:20:20 +00:00
nickysn
3014084ee2 * extracted the common code for CGA 640x200 TModeInfo initialization as well
git-svn-id: trunk@25690 -
2013-10-06 14:31:33 +00:00
nickysn
bf01f953e6 * extracted the common code for CGA320x200 TModeInfo initialization to a
separate procedure

git-svn-id: trunk@25689 -
2013-10-06 14:19:40 +00:00
nickysn
6a66d63a36 + enabled all the VESA code for the i8086-msdos graph unit
git-svn-id: trunk@25687 -
2013-10-06 13:39:10 +00:00
nickysn
694b4ea7a5 * installedfonts changed to smallint, because that generates better code on the i8086
git-svn-id: trunk@25686 -
2013-10-06 13:30:57 +00:00
nickysn
256600e5d3 * TVESAModeInfo.WinFunct changed to farpointer
git-svn-id: trunk@25683 -
2013-10-06 12:03:23 +00:00
nickysn
c88b3f8501 + enabled SaveStateVESA and RestoreStateVESA in the i8086-msdos unit graph
git-svn-id: trunk@25682 -
2013-10-06 11:56:49 +00:00
nickysn
996ca5ae00 - rm the first call to int 10, ax=4f04, dl=0 from SaveStateVESA, since this function is
called again immediately after the inline asm block via RealIntr and the exact same
  operations are performed once again in Pascal (probably someone translated the inline
  asm block to pascal, but forgot to remove it).

git-svn-id: trunk@25681 -
2013-10-06 11:36:32 +00:00
nickysn
f1d9869435 + enabled the VESA detection code in the i8086-msdos graph unit
git-svn-id: trunk@25680 -
2013-10-06 11:14:29 +00:00
nickysn
53d50f68c6 * TVESAinfo.str changed to pFarChar
git-svn-id: trunk@25679 -
2013-10-06 11:13:13 +00:00
nickysn
8a9634034a * pModeList changed to a far pointer
git-svn-id: trunk@25678 -
2013-10-06 10:29:54 +00:00
nickysn
98913dc7d5 - rm the hexstr function from the graph unit, as that has already been included
in the system unit

git-svn-id: trunk@25677 -
2013-10-06 09:42:29 +00:00
nickysn
c948485587 + enabled the 320x200 ModeX support in the graph unit for i8086-msdos
git-svn-id: trunk@25676 -
2013-10-06 09:29:33 +00:00
nickysn
dbc851eda3 + enabled the 320x200x256c VGA mode in the graph unit for i8086-msdos
git-svn-id: trunk@25675 -
2013-10-06 09:08:56 +00:00
nickysn
3a09ca7924 * the longints in VLine16 converted to 16-bit
git-svn-id: trunk@25668 -
2013-10-05 22:32:08 +00:00
nickysn
77dc18007d * ScrWidth changed back to absolute, since the compiler has been fixed to support it
git-svn-id: trunk@25667 -
2013-10-05 22:24:44 +00:00
nickysn
9a1018ec57 + enabled the MCGA and 16-colour VGA modes in the graph unit for i8086-msdos
git-svn-id: trunk@25662 -
2013-10-05 21:25:50 +00:00
nickysn
6bf7072a33 + enabled the EGA modes in the graph unit for i8086-msdos
git-svn-id: trunk@25660 -
2013-10-05 21:15:42 +00:00
nickysn
836ec24fb1 + enabled the Hercules code in the i8086-msdos graph unit
git-svn-id: trunk@25658 -
2013-10-05 19:18:11 +00:00
nickysn
54a34391a1 * rewritten the EGA/VGA detection code to use intr, instead of inline asm
git-svn-id: trunk@25657 -
2013-10-05 18:55:25 +00:00
nickysn
05be9829dc * finished the implementation of SaveStateVGA and RestoreStateVGA
git-svn-id: trunk@25656 -
2013-10-05 18:42:29 +00:00
nickysn
55f1b860af * SaveStateVGA and RestoreStateVGA rewritten to use intr
git-svn-id: trunk@25655 -
2013-10-05 18:06:44 +00:00
nickysn
896cdc42e5 * windows detection on startup rewritten to use intr
git-svn-id: trunk@25652 -
2013-10-05 17:48:05 +00:00
nickysn
ce123b6956 + started the i8086-msdos version of the unit graph, based on the go32v2
version. Only the CGA routines are enabled for now and the unit compiles, but
  does not work yet.

git-svn-id: trunk@25534 -
2013-09-21 22:06:55 +00:00
nickysn
aaf1a54778 * graph unit 'ExitSave' variable changed to codepointer for i8086 medium memory model compilation
git-svn-id: trunk@25533 -
2013-09-21 21:44:11 +00:00
nickysn
4d86d44e38 * several i8086 fixes for 'data element too large' errors
git-svn-id: trunk@25532 -
2013-09-21 20:36:18 +00:00
Jonas Maebe
81597bf171 * updated address of FSF (mantis #24646, patch by Alexey Svistunov)
git-svn-id: trunk@24986 -
2013-06-27 14:01:18 +00:00
joost
df4191acb3 * Handle the location of each package at run-time, not at compilation time
* Added a fpmake.pp in the root, to compile the utils and packages in one go

git-svn-id: trunk@24783 -
2013-06-02 17:55:23 +00:00
marco
d04b286de6 * graph unit win32 fixes.
git-svn-id: trunk@24707 -
2013-06-01 12:42:39 +00:00
pierre
884918a4c4 Regenerate all Makefiles with an up-to-date fpcmake binary
git-svn-id: trunk@24365 -
2013-04-29 12:27:42 +00:00
joost
527c407b62 * Re-generated Makefiles for the changes in the Makefile.fpcs in r24349
git-svn-id: trunk@24350 -
2013-04-27 20:48:14 +00:00
joost
20a3809e58 * Now zipinstall is passed to fpmake by all Makefile.fpc's
git-svn-id: trunk@24349 -
2013-04-27 20:34:00 +00:00
yury
23b95a4d70 * Regenerated all makefiles.
git-svn-id: branches/targetandroid@23422 -
2013-01-17 11:36:12 +00:00
michael
6bdcfaa493 * Added dependency on opengl
git-svn-id: trunk@23367 -
2013-01-12 13:30:23 +00:00
nickysn
e616d0b7f0 * updated ptcpas to 0.99.13
git-svn-id: trunk@23005 -
2012-11-17 19:03:53 +00:00
joost
316717a710 * Re-generated all the Makefile.fpcs from the packages. So they are almost all the same now.
git-svn-id: trunk@23001 -
2012-11-17 00:18:50 +00:00
tom_at_work
9428c78d63 Pass OPT to compilation of fpmake.
Solves issues with systems that e.g. require special options for compilation of programs (e.g. libc programs to find libc startup code) or the actual build has been compiled with options that are incompatible with default ones.

Tested changes by building an i386-linux local build and i386-linux->arm-linux cross-builds

git-svn-id: trunk@22397 -
2012-09-15 23:41:44 +00:00
tom_at_work
7c56a9f34d Revert r22080 because it prevents crosscompilation.
git-svn-id: trunk@22101 -
2012-08-16 21:24:47 +00:00
tom_at_work
7b6bcd315f Pass FPCOPT to fpmkunit and fpmake compilation. This prevents build errors of these programs if the given FPCOPT options of the previously compiled RTL are incompatible to default options. Regenerated associated makefiles.
git-svn-id: trunk@22080 -
2012-08-14 19:09:17 +00:00
pierre
a9e6a732c7 Enable graph for go32v2 target
git-svn-id: trunk@21449 -
2012-06-01 08:52:47 +00:00
pierre
1b3fd997fc + Regenerate all Makefiles's after adding x86_64 netbsd target
git-svn-id: trunk@21031 -
2012-04-24 23:15:18 +00:00
Jonas Maebe
44bd889b9b * regenerated Makefiles with AIX support
git-svn-id: trunk@20812 -
2012-04-11 18:03:57 +00:00
pierre
2c4d8cc9d9 Add x86_64-openbsd target in Makefiles
git-svn-id: trunk@20723 -
2012-04-06 16:49:08 +00:00
florian
64a3e3b95f * patch by Cyrax to compile graph on win64 as well, resolves #21093
git-svn-id: trunk@20082 -
2012-01-15 08:52:10 +00:00
joost
b24936e4ba * Graph does not depend on x11 on windows
git-svn-id: trunk@20076 -
2012-01-14 14:20:49 +00:00
joost
f1405b03fa * Converted more packages to fpmake building
git-svn-id: trunk@20068 -
2012-01-13 22:41:43 +00:00
joost
64ce43d041 * Build graph unit only on linux/i386 and go32v2, amiga, win32, win64 and freebsd
* Build wincrt and winmouse also on win64

git-svn-id: trunk@20002 -
2012-01-07 21:58:03 +00:00
florian
9426cac1b0 * rebuilt Makefiles
git-svn-id: trunk@19748 -
2011-12-04 15:34:01 +00:00
nickysn
6a0078e38a * Updated PTCPas to version 0.99.12
git-svn-id: trunk@19633 -
2011-11-12 18:28:40 +00:00
florian
d7f7a9bb76 * patch by Alexander Shishkin to clean up $ifopt usage by $push/$pop, resolves #20346
git-svn-id: trunk@19256 -
2011-09-27 20:22:40 +00:00
florian
4868b09844 * patch by alexvin to replace $ifopt by $push/$pop, resolves #20332
git-svn-id: trunk@19239 -
2011-09-25 21:19:50 +00:00
joost
113417179f * Removed dependencies on units within other packages from fpmake.pp
git-svn-id: trunk@18800 -
2011-08-21 18:39:29 +00:00
pierre
1c2a5f9819 + Update all Makefile's modified by
change in utils/fpcm/fpcmake.ini in prevous commit.

  Adapt also other files to that change:

  * compiler/globals.pas: Replace $FPCTARGET by os_string if
  tf_use_8_3 flag is set for target_info also.

  * tests/Makefile.fpc: Modify TEST_TARGETSUFFIX in the same way
  as TARGETSUFFIX was modified in previous commit.

  * tests/utils/dotest.pp:
    + New variable UseOSOnly, set to true if only target OS name
    should be used for subdirectories.

git-svn-id: trunk@18228 -
2011-08-16 20:10:19 +00:00
joost
e44a68a190 * Several fpmake.pp fixes
git-svn-id: trunk@18080 -
2011-08-03 20:29:57 +00:00
marco
043e9b2ec2 * Trunk version to 2.7.1
git-svn-id: trunk@18075 -
2011-08-03 13:59:33 +00:00
marco
39d7bb511d * Regenned all makefiles before 2.6.x branching.
git-svn-id: trunk@18073 -
2011-08-03 13:41:52 +00:00
pierre
83e0b5207d + Add graph, wincrt and winmouse units for win64 OS target
git-svn-id: trunk@17306 -
2011-04-11 10:20:46 +00:00
pierre
d3d34c61f6 * Use system thread functions and allow win64 compilation
git-svn-id: trunk@17305 -
2011-04-11 10:19:43 +00:00
pierre
9420a8ddf4 * Change Message function return type to be Win64 compatible
git-svn-id: trunk@17304 -
2011-04-11 10:19:04 +00:00
nickysn
e7c4990780 * buffer overflow checking in ptccrt.KeyBufAdd
git-svn-id: trunk@16141 -
2010-10-12 14:17:35 +00:00
nickysn
6310b37bd5 + added ptcgraph implementation of SetBkColor and GetBkColor in 640x480x2 (MCGAHi) mode
git-svn-id: trunk@16115 -
2010-10-09 16:17:41 +00:00
Jonas Maebe
8b0301409a + i386/iphonesim target for the new iPhoneSimulator in Xcode 3.2.4 and
later: the same as i386/darwin, except
      a) uses the non-fragile Objective-C ABI/runtime
      b) does not require stubs for direct calls/jumps (not required for
         i386/darwin under 10.6 and later either, but still generated
         there for backwards compatibility)
      c) only the same packages are enabled as for ARM/Darwin
      d) MacOSAll is compiled specifically for the iPhoneSimulator SDK
    This target also defines the symbol "darwin" apart from the target
    name "iphonesim" for source code compatibility reasons.

git-svn-id: trunk@16065 -
2010-09-29 21:56:47 +00:00
nickysn
15ab85fee5 + enabled build of ptcgraph on win64
git-svn-id: trunk@16034 -
2010-09-20 22:31:30 +00:00
nickysn
9e0e05c098 + enabled build of ptcgraph on win32
git-svn-id: trunk@16030 -
2010-09-20 13:45:19 +00:00
nickysn
341ffdaa79 * enabled build of ptc and ptcgraph on linux; hermes enabled on all platforms
git-svn-id: trunk@16020 -
2010-09-19 22:55:47 +00:00
nickysn
7bbb0817d3 * updated ptcgraph and added ptccrt
git-svn-id: trunk@16019 -
2010-09-19 22:44:57 +00:00
nickysn
f88efa2072 * added SetBkColor and GetBkColor for Hercules
git-svn-id: trunk@16012 -
2010-09-19 15:41:56 +00:00
nickysn
d975466171 * implemented SetBkColor and GetBkColor for mode MCGAHi (640x480x2)
git-svn-id: trunk@16005 -
2010-09-18 22:23:59 +00:00
nickysn
263fc7b6ff * fixed memory leak in DrawTest, when running more than one test
git-svn-id: trunk@16004 -
2010-09-18 13:19:58 +00:00
nickysn
22954b48ad + new graph unit test DrawTest for PutPixel, GetPixel, HLine, VLine and write modes
git-svn-id: trunk@16003 -
2010-09-18 12:53:49 +00:00
nickysn
7a6b26f6e2 * do not hook SetVisualPage and SetActivePage for modes that only have 1 video page
git-svn-id: trunk@15989 -
2010-09-15 10:33:18 +00:00
nickysn
239cf4cea4 * implemented SetBkColor and GetBkColor for CGA
git-svn-id: trunk@15987 -
2010-09-14 23:02:20 +00:00
nickysn
4f754e4a68 * SetBkColor and GetBkColor made hookable
git-svn-id: trunk@15986 -
2010-09-14 22:11:41 +00:00
Jonas Maebe
988ac8d28a * fixed compilation after r15973 (patch by javivf, mantis #17397)
git-svn-id: trunk@15985 -
2010-09-14 17:48:34 +00:00
nickysn
88b80c9b57 * always set both IntCurrentDriver and IntCurrentNewDriver to the correct old & new style driver numbers
git-svn-id: trunk@15973 -
2010-09-12 17:05:44 +00:00
nickysn
df295ca8d6 * GetModeName fixed to work with the 'old' mode numbers also
git-svn-id: trunk@15970 -
2010-09-11 20:42:33 +00:00
nickysn
a89dd9f880 * only enable the save/restore state hack on cards, older than VGA
git-svn-id: trunk@15969 -
2010-09-11 19:28:28 +00:00
nickysn
a56c5afc0e * EGA support added
git-svn-id: trunk@15968 -
2010-09-11 19:17:47 +00:00
nickysn
ed5fa8daf0 * CGA modes are now supported on a real CGA or EGA (tested with dosbox, machine=cga/ega)
git-svn-id: trunk@15967 -
2010-09-11 17:56:36 +00:00
nickysn
fd70748267 * optimized DirectPutPixel16 and DirectPutPixVESA16 to use the EGA/VGA hardware ALU, instead of calling slow GetPixel for XORPut, ANDPut and ORPut write modes
git-svn-id: trunk@15965 -
2010-09-10 21:19:01 +00:00
nickysn
2ee1718e35 * optimized all 16-colour routines to use 16-bit port writes to the EGA/VGA Graphics Controller
git-svn-id: trunk@15964 -
2010-09-10 20:42:12 +00:00
nickysn
948234c558 * aspect ratio adjustment added to Arc and PieSlice
git-svn-id: trunk@15963 -
2010-09-09 23:30:41 +00:00
nickysn
07519e8839 * do not reset aspect ratio in GraphDefaults (TP7 compatibility fix)
git-svn-id: trunk@15962 -
2010-09-09 23:26:07 +00:00
nickysn
c4a30bc7af * Hercules support added (tested with dosbox, machine=hercules)
git-svn-id: trunk@15947 -
2010-09-07 20:56:08 +00:00
nickysn
3ab733fb47 * fixed HLine16 and VLine16 to support multiple video pages
git-svn-id: trunk@15927 -
2010-08-31 23:08:58 +00:00
nickysn
621f28cd1d * Added CGA and MCGA graphics modes
git-svn-id: trunk@15908 -
2010-08-25 22:55:05 +00:00
nickysn
aa1b3a6542 * fixed Rectangle, Bar and Bar3D for the cases when x1>x2 or y1>y2
git-svn-id: trunk@15874 -
2010-08-22 12:54:00 +00:00
nickysn
9a4238dea9 * Mode-X fixed (regcall-related bugfix in the asm of SetVisualX)
git-svn-id: trunk@15872 -
2010-08-22 10:16:17 +00:00
nickysn
a386a642cc * fixed GetPixel320
git-svn-id: trunk@15870 -
2010-08-21 22:07:52 +00:00
nickysn
dabb5be491 * DrawPoly and FillPoly TP7 compatibility fixes
git-svn-id: trunk@15869 -
2010-08-21 21:18:23 +00:00
nickysn
ca6ecd9a80 VESA 1.0 fix - zero fill the real mode ModeInfo struct, not the protected mode struct
git-svn-id: trunk@15791 -
2010-08-13 00:08:49 +00:00
nickysn
0b75bedaf9 VESA 3.0 support
git-svn-id: trunk@15758 -
2010-08-10 00:01:06 +00:00
marco
6e5c32a481 * Patch from Nikolay (GetScanLineVESA256 reads from the write window, instead of the read window) mantis 17132
git-svn-id: trunk@15748 -
2010-08-08 14:54:26 +00:00
marco
7c164001d9 * patch from Nicolay for VLineVESA256 off-by-one error in calculation of BankRest, Mantis 17131
git-svn-id: trunk@15746 -
2010-08-08 14:02:33 +00:00
marco
f8f7201c22 * patch from Nikolay that fixes a copy paste bug in hlinevesa256 (and ->or)
Mantis 17128

git-svn-id: trunk@15739 -
2010-08-08 11:51:38 +00:00
marco
15efa8152b * Patch from Nikolay adding a hline variant for VESA modes. Mantis 17073
git-svn-id: trunk@15675 -
2010-07-31 18:57:10 +00:00
Jonas Maebe
e881e4aa22 * always use the read window to read from video memory (patch by
Nikolay Nikolov, mantis #16926)

git-svn-id: trunk@15597 -
2010-07-18 09:48:56 +00:00
marco
547f082abc * YOffset-pageswitch moved later into directputpix procedure, since an
intermediate read might otherwise fail (yoffset is a global) mantis #16911

git-svn-id: trunk@15556 -
2010-07-12 08:43:22 +00:00
Jonas Maebe
18542d663e * fixed 16 color vesa get/putpixel offsets (patch by Nikolay Nikolov,
mantis #16806)

git-svn-id: trunk@15490 -
2010-06-29 09:22:09 +00:00
Jonas Maebe
469106629c * properly initialise graphresult when setgraphmode is called directly
(patch by Nikolay Nikolov, mantis #16798)

git-svn-id: trunk@15485 -
2010-06-27 12:38:30 +00:00
marco
bfbe9df673 * Patch from mantis 11724 that translates some asm and voodoo code to cleaner pascal
at the expense of some extra vars. (probably solves problems caused
    by oldfpcpascal change)

git-svn-id: trunk@15019 -
2010-03-14 22:28:07 +00:00
pierre
55cffbef12 * Update Makefiles
git-svn-id: trunk@14385 -
2009-12-10 08:36:52 +00:00
Jonas Maebe
847354fe10 * Makefiles version 2.5.1
git-svn-id: trunk@13533 -
2009-08-13 21:21:28 +00:00
Jonas Maebe
e246cac3ac * regenerated using latest fpcmake
git-svn-id: trunk@13487 -
2009-08-02 18:40:14 +00:00
Jonas Maebe
70dea05563 * use MacOSAll instead of FPCMacOSAll
git-svn-id: trunk@13371 -
2009-07-08 18:44:06 +00:00
Jonas Maebe
4987dbbf41 * don't redefine smallint type (fixes mantis #14104)
git-svn-id: trunk@13370 -
2009-07-08 18:39:57 +00:00
florian
a444d4e786 * another patch to PolyFill by borsa77
* some indention and newline mistakes fixed

git-svn-id: trunk@13281 -
2009-06-15 21:04:54 +00:00
florian
bf5666675a * another fix to PolyFill by borsa77
git-svn-id: trunk@13263 -
2009-06-12 14:50:57 +00:00
florian
d338684196 * patch to fix fillpoly, by borsa77
git-svn-id: trunk@13208 -
2009-05-28 22:28:58 +00:00
peter
2916256b2c * change externalurl to homepageurl
git-svn-id: trunk@12170 -
2008-11-18 23:58:52 +00:00
peter
f203a498e1 * fix archiving
git-svn-id: trunk@12168 -
2008-11-18 23:16:57 +00:00
marco
2bbe4590db * Another batch of manifests added to the respective fpmakes. Until httpd22.
git-svn-id: trunk@11975 -
2008-10-26 20:18:05 +00:00
marco
47a997e4da * fpmake: Small fixes + first round of manifests
git-svn-id: trunk@11958 -
2008-10-23 20:15:59 +00:00
marco
1295c499c9 * More fpmake fixes. Exampledirs and includefiles mostly fixed for these.
gdbint moves two examples from src to exampledir + makefile fix.

git-svn-id: trunk@11949 -
2008-10-22 22:08:05 +00:00
marco
e5db5e4aa8 * regened makefiles to propagate makefile versions
git-svn-id: trunk@11947 -
2008-10-22 17:32:15 +00:00
marco
3591d54f24 * updated all makefile.fpc versions to 2.2.2 for fppkg compat.
git-svn-id: trunk@11945 -
2008-10-22 17:19:13 +00:00
peter
7b188a6a0e * reset version to latest release: 2.2.2-0
git-svn-id: trunk@11907 -
2008-10-17 18:36:45 +00:00
marco
2fbee5193d * another fix.
git-svn-id: trunk@11794 -
2008-09-16 20:48:02 +00:00
marco
61dd45f079 * more freebsd/x86_64 fixes
git-svn-id: trunk@11793 -
2008-09-16 20:25:57 +00:00
giulio
048c7224b0 go32v2 graph: fix for seg_bytemove so that it works with oldfpccall and register calling
conventions.

git-svn-id: trunk@11283 -
2008-06-26 13:43:21 +00:00
Jonas Maebe
9d8bee1887 * regenerated with changes in r11233
git-svn-id: trunk@11234 -
2008-06-15 15:52:25 +00:00
giulio
14d4f02fa0 * fixed fpc_zipinstall for go32v2 and the like
* makefiles regenerated

git-svn-id: trunk@11180 -
2008-06-03 14:01:09 +00:00
Tomas Hajny
77581bedd1 * makefiles regenerated with newer fpcmake
git-svn-id: trunk@11107 -
2008-05-28 06:34:32 +00:00
Jonas Maebe
b6c43bad7d * regenerated for i386-Haiku and darwin cross compilation changes
git-svn-id: trunk@11073 -
2008-05-24 09:29:08 +00:00
micha
0b2f80a38b * regenerate Makefiles to get armeb-linux support globally (also arm-darwin, so it seems)
git-svn-id: trunk@10888 -
2008-05-05 18:46:55 +00:00
Jonas Maebe
61f266bf4f + add support for different modes on startup instead of only one
hardcoded one

git-svn-id: trunk@10727 -
2008-04-19 21:58:23 +00:00
Jonas Maebe
18b66ad036 * fixed opcode decoding after r10418 ("shortint and $80" now becomes
a byte instead of remaining a shortint) + fixed (harmless) range error

git-svn-id: trunk@10726 -
2008-04-19 21:54:48 +00:00
Jonas Maebe
dbc7e36007 + added {$linkframework Carbon} to FPCMacOSAll so -k"-framework Carbon" is
not longer needed when using that unit
  - removed the same statement from the Mac OS X graph unit (since it uses
    FPCMacOSAll)

git-svn-id: trunk@10411 -
2008-03-01 17:22:57 +00:00
Jonas Maebe
900f7bd16d * fixed external declaration of FPCMacOSXGraphMain
git-svn-id: trunk@10408 -
2008-03-01 13:26:14 +00:00
Jonas Maebe
0cd1029cdf * rewrote the setup code using {$pascalmainname x} so you can
use this graph unit like any other (instead of having to put all
    code in a separate function and then calling StartGraphProgram
    with the address of this function as parameter)

git-svn-id: trunk@10407 -
2008-03-01 13:07:12 +00:00
marco
4a08ad5a33 * first batch
git-svn-id: trunk@10209 -
2008-02-04 20:43:54 +00:00
peter
3522ff84be * fixed win32 build
git-svn-id: trunk@10071 -
2008-01-27 21:33:51 +00:00
marco
66af0653fb * graph moved
git-svn-id: trunk@10036 -
2008-01-27 11:43:58 +00:00