nickysn
|
f06cb31746
* huge model fixes in asm GetPixelX
|
6 anos atrás |
nickysn
|
44a193a027
* split GetPixelX into strictly pascal and strictly asm version
|
6 anos atrás |
nickysn
|
b48e901ed8
+ also save/restore DS before/after the int 10h call inside SetCGAPalette and SetCGABorder
|
6 anos atrás |
nickysn
|
9da40ee818
* use SegB000 instead of the $B000 constant in InitHGC720. This will make the
|
6 anos atrás |
nickysn
|
ec580d81b7
* factored out the repeating code for setting a BIOS graphics mode into a common procedure InitInt10hMode
|
6 anos atrás |
nickysn
|
39db7fd9d9
* only load the low byte from the page parameter in SetVisual200_350
|
6 anos atrás |
nickysn
|
4569d47417
* SetVisual200 and SetVisual350 combined into one procedure, because they share the same code
|
6 anos atrás |
nickysn
|
be29c1d39e
* all procedures and functions that call NotInGraphicsMode marked 'noreturn' to
|
6 anos atrás |
florian
|
8d3d5276d7
* open arrays and arrays of consts might be only stack tainting if they are passed by value
|
6 anos atrás |
nickysn
|
b9a0b03e4b
* use stosb instead of mov in DirectPutPixel16
|
6 anos atrás |
nickysn
|
4336c4d793
* optimizations in DirectPutPixel16 to avoid the mul instruction
|
6 anos atrás |
nickysn
|
a854411e7c
* perform the clipping before initializing ES in PutPixel320, so it runs faster
|
6 anos atrás |
nickysn
|
7c4466025a
* PutPixel16 converted to pure asm routine
|
6 anos atrás |
nickysn
|
1533f1e218
* implement the clipping in assembly instead of pascal in PutPixel16
|
6 anos atrás |
nickysn
|
0199177c21
* perform the viewport adjustment in asm instead of pascal in PutPixel16
|
6 anos atrás |
nickysn
|
d299ed7756
* moved the loading of the X and Y coordinates to registers in the front of the asm block in PutPixel16
|
6 anos atrás |
nickysn
|
16c6090f30
* yet another mov eliminated by using different registers in GetPixel16
|
6 anos atrás |
nickysn
|
820ba7dfb5
* use stosb instead of mov for writing a byte (the value doesn't matter) into EGA/VGA memory in PutPixel16
|
6 anos atrás |
nickysn
|
83766c7462
* optimizations in PutPixel16 that remove the slow 'mul' instruction
|
6 anos atrás |
nickysn
|
36c349696e
* some minor optimizations in PutPixel16 (more efficient register usage, resulting in less mov instructions)
|
6 anos atrás |
nickysn
|
5ba5b871bf
* GetScanLine16 changed so that it reads video memory in 16-bit words, instead
|
6 anos atrás |
marco
|
6cc8ed3256
* don't hangt on corrupt gifs, exit loops at end of streams.
|
6 anos atrás |
nickysn
|
06dbc518e4
* swap AL and AH in the last 'or' instruction in GetPixel16, so the result is
|
6 anos atrás |
nickysn
|
8cf2792c89
* replaced 'mov al,es:[si]' with 'seges lodsb' in GetPixel16
|
6 anos atrás |
nickysn
|
95f2fffaf8
* replaced bl with al in the final bit read in GetPixel16
|
6 anos atrás |
nickysn
|
5abb5b0658
* use xchg ax,cx instead of mov in GetPixel16
|
6 anos atrás |
nickysn
|
fc61a2e62e
* moved the initial GC port output to the beginning of GetPixel16
|
6 anos atrás |
nickysn
|
98bbc0ab14
* swapped di and ax in the beginning of GetPixel16
|
6 anos atrás |
nickysn
|
f1ad989ba1
* moved the ES register initialization in GetPixel16 to the beginning of the function
|
6 anos atrás |
nickysn
|
6753237fe4
* replaced the slow mul instruction in GetPixel16 with faster shifts and adds
|
6 anos atrás |