Commit Graph

374 Commits

Author SHA1 Message Date
svenbarth
a2ce2cea94 * fix for Mantis #35760: apply patch by user Bloodbatgot to fix drawing of thick lines
git-svn-id: trunk@42327 -
2019-07-05 12:40:55 +00:00
Jonas Maebe
128bf046b4 * regenerated Makefiles with LLVM bitcode installation support
git-svn-id: branches/debug_eh@41914 -
2019-04-20 18:56:45 +00:00
pierre
74fed2a4cd Regenerate Makefile's after fpcmake change in commit #41721
git-svn-id: trunk@41723 -
2019-03-17 14:45:03 +00:00
nickysn
c5331d425a * split the routines with asm versions into strict pascal and strict asm versions
git-svn-id: trunk@41153 -
2019-01-31 15:19:45 +00:00
nickysn
e348fada6c * optimizations in SetVisualX and SetActiveX by using a table, instead of a case statement
git-svn-id: trunk@41146 -
2019-01-30 15:49:00 +00:00
nickysn
7a15e4b0a2 * optimizations in SetActive200 and SetActive350
git-svn-id: trunk@41143 -
2019-01-30 12:56:17 +00:00
nickysn
4d00ac486a * use eax instead of edi in GetPixel320, to avoid saving/restoring edi
git-svn-id: trunk@41118 -
2019-01-29 13:39:40 +00:00
nickysn
915bc126a5 - ignore VideoOfs completely in the mode 13h routines (this mode has no video page support)
git-svn-id: trunk@41117 -
2019-01-29 13:19:31 +00:00
nickysn
6a1adc31fc * moved the assembler declaration in PutPixel320 and GetPixel320 to be on the same line as the procedure/function declaration
git-svn-id: trunk@41116 -
2019-01-29 13:17:22 +00:00
nickysn
45ea95b72e - don't preserve edx and ecx in GetPixel320, because they don't need to be preserved in GetPixel320
git-svn-id: trunk@41115 -
2019-01-29 13:16:14 +00:00
nickysn
0c01add0ae - removed commented out video page code from GetPixel320
git-svn-id: trunk@41114 -
2019-01-29 13:15:14 +00:00
nickysn
22d599e70d - removed the REGCALL ifdefs from GetPixel320
git-svn-id: trunk@41113 -
2019-01-29 13:14:33 +00:00
nickysn
00d4bdbc7d + comment in GetPixel320 with the parameter locations
git-svn-id: trunk@41112 -
2019-01-29 13:13:56 +00:00
nickysn
e26a7f7753 * use different registers to avoid a mov instruction in PutPixel320
git-svn-id: trunk@41111 -
2019-01-29 13:09:00 +00:00
nickysn
23aec76ae1 - don't save/restore eax and ecx in PutPixel320, because they don't need to be preserved by the register calling convention
git-svn-id: trunk@41110 -
2019-01-29 13:05:12 +00:00
nickysn
1371a5a8ed - removed the commented out video page code from PutPixel320
git-svn-id: trunk@41109 -
2019-01-29 13:01:32 +00:00
nickysn
5a8d57d8f4 - removed the REGCALL ifdefs from PutPixel320
git-svn-id: trunk@41108 -
2019-01-29 13:00:24 +00:00
nickysn
f8817b128a + added comment to PutPixel320 with the parameter locations
git-svn-id: trunk@41107 -
2019-01-29 12:58:52 +00:00
nickysn
8a96bb656f * declare all registers as clobbered by int 10h in the asm block in SetVisual200_350 and leave it to fpc to preserve what is necessary
git-svn-id: trunk@41103 -
2019-01-28 17:32:14 +00:00
nickysn
c3bdb2c2ee * SetVisual200 and SetVisual350 combined into one routine SetVisual200_350, because they share the same code
git-svn-id: trunk@41102 -
2019-01-28 17:28:10 +00:00
nickysn
1cd93cf9a7 - removed the unnecessary code from SetVisual200 (the start address that is being read isn't written anywhere and is not used)
git-svn-id: trunk@41101 -
2019-01-28 17:25:24 +00:00
nickysn
b70aeac0d4 + added comments with the parameter locations in SetCGAPalette and SetCGABorder
- removed 'ifndef REGCALL'

git-svn-id: trunk@41100 -
2019-01-28 17:22:25 +00:00
nickysn
ca6fdb8c74 + added comment to CallInt10 with the parameter location
- removed the 'ifndef REGCALL' section from CallInt10

git-svn-id: trunk@41099 -
2019-01-28 17:18:37 +00:00
nickysn
c6a6cd522f + added comment in the beginning of seg_bytemove, containing the parameter locations
git-svn-id: trunk@41098 -
2019-01-28 17:15:27 +00:00
nickysn
8ae6b58c05 * converted seg_xorword, seg_orword and seg_andword to pure asm routines
git-svn-id: trunk@41097 -
2019-01-28 17:11:34 +00:00
nickysn
c33b4e20b2 - removed 'ifndef tp' directives
git-svn-id: trunk@41073 -
2019-01-25 16:15:31 +00:00
nickysn
c0710df0f8 - removed destroyed register lists from pure asm routines
git-svn-id: trunk@41072 -
2019-01-25 16:14:07 +00:00
nickysn
38ddbc541b + introduce the InitInt10hMode helper routine in the go32v2 graph unit as well
git-svn-id: trunk@41071 -
2019-01-25 15:26:21 +00:00
nickysn
b71f815a9a + enabled the asm version of DirectPutPixelX
git-svn-id: trunk@41057 -
2019-01-24 16:27:59 +00:00
nickysn
4a93ae0023 + implemented all the write modes in the asm version of DirectPutPixelX
git-svn-id: trunk@41056 -
2019-01-24 16:27:20 +00:00
nickysn
3e22a0625f * load only the low byte of CurrentColor in DirectPutPixelX
git-svn-id: trunk@41055 -
2019-01-24 16:18:07 +00:00
nickysn
aca3933f6d * fixed register in comment
git-svn-id: trunk@41054 -
2019-01-24 16:14:01 +00:00
nickysn
46ab1ac384 * fixed register in comment
git-svn-id: trunk@41053 -
2019-01-24 16:13:40 +00:00
nickysn
32f85b6bd8 * huge model safe initialization of ES in DirectPutPixelX
git-svn-id: trunk@41052 -
2019-01-24 16:12:58 +00:00
nickysn
126bf988a4 * use only 8086/8088 compatible instructions in DirectPutPixelX
git-svn-id: trunk@41051 -
2019-01-24 16:11:33 +00:00
nickysn
f0a777f617 - removed the regcall ifdefs in DirectPutPixelX
git-svn-id: trunk@41050 -
2019-01-24 16:06:53 +00:00
nickysn
4dfee9efc9 - removed the unnecessary for the pascal calling convention register save/restores in DirectPutPixelX
git-svn-id: trunk@41049 -
2019-01-24 16:06:05 +00:00
nickysn
93fe4d789e * DirectPutPixelX split into pascal and asm version
git-svn-id: trunk@41048 -
2019-01-24 16:04:46 +00:00
nickysn
6ad69d0ab9 * use stosb instead of mov in PutPixelX
git-svn-id: trunk@41045 -
2019-01-24 15:45:52 +00:00
nickysn
5556757f95 * only load the low byte of the color in PutPixelX
git-svn-id: trunk@41044 -
2019-01-24 15:43:43 +00:00
nickysn
e80d1564ed - don't save/restore registers that don't need to be preserved by the pascal calling convention
git-svn-id: trunk@41043 -
2019-01-24 15:39:26 +00:00
nickysn
a22ac81677 * PutPixelX converted to a pure assembler routine
git-svn-id: trunk@41042 -
2019-01-24 15:37:37 +00:00
nickysn
a190d65f92 * huge model safe initialization of ES in PutPixelX
git-svn-id: trunk@41041 -
2019-01-24 15:33:54 +00:00
nickysn
6cc00c887f * moved the ES segment register initialization earlier in PutPixelX
git-svn-id: trunk@41040 -
2019-01-24 15:32:46 +00:00
nickysn
933dd5b0cc + enabled the asm version of PutPixelX
git-svn-id: trunk@41039 -
2019-01-24 15:31:54 +00:00
nickysn
abf98cf2cd * perform the clipping in asm in PutPixelX
git-svn-id: trunk@41038 -
2019-01-24 15:30:15 +00:00
nickysn
a55ee3b687 * moved the loading of X and Y coordinates to the beginning of the asm block in PutPixelX
git-svn-id: trunk@41037 -
2019-01-24 15:27:05 +00:00
nickysn
d04f801ee2 * swapped ax and cx in PutPixelX
git-svn-id: trunk@41036 -
2019-01-24 15:25:34 +00:00
nickysn
5ca7382516 - remove the XorPut support from PutPixelX, since it is not supposed to support different write modes
git-svn-id: trunk@41035 -
2019-01-24 15:23:13 +00:00
nickysn
a0924c9bbb * perform the viewport adjustment in asm instead of pascal in PutPixelX
git-svn-id: trunk@41034 -
2019-01-24 15:21:05 +00:00