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