Commit Graph

55384 Commits

Author SHA1 Message Date
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
Mattias Gaertner
792858eab8 pastojs: fixed reading #$00xx as widechar, bug #34923
git-svn-id: trunk@41046 -
2019-01-24 15:54:47 +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
nickysn
55f8c0f99a * use 8086/8088-compatible instructions in the asm version of PutPixelX
git-svn-id: trunk@41033 -
2019-01-24 15:18:30 +00:00
nickysn
bf711c4586 * PutPixelX split into pure pascal and asm version
git-svn-id: trunk@41032 -
2019-01-24 15:13:02 +00:00
nickysn
8e832f31dc * fix register in comment
git-svn-id: trunk@41031 -
2019-01-24 13:52:00 +00:00
nickysn
9c3d65b08f * use lodsb instead of mov in GetPixelX
git-svn-id: trunk@41030 -
2019-01-24 13:45:23 +00:00
nickysn
948328160b * use SI instead of DI in the asm GetPixelX
git-svn-id: trunk@41029 -
2019-01-24 13:43:34 +00:00
nickysn
8da6e23d0d * fixed and enabled the asm version of GetPixelX
git-svn-id: trunk@41028 -
2019-01-24 13:41:10 +00:00
Mattias Gaertner
f0a8b07e3e pastojs: fixed const eval float - currency, bug #34936
git-svn-id: trunk@41026 -
2019-01-24 13:33:35 +00:00
Mattias Gaertner
48537b4e7c pastojs: external fields in records, bug #34922
git-svn-id: trunk@41025 -
2019-01-24 12:20:40 +00:00
Mattias Gaertner
766f4cfcb0 fcl-js: quote quoted object literal names
git-svn-id: trunk@41024 -
2019-01-24 12:19:55 +00:00
Mattias Gaertner
92b3fc7c78 pastojs: fixed compile
git-svn-id: trunk@41023 -
2019-01-23 23:00:29 +00:00
Mattias Gaertner
18f670a822 fcl-passrc: parse and resolve helpers
git-svn-id: trunk@41022 -
2019-01-23 22:58:11 +00:00
florian
cfd0790f89 * avoid assembler errors for the MovOpMov2MovOp optimziation in case the size of the instruction
gets changed and the first one contains a constant, resolves #34933

git-svn-id: trunk@41021 -
2019-01-23 21:02:14 +00:00
nickysn
57ffb6fb07 * FPC_GRAPH_SUPPORTS_TRUECOLOR support in the asm GetPixelX
git-svn-id: trunk@41020 -
2019-01-23 15:24:32 +00:00
nickysn
c86da93af8 * asm version of GetPixelX converted to pure asm
git-svn-id: trunk@41019 -
2019-01-23 15:23:48 +00:00
nickysn
46f3c742f3 * viewport adjustment converted to asm in the asm version of GetPixelX
git-svn-id: trunk@41018 -
2019-01-23 15:22:20 +00:00
nickysn
d5b8e84352 * use only 8086/8088-compatible instructions in the asm GetPixelX
git-svn-id: trunk@41017 -
2019-01-23 15:02:38 +00:00
nickysn
f06cb31746 * huge model fixes in asm GetPixelX
git-svn-id: trunk@41016 -
2019-01-23 15:00:03 +00:00
nickysn
44a193a027 * split GetPixelX into strictly pascal and strictly asm version
git-svn-id: trunk@41015 -
2019-01-23 13:37:06 +00:00
nickysn
b48e901ed8 + also save/restore DS before/after the int 10h call inside SetCGAPalette and SetCGABorder
git-svn-id: trunk@41014 -
2019-01-23 13:31:43 +00:00
nickysn
9da40ee818 * use SegB000 instead of the $B000 constant in InitHGC720. This will make the
code compatible with 16-bit protected mode DOS targets, when they get
  implemented.

git-svn-id: trunk@41013 -
2019-01-23 13:23:29 +00:00
nickysn
ec580d81b7 * factored out the repeating code for setting a BIOS graphics mode into a common procedure InitInt10hMode
git-svn-id: trunk@41012 -
2019-01-23 12:20:54 +00:00
nickysn
39db7fd9d9 * only load the low byte from the page parameter in SetVisual200_350
git-svn-id: trunk@41011 -
2019-01-23 12:10:11 +00:00
nickysn
4569d47417 * SetVisual200 and SetVisual350 combined into one procedure, because they share the same code
git-svn-id: trunk@41010 -
2019-01-23 12:09:08 +00:00
nickysn
be29c1d39e * all procedures and functions that call NotInGraphicsMode marked 'noreturn' to
avoid warnings about function result not being set, etc.

git-svn-id: trunk@41009 -
2019-01-23 12:05:21 +00:00
florian
8d3d5276d7 * open arrays and arrays of consts might be only stack tainting if they are passed by value
git-svn-id: trunk@41008 -
2019-01-22 21:58:05 +00:00
nickysn
b9a0b03e4b * use stosb instead of mov in DirectPutPixel16
git-svn-id: trunk@41007 -
2019-01-22 17:22:06 +00:00
nickysn
4336c4d793 * optimizations in DirectPutPixel16 to avoid the mul instruction
git-svn-id: trunk@41006 -
2019-01-22 17:20:38 +00:00