Commit Graph

55094 Commits

Author SHA1 Message Date
nickysn
28bb659a1c * PutPixel320 converted to pure assembler routine
git-svn-id: trunk@40924 -
2019-01-19 22:07:03 +00:00
nickysn
25c3981236 * use stosb instead of mov to draw the pixel inside the asm version of PutPixel320
git-svn-id: trunk@40923 -
2019-01-19 21:33:26 +00:00
nickysn
9f4e6c48b3 * only read the low byte of the pixel color in the asm version of PutPixel320
git-svn-id: trunk@40922 -
2019-01-19 21:27:16 +00:00
florian
925531b99c * constrained generics are also compatible with formaldefs, resolves #34893
git-svn-id: trunk@40921 -
2019-01-19 21:23:36 +00:00
florian
6c82b2d1da * -tls-dialect is not a as option, removed it, resolves #34901
git-svn-id: trunk@40920 -
2019-01-19 19:37:48 +00:00
nickysn
08a86b6b9f * perform clipping in assembly in the PutPixel320 asm routine
git-svn-id: trunk@40919 -
2019-01-19 18:03:51 +00:00
nickysn
1e0a811aad * implemented the viewport adjustment in asm instead of pascal in the asm
version of the PutPixel320 routine

git-svn-id: trunk@40918 -
2019-01-19 17:24:24 +00:00
nickysn
6648bacec6 * GetPixel320 converted to a pure assembler routine
git-svn-id: trunk@40917 -
2019-01-19 17:02:54 +00:00
nickysn
9745c6434a * do the view port adjustment in asm instead of pascal in the asm version of
GetPixel320

git-svn-id: trunk@40916 -
2019-01-19 16:59:15 +00:00
nickysn
8c1de487c5 + enabled the asm version of GetPixel320
git-svn-id: trunk@40915 -
2019-01-19 16:56:49 +00:00
nickysn
2de69d12bb * huge memory model fix for the asm version of the GetPixel320 routine
git-svn-id: trunk@40914 -
2019-01-19 16:56:13 +00:00
nickysn
7c55d08360 + pure pascal implementation of GetPixel320
git-svn-id: trunk@40913 -
2019-01-19 16:55:34 +00:00
michael
a33b2ab2f3 * Add a $mode fpc statement, as shortstrings are assumed
git-svn-id: trunk@40912 -
2019-01-19 16:47:40 +00:00
nickysn
4a14ee770a + enabled the asm version of PutPixel320
git-svn-id: trunk@40911 -
2019-01-19 16:46:30 +00:00
nickysn
e12968eb8c * huge memory model fix for the asm version of PutPixel320
git-svn-id: trunk@40910 -
2019-01-19 16:38:44 +00:00
nickysn
dca76d84c9 + added pure pascal version of the routine PutPixel320
git-svn-id: trunk@40909 -
2019-01-19 16:36:54 +00:00
michael
e69f4c1e4b * Fix bug ID #19842 using patch from Bart Broersma
git-svn-id: trunk@40908 -
2019-01-19 16:35:30 +00:00
nickysn
7bda42edac - removed unused asm code from SetVisual200
git-svn-id: trunk@40907 -
2019-01-19 16:20:21 +00:00
nickysn
d66edabe43 * the asm version of DirectPutPixel16 convert to pure inline asm routine
git-svn-id: trunk@40906 -
2019-01-19 16:11:03 +00:00
pierre
bbede67175 Also add /usr/lib/CPU-linux-gnu to link directory list for mips and mipsel
git-svn-id: trunk@40905 -
2019-01-19 16:06:04 +00:00
nickysn
1dc3db4ee1 * handle the NotPut write mode in asm instead of pascal in the asm version of
DirectPutPixel16

git-svn-id: trunk@40904 -
2019-01-19 15:59:42 +00:00
nickysn
5b4529db6f + introduced SetWriteModeEx to the Graph unit. Unlike SetWriteMode, it allows
setting the current write mode to any mode, such as NormalPut/CopyPut, XorPut,
  OrPut, AndPut or NotPut. For comparison, SetWriteMode only allows NormalPut/
  CopyPut and XorPut. Fixes Mantis #30773.

git-svn-id: trunk@40903 -
2019-01-19 15:16:49 +00:00
nickysn
e3df1e1da8 * cleaned up, optimized a little, added support for all write modes
(and/or/xor/not) and enabled the asm version of the DirectPutPixel16 routine

git-svn-id: trunk@40902 -
2019-01-19 12:54:47 +00:00
nickysn
8c804fd4d3 - removed the pascal case code before the asm block in the asm version of
DirectPutPixel16

git-svn-id: trunk@40901 -
2019-01-19 11:18:39 +00:00
nickysn
24f0625ee8 * use huge memory model compatible initialization of es=SegA000 in the asm
version of DirectPutPixel16

