Commit Graph

52336 Commits

Author SHA1 Message Date
florian
010a6f5016 + shift by 8 and 16 on 8 and 16 bit cpus by simple register moves
git-svn-id: trunk@37606 -
2017-11-19 18:05:18 +00:00
florian
3352311124 * disable test on avr as it works only with table driven init/final code
git-svn-id: trunk@37605 -
2017-11-19 18:05:16 +00:00
florian
ad01f059e8 * after a LdiMov/Cp2Ldi/Cpi optimization, the compiler should not continue to optimize this instruction because then reg. alloc info is wrong
git-svn-id: trunk@37604 -
2017-11-19 18:05:14 +00:00
Mattias Gaertner
81b15d213d pastojs: updated tests
git-svn-id: trunk@37603 -
2017-11-19 12:50:16 +00:00
Mattias Gaertner
107439bf37 fcl-passrc: resolver: system.builtin, check hidden proc overloads
git-svn-id: trunk@37602 -
2017-11-19 12:50:01 +00:00
nickysn
4fc2fa7899 * alloc/dealloc NR_DEFAULTFLAGS in the a_cmp_* methods in the i8086 code
generator

git-svn-id: trunk@37601 -
2017-11-17 19:28:37 +00:00
nickysn
e49569d049 * extracted the common setup routines for VESA 16, 256, 32k and 64k color modes
git-svn-id: trunk@37600 -
2017-11-17 15:11:15 +00:00
Károly Balogh
4b113579a5 some tabs to spaces indentation cleanup. no functional change
git-svn-id: trunk@37599 -
2017-11-17 11:31:49 +00:00
Károly Balogh
e6aed467b5 renamed script unit to cscript to avoid namespace conflict with univint package on Darwin. this makes it possible to build the textmode IDE on Darwin
git-svn-id: trunk@37598 -
2017-11-17 11:27:19 +00:00
Mattias Gaertner
bfb89bfd0f fcl-passrc: scanner: added modeswitch prefixedattributes, parser: skip attributes
git-svn-id: trunk@37597 -
2017-11-17 09:49:23 +00:00
nickysn
19bf7df3fb * extracted the common 16-color ega/vga mode setup code to a common procedure
FillCommonEGAVGA16

git-svn-id: trunk@37594 -
2017-11-16 17:58:53 +00:00
nickysn
a6db15dfeb * extracted the common cga/mcga 320x200 and 640x200 setup code to separate
procedures in unit ptcgraph

git-svn-id: trunk@37593 -
2017-11-16 15:54:24 +00:00
Mattias Gaertner
9e6330ae2f fcl-passrc: skip attribute behind proc type
git-svn-id: trunk@37592 -
2017-11-16 13:34:04 +00:00
Mattias Gaertner
d045d1888d fcl-js: fixed tests
git-svn-id: trunk@37591 -
2017-11-14 11:42:46 +00:00
florian
7fa9d267e3 * correctly set cpu defines after r37582, even if architecture and cpu type defines are equal (like CPUMIPS32), resolves #32687
git-svn-id: trunk@37590 -
2017-11-13 21:13:53 +00:00
Mattias Gaertner
a808ae29a8 pastojs: for c in string do
git-svn-id: trunk@37589 -
2017-11-13 13:37:05 +00:00
Mattias Gaertner
429f5346fc fcl-passrc: resolver: for in array do
git-svn-id: trunk@37588 -
2017-11-13 13:36:33 +00:00
nickysn
fd83afb808 * factored out repeating code that prints 'Error: Not in graphics mode'... to a common
procedure (based on a patch by James Richters)

git-svn-id: trunk@37587 -
2017-11-13 00:57:00 +00:00
nickysn
f35c28e3c0 + fast GetImage, PutImage and GetScanLine implementations, based on a patch by James Richters
git-svn-id: trunk@37586 -
2017-11-13 00:48:47 +00:00
florian
f22a6629c1 * set types correctly for char -> shortstring conversions, resolves #32686
git-svn-id: trunk@37585 -
2017-11-12 22:14:23 +00:00
florian
b086b10adf * enable more features for avr6
* ifdef'ed uncompilable procedures

