sergei
|
1bd43f0ea1
* Outgoing parameters on stack do not need to inhibit stack frame optimization on targets with fixed stack, because there they do not modify stack pointer in the middle of routine.
|
12 жил өмнө |
nickysn
|
5c1fb7b009
* Crt.CursorOff fixed after r25483; the correct value of CX is 2000h, not 200h
|
12 жил өмнө |
nickysn
|
e54c87dab1
* changed a method address typecast to CodePointer instead of Pointer in TStringList.QuickSort for compatibility with the i8086 medium and compact memory models
|
12 жил өмнө |
nickysn
|
4d4ad5734b
* Crt.CursorOn and CursorBig: use CX values that are CGA compatible, which makes them CGA/EGA/VGA compatible, because EGA/VGA bioses emulate CGA cursor values; as a side effect this also makes these functions work properly under EGA/VGA's 43- and 50-line text modes
|
12 жил өмнө |
nickysn
|
19d6d202cd
* Crt.CursorOn and CursorBig: use CX values that are CGA compatible, which makes them CGA/EGA/VGA compatible, because EGA/VGA bioses emulate CGA cursor values; as a side effect this also makes these functions work properly under EGA/VGA's 43- and 50-line text modes
|
12 жил өмнө |
nickysn
|
e60c3ee740
* Crt.CursorOff: use CX=bash200, instead of CX= for making the cursor invisible; this is the correct value, according to the BIOS documentation I've found and it is also the value used by the go32v2 video unit
|
12 жил өмнө |
florian
|
02e054a09e
+ fpc -i now writes also the available inline assembler input modes
|
12 жил өмнө |
sergei
|
38c2fb755a
* RTL, fpc_val_real_shortstr(): somewhat simplified, functionality is not changed.
|
12 жил өмнө |
svenbarth
|
08543ddeba
Fix for Mantis #23899 . Allow to overwrite TStringList.ExchangeItems if necessary.
|
12 жил өмнө |
sergei
|
cf20bbc886
* RTL, Pos() with Variant: added 'const' modifiers to avoid unnecessary local copies of managed parameters.
|
12 жил өмнө |
sergei
|
b99cf8d680
* RTL: Changed 'shift' parameter of 64-bit shift helpers to CPU-native size, it doesn't have to be 64-bit because only its lower 6 bits are used. Not using 64 bit parameter improves code quality a bit.
|
12 жил өмнө |
nickysn
|
7e6092c4f2
* ScreenWidth and ScreenHeight changed to word; several other types also changed to 16-bit and added typecasts to avoid 32-bit calculations due to mixing signed and unsigned 16-bit ints
|
12 жил өмнө |
paul
|
60c0de6c09
compiler: formatting
|
12 жил өмнө |
paul
|
73dab82a7f
compiler: refactor preproc_substitutedtoken - pass the searchstr into it
|
12 жил өмнө |
nickysn
|
70937d93c1
* WinMinX, WinMinY, WinMaxX and WinMaxY helper functions replaced with absolute packed records overlaid on top of WindMin and WindMax for faster access
|
12 жил өмнө |
paul
|
e42e9bb677
compiler: support ORD() intrinsic in preprocessor expressions
|
12 жил өмнө |
paul
|
974aeb5573
compiler: support MOD, DIV, SHR, SHL in preprocessor expressions
|
12 жил өмнө |
paul
|
cc37b19bb2
compiler: allow 1 and 0 to be used as Booleans in preprocessor expressions
|
12 жил өмнө |
paul
|
06e7808f64
compiler: return short evaluation of preprocessor expressions with AND or OR. This fixes univint package compilation.
|
12 жил өмнө |
paul
|
038b7746fb
compiler: implement preprocessor expressions (fixes mantis #0010671)
|
12 жил өмнө |
paul
|
6eba4226b6
compiler: move OR and AND preprocessor evaluation to texprvalue.evaluate
|
12 жил өмнө |
paul
|
7ecaaf0ef8
compiler: further improve preprocessor evaluator:
|
12 жил өмнө |
paul
|
cac09f9df1
compiler: better handling of '$','%','&' in macros
|
12 жил өмнө |
paul
|
0eb4244a67
compiler: implement compile-time expression with float numbers (issue #0010670), better handling of integer expressions too
|
12 жил өмнө |
paul
|
eff0403fc1
compiler: reimplement handling of compile time variables - they are stored like tconstsym now instead of string. Expressions are evaluated more accurate now.
|
12 жил өмнө |
svenbarth
|
6f5a648516
Improve the cpu type handling for M68k just in case we should branch 2.8.0 before I can start working on M68k again.
|
12 жил өмнө |
svenbarth
|
2e70575afc
Allow compilation of compiler with 2.6.x RTL for simplyfied development.
|
12 жил өмнө |
nickysn
|
6ef912a7a0
* GetScreenCursor (and all places where it's called) var parameters changed to smallint, which is more optimal on i8086
|
12 жил өмнө |
nickysn
|
771301d7db
* SetScreenCursor parameters changed to smallint, which is more optimal on i8086
|
12 жил өмнө |
nickysn
|
987e759e20
* WinMinX, WinMinY, WinMaxX and WinMaxY helper functions changed to return 0 based result, which results in slightly more optimal code in a lot of places
|
12 жил өмнө |