Commit Graph

40434 Commits

Author SHA1 Message Date
joost
caa3e9b403 * fpmake.pp changes to fix compilation on Windows
git-svn-id: trunk@24616 -
2013-05-25 21:21:26 +00:00
nickysn
f3ad9ce9ce * i8086 fixes in tx86typeconvnode.second_int_to_bool; this fixes tcnvint2.pp
git-svn-id: trunk@24615 -
2013-05-25 21:19:55 +00:00
nickysn
4e2962e6ae - do not initialize the regular heap manager under i8086-msdos, so it can be smartlinked away
git-svn-id: trunk@24614 -
2013-05-25 19:22:31 +00:00
joost
ce78b5f11c * Add .exe extension to tools on Windows
git-svn-id: trunk@24613 -
2013-05-25 19:19:33 +00:00
nickysn
4bc99b1315 * use a PtrInt cast in typinfo.SetObjectProp
git-svn-id: trunk@24612 -
2013-05-25 18:47:44 +00:00
joost
cb707fdf4c * When two files are of the same age, FileNewer should return false
git-svn-id: trunk@24611 -
2013-05-25 18:44:18 +00:00
nickysn
b26cdc776d + enabled compilation of units matrix, ucomplex and getopts for i8086-msdos
git-svn-id: trunk@24610 -
2013-05-25 18:06:39 +00:00
nickysn
5c49116d00 + enabled compilation of units types, dateutil, convutil, strutils and stdconvs for i8086-msdos
git-svn-id: trunk@24609 -
2013-05-25 17:55:20 +00:00
nickysn
bf132b31c6 + enabled compilation of unit variants for i8086-msdos
git-svn-id: trunk@24608 -
2013-05-25 16:40:45 +00:00
nickysn
01ff2221d7 + enabled compilation of varutils for i8086-msdos
git-svn-id: trunk@24607 -
2013-05-25 16:38:08 +00:00
nickysn
b43c4c4aca * i8086 fixes in tx86typeconvnode.second_int_to_real
git-svn-id: trunk@24606 -
2013-05-25 16:37:41 +00:00
joost
7656bf2017 * Allow usage of $(UNITSOUTPUTDIR) and $(BINOUTPUTDIR) macros during clean
git-svn-id: trunk@24605 -
2013-05-25 16:36:48 +00:00
nickysn
3492d29834 + added varutils.pp to the msdos rtl
git-svn-id: trunk@24604 -
2013-05-25 16:00:33 +00:00
nickysn
9813e9b4eb + enabled compilation of units rtlconst and typinfo for i8086-msdos
git-svn-id: trunk@24603 -
2013-05-25 15:51:58 +00:00
nickysn
fe48700483 * another i8086 compilation fix for typinfo
git-svn-id: trunk@24602 -
2013-05-25 15:51:36 +00:00
joost
a68ef39655 * Build grab_vcsa only on Linux (fpmake)
git-svn-id: trunk@24601 -
2013-05-25 15:50:36 +00:00
nickysn
4b220d7261 * fixed 'data element too large' error when compiling typinfo on i8086
git-svn-id: trunk@24600 -
2013-05-25 15:43:26 +00:00
nickysn
fa5dd5eef0 + enabled compilation of unit iso7185 for i8086-msdos
git-svn-id: trunk@24599 -
2013-05-25 15:30:43 +00:00
nickysn
5bc70298de + enabled compilation of unit macpas for i8086-msdos
git-svn-id: trunk@24598 -
2013-05-25 15:29:12 +00:00
nickysn
1eda29951e + enabled compilation of the math unit for i8086-msdos
git-svn-id: trunk@24597 -
2013-05-25 15:25:19 +00:00
nickysn
2b583bb265 * do not use fsin and fcos on 286-, since they're 387+
git-svn-id: trunk@24596 -
2013-05-25 15:24:53 +00:00
nickysn
c49e927077 + added rtl/i8086/mathu*.inc for compiling the math unit
git-svn-id: trunk@24595 -
2013-05-25 15:23:46 +00:00
nickysn
062c0aa5f4 + sysutils for i8086-msdos compiles now\! yippiee\!\!\!
git-svn-id: trunk@24594 -
2013-05-25 14:22:46 +00:00
nickysn
09249b31b8 * use the generic implementation of second_IncludeExclude in case the cpu is earlier than 386, since then it does not support BTR and BTS
git-svn-id: trunk@24593 -
2013-05-25 14:18:55 +00:00
nickysn
06838be452 * fixed bug when passing a 'single' floating point type parameter via tcg8086.a_load_ref_cgpara
git-svn-id: trunk@24592 -
2013-05-25 13:37:24 +00:00
nickysn
1d8d0d42a5 * size of TByteArray and TWordArray reduced by 1 on 16-bit CPUs to avoid 'structure too large' errors when compiling the sysutils unit
git-svn-id: trunk@24591 -
2013-05-25 13:28:13 +00:00
nickysn
4708132ddf + added sysutils.pp to the i8086-msdos rtl
git-svn-id: trunk@24590 -
2013-05-25 13:25:35 +00:00
nickysn
27adafeecb + support moving from a shorter unsigned (sign extension not yet implemented) to a longer type in tcg8086.a_load_reg_ref
git-svn-id: trunk@24589 -
2013-05-25 12:05:02 +00:00
nickysn
c41d93214f * fixed passing a longint to an array of const parameter on i8086 (and other 8/16-bit cpus)
git-svn-id: trunk@24588 -
2013-05-25 10:14:39 +00:00
nickysn
0f7673105b + implemented envcount, envstr and getenv for i8086-msdos
git-svn-id: trunk@24587 -
2013-05-24 20:42:56 +00:00
nickysn
3aeea835f9 + int register in treference.segment support in tcg8086.op_*ref*
git-svn-id: trunk@24586 -
2013-05-24 19:57:02 +00:00
florian
2ec15deaba * more readable register allocation comments
git-svn-id: trunk@24585 -
2013-05-24 19:03:50 +00:00
florian
23c84fd27c * more fixes for segment register usage
git-svn-id: trunk@24584 -
2013-05-24 19:02:09 +00:00
nickysn
5dfdb616be * fixed a regression, introduced in r24571
git-svn-id: trunk@24583 -
2013-05-24 18:25:11 +00:00
nickysn
0013186e2d + fully implemented ParamStr and ParamCount on i8086-msdos
git-svn-id: trunk@24582 -
2013-05-24 18:20:08 +00:00
florian
c1a1325a72 * reduce register pressure by allocating/deallocating registers as late/early as possible
git-svn-id: trunk@24581 -
2013-05-24 18:09:15 +00:00
florian
b734c17c4f * formatting
git-svn-id: trunk@24580 -
2013-05-24 18:08:05 +00:00
florian
b85addb451 + color segment register
git-svn-id: trunk@24579 -
2013-05-24 17:57:28 +00:00
nickysn
035cb74855 * far pointer helper types made global in the implementation of the system unit
git-svn-id: trunk@24578 -
2013-05-24 17:28:53 +00:00
nickysn
a308994423 * i8086 specific code from tcgpointerconstnode.pass_generate_code moved to an i8086 specific overriden method
git-svn-id: trunk@24577 -
2013-05-24 17:16:55 +00:00
nickysn
de26059b61 + added dos version check in GetProgramName
git-svn-id: trunk@24576 -
2013-05-24 15:45:16 +00:00
nickysn
9185ee9423 - rm debug writeln committed by accident
git-svn-id: trunk@24575 -
2013-05-24 15:43:34 +00:00
nickysn
7628c87e44 + obtain the msdos version on startup
git-svn-id: trunk@24574 -
2013-05-24 15:42:43 +00:00
nickysn
52328554e4 + implemented ParamStr(0) on i8086-msdos, using our limited far pointer support
git-svn-id: trunk@24573 -
2013-05-24 15:28:22 +00:00
svenbarth
2c792659ce Fix for Mantis #24071.
pdecl.pas, types_dec:
  * extract the determination of the nested generic def to a new local function "determine_generic_def"
  * use "determine_generic_def" to determine the generic def in case of a forward def and pass this and the generic type list to "object_dec"

+ added test

git-svn-id: trunk@24572 -
2013-05-24 15:27:27 +00:00
nickysn
d300116419 * fixed a bug, which caused ptr(nonconst, const) to be incorrectly inlined as a const
git-svn-id: trunk@24571 -
2013-05-24 15:26:43 +00:00
nickysn
8b1e621665 * segment in int register support added also to tcg8086.a_load_reg_ref and .a_load_ref_reg
git-svn-id: trunk@24570 -
2013-05-24 14:46:40 +00:00
nickysn
9171c19601 * support int register in treference.segment in tcg8086.a_load_const_ref; this fixes farptr^:=const
git-svn-id: trunk@24569 -
2013-05-24 13:36:22 +00:00
nickysn
0baa004571 * i8086 far pointer fix in tcgpointerconstnode.pass_generate_code; this finally fixes ptr(constseg,constofs)
git-svn-id: trunk@24568 -
2013-05-24 13:08:31 +00:00
nickysn
a86cb5c600 + far pointer fixes in the internal compiler handling of ptr(const,const)
git-svn-id: trunk@24567 -
2013-05-24 12:42:43 +00:00