git-svn-id: trunk@37584 -
2017-11-12 22:14:21 +00:00
florian
7debc7920a * enable more features if avr6 is defined
git-svn-id: trunk@37583 -
2017-11-12 22:14:19 +00:00
florian
826f208e45 * define CPU and FPU type macros before the second parsing of the parameters so they can be used in config files
git-svn-id: trunk@37582 -
2017-11-12 22:14:18 +00:00
florian
6cd65d9511 * avrsim also provided when SUBARCH is avr6
git-svn-id: trunk@37581 -
2017-11-12 22:14:16 +00:00
Mattias Gaertner
d3a15022d4 pastojs: for-do for char, bool, and constant start/end expression
git-svn-id: trunk@37580 -
2017-11-12 14:16:02 +00:00
Mattias Gaertner
c96f19339f fcl-passrc: resolver: TResExprEvaluator.OrdValue cna return UInt
git-svn-id: trunk@37579 -
2017-11-12 14:15:12 +00:00
Mattias Gaertner
2a57480fff fcl-js: no brackets in var-comma
git-svn-id: trunk@37578 -
2017-11-12 14:14:04 +00:00
svenbarth
eb7059cea8 + add SQL-DB data dictionary engines for MySQL 5.6 and 5.7
git-svn-id: trunk@37577 -
2017-11-11 20:47:02 +00:00
Mattias Gaertner
d4a570fa6d pastojs: rtti for enum range
git-svn-id: trunk@37576 -
2017-11-11 17:47:44 +00:00
Mattias Gaertner
2e01415752 pastojs: custom ranges: char, enum, integer
git-svn-id: trunk@37575 -
2017-11-11 17:04:22 +00:00
Mattias Gaertner
a5f79ad390 fcl-passrc: resolver: custom ranges: char, enum, integer
git-svn-id: trunk@37574 -
2017-11-11 17:03:44 +00:00
florian
674398c5a5 * i8086 compilation fixed after r37572
git-svn-id: trunk@37573 -
2017-11-11 13:25:02 +00:00
florian
73fda1ccb6 * factored out OptPass1Sub
+ make use of OptPass1Sub on x86_64 and i8086 as well

git-svn-id: trunk@37572 -
2017-11-10 20:55:22 +00:00
nickysn
ae92973196 + added support for the retw, retnw, retfw, retd, retnd, retfd, retq, retnq and
retfq x86 instructions. These are variants of the ret instruction with the
  return offset size set explicitly, e.g. retfw is a 16-bit far ret (i.e. pops
  a 16-bit offset and a 16-bit segment), retfd is a 32-bit far ret (pops a
  32-bit offset, followed by a 16-bit segment), etc.

git-svn-id: trunk@37571 -
2017-11-10 16:53:29 +00:00
lacak
1915fd8932 fcl-db: sqldb: TSQLDBLibraryLoader do not check Enabled while loading component properties.
git-svn-id: trunk@37570 -
2017-11-07 21:17:20 +00:00
Mattias Gaertner
efb0730436 fcl-passrc: pasuseanalyzer: inherited; without params
git-svn-id: trunk@37569 -
2017-11-07 16:54:40 +00:00
Mattias Gaertner
4bbbf75d32 fcl-passrc: resolver: unit not used: use position of uses expression
git-svn-id: trunk@37568 -
2017-11-07 16:28:44 +00:00
Károly Balogh
ab1a82bfb3 fix typo in comment. no functional change.
git-svn-id: trunk@37567 -
2017-11-07 15:50:59 +00:00
Mattias Gaertner
0b5bbbcd4b fcl-passrc: parser: emit finish stTypeDef on type alias
git-svn-id: trunk@37566 -
2017-11-07 12:32:29 +00:00
pierre
ba3afefa4c Regenerate register include files after commit 37564: Fix value of NR_DR6 and NR_DR7
git-svn-id: trunk@37565 -
2017-11-07 07:30:42 +00:00
pierre
176cec14c9 Fix value of NR_DR6 and NR_DR7
git-svn-id: trunk@37564 -
2017-11-07 07:29:54 +00:00
nickysn
034b753e10 * commented out PostPeepholeOptMov, because it breaks the pascal port of cwsdpmi
git-svn-id: trunk@37563 -
2017-11-06 23:30:11 +00:00
nickysn
3cbe377f40 + added 2 tests for absolute var access to a 2-dimensional array from within inline asm
git-svn-id: trunk@37562 -
2017-11-06 16:47:07 +00:00
nickysn
20f905db6c + added i8086-only tag to test tasmabs3.pp
git-svn-id: trunk@37561 -
2017-11-06 16:43:13 +00:00
nickysn
4f498c9e3c * always enable portl (32-bit port access) in the i8086 ports unit
git-svn-id: trunk@37560 -
2017-11-06 16:32:36 +00:00
nickysn
0695381709 - removed the objpas dependency of unit ports under go32v2 as well
git-svn-id: trunk@37559 -
2017-11-06 16:19:54 +00:00
nickysn
24d447716e * fixed support for access from inline asm to absolute vars, pointing to an
array element (previously, it would always point to the start of the array)

git-svn-id: trunk@37558 -
2017-11-06 16:06:34 +00:00
florian
a230826357 - remove obsolete comment after r37555
git-svn-id: trunk@37557 -
2017-11-05 22:04:06 +00:00
florian
4331904eb8 * made mode field of file recs word sized on 8 and 16 bit systems
git-svn-id: trunk@37556 -
2017-11-05 19:30:51 +00:00
florian
13df5b51db * objects support also default properties, so the ports unit does not depend on objpas anymore
git-svn-id: trunk@37555 -
2017-11-05 15:10:55 +00:00