git-svn-id: trunk@40900 -
2019-01-19 10:58:18 +00:00
pierre
c986e5891a Activate fpc-web package for android OS, except for jvm compiler
git-svn-id: trunk@40899 -
2019-01-19 10:26:51 +00:00
nickysn
cea8f5a4c5 * refactored DirectPutPixel16, so it is strictly split into pascal and asm version; asm version not enabled yet
git-svn-id: trunk@40898 -
2019-01-18 19:57:51 +00:00
nickysn
b789b84bd0 * cleaned up, fixed, optimized a little and enabled the assembler version of GetPixel16
git-svn-id: trunk@40897 -
2019-01-18 15:48:09 +00:00
nickysn
09c76c78c6 * cleaned up, fixed, optimized a little and enabled the assembler version of PutPixel16
git-svn-id: trunk@40896 -
2019-01-18 15:17:43 +00:00
nickysn
ff78058f8c - removed commented out code from PutPixel320 and GetPixel320
git-svn-id: trunk@40895 -
2019-01-18 13:49:05 +00:00
nickysn
61e91a3c6c * fixed result of GetPixel320 when FPC_GRAPH_SUPPORTS_TRUECOLOR is defined
git-svn-id: trunk@40894 -
2019-01-18 13:46:47 +00:00
nickysn
463ea5a16f - get rid of the '{$ifdef fpc}@{$endif}' from the i8086-msdos graph unit
git-svn-id: trunk@40893 -
2019-01-18 13:32:45 +00:00
nickysn
06d8fa7e34 + use the ColorType type in the i8086-msdos graph unit, so that it compiles with
FPC_GRAPH_SUPPORTS_TRUECOLOR (not enabled yet)

git-svn-id: trunk@40892 -
2019-01-18 13:22:18 +00:00
nickysn
0849951fed - removed all the '{$ifndef fpc}far;{$endif fpc}' declarations from the i8086-msdos graph unit
git-svn-id: trunk@40891 -
2019-01-18 12:52:22 +00:00
nickysn
6066eb07b4 * only save BP and DS when calling int 10h; mark the other registers as volatile in the asm blocks
- removed the 'ifdef FPC' around the register saving code around the int 10h calls

git-svn-id: trunk@40890 -
2019-01-18 12:32:00 +00:00
nickysn
ecfbf8f3cb - removed all the 'ifdef fpc'/'ifndef fpc' from the go32v2 graph unit to
make it easier to maintain and because its TP7 compatibility hasn't been
  maintained for a very long time

git-svn-id: trunk@40889 -
2019-01-17 17:07:54 +00:00
nickysn
d7d9588569 + accelerated xor/and/orput hline routines for the 16bpp linear framebuffer modes
git-svn-id: trunk@40888 -
2019-01-17 16:00:02 +00:00
nickysn
2a62508b59 + added a 16bpp linear framebuffer horizontal line drawing routine
git-svn-id: trunk@40887 -
2019-01-17 14:47:39 +00:00
michael
b8ef2c11a1 * Add support to use GNU TLS
git-svn-id: trunk@40886 -
2019-01-17 09:52:40 +00:00
michael
080e2bc2bb * Fix example so it compiles on Windows
git-svn-id: trunk@40885 -
2019-01-17 09:39:38 +00:00
michael
e3526ca0e9 * Implement self-signed certificate, remove dependency on baseunix for time function
git-svn-id: trunk@40884 -
2019-01-17 09:36:40 +00:00
michael
54b9acbe9c * TTime_t is 64-bit int in gnutls, seconds since epoch
git-svn-id: trunk@40883 -
2019-01-17 09:35:48 +00:00
Mattias Gaertner
73ebd10999 pastojs: check name of external class constructor
git-svn-id: trunk@40882 -
2019-01-16 21:31:43 +00:00
Mattias Gaertner
ccdc0ce767 fcl-passrc: parse class helper class var, resolver: check helper ancestor
git-svn-id: trunk@40881 -
2019-01-16 21:30:55 +00:00
nickysn
13793e9354 + added a 32bpp accelerated pattern line drawing routine
git-svn-id: trunk@40880 -
2019-01-16 16:24:07 +00:00
nickysn
ec5bdaee76 + added an accelerated 16bpp pattern line routine
git-svn-id: trunk@40879 -
2019-01-16 16:14:07 +00:00
nickysn
0a6eb52969 + added an accelerated 8bpp pattern line drawing routine
git-svn-id: trunk@40878 -
2019-01-16 16:00:31 +00:00
nickysn
160a2ae906 + added fast 32bpp PutImage routine
git-svn-id: trunk@40877 -
2019-01-16 15:04:38 +00:00
nickysn
f6018a3544 + added fast 32bpp GetImage routine
git-svn-id: trunk@40876 -
2019-01-16 14:54:53 +00:00
nickysn
98d7f7eafc + added fast 32bpp GetScanLine routine
git-svn-id: trunk@40875 -
2019-01-16 14:34:29 +00:00