Commit Graph

357 Commits

Author SHA1 Message Date
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
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
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