marcus
ee31b188f6
AMIGA/MorphOS/AROS: corrected pathes in FP-IDE
...
git-svn-id: trunk@28620 -
2014-09-08 16:47:38 +00:00
Károly Balogh
d9e61b2e01
amunits: syscallified pastoc. This unit is deprecated, but since it's still used inside amunits, it's better have it safe
...
git-svn-id: trunk@28619 -
2014-09-08 10:32:54 +00:00
Károly Balogh
f7d5b1beb6
amunits: syscallified nonvolatile and translator
...
git-svn-id: trunk@28618 -
2014-09-08 10:28:46 +00:00
Károly Balogh
d561e8ab57
m68k: generate smarter shifting/rotation code on 68k, for example by utilizing the SWAP instruction
...
git-svn-id: trunk@28617 -
2014-09-07 23:46:46 +00:00
Károly Balogh
f91ae2700c
m68k: added CPUM68K_HAS_ROLROR capability flag
...
git-svn-id: trunk@28616 -
2014-09-07 23:45:51 +00:00
Károly Balogh
8d98f31afc
two cases of use casts instead of anding with when extracting 16bit values
...
git-svn-id: trunk@28615 -
2014-09-07 23:38:33 +00:00
Károly Balogh
05e72f52c6
a slightly better generic implementation for SwapEndian() 32 bit and 64 bit ints
...
git-svn-id: trunk@28614 -
2014-09-07 23:19:57 +00:00
Károly Balogh
83cf14d5dd
removed unnecessary masking in Swap() calls
...
git-svn-id: trunk@28613 -
2014-09-07 23:17:52 +00:00
nickysn
af1c5096d6
* tiny heap made TP7 compatible; the FreeList and HeapPtr variables made public
...
git-svn-id: trunk@28612 -
2014-09-07 19:41:53 +00:00
Károly Balogh
5a10472729
AROS: massively enhanced i386 startup code, including
...
- fixed to always update the stacksize in __stklen, so the RTL knows the correct stacksize (StackLength in system unit is correct)
- this probably also fixes stack checking or opens the way to have a working stack checking on AROS, but that was not tested
+ call PASCALMAIN via exec/NewStackSwap() and provide a larger stack when the pre-set value is higher than what the system provides
+ use operatingsystem_result to simplify return code handling
These changes bring the AROS startup's stack handling to the Amiga/m68k and MorphOS level
git-svn-id: trunk@28611 -
2014-09-07 14:05:42 +00:00
Károly Balogh
2722421d96
amunits: syscallified lowlevel unit
...
git-svn-id: trunk@28610 -
2014-09-06 23:48:39 +00:00
sergei
5279693919
* softfpu.pp: fixed two more porting bugs, and also added two typecasts to avoid unnecessary 64-bit operations.
...
git-svn-id: trunk@28609 -
2014-09-06 21:01:50 +00:00
nickysn
e4095588d6
* the type of FreeList changed to an untyped pointer (TP7 compatibility)
...
git-svn-id: trunk@28608 -
2014-09-06 18:52:43 +00:00
nickysn
a4d71348dd
* TinyHeapBlocks renamed FreeList for TP7 compatibility reasons (and it'll be
...
moved to the interface part of the system unit as soon as the tiny heap's free
list becomes TP7 compatible)
git-svn-id: trunk@28607 -
2014-09-06 14:56:04 +00:00
Károly Balogh
6c4833ab6b
amunits: removed the old useamigasmartlink includes from syscallified units, it's no longer necessary
...
git-svn-id: trunk@28606 -
2014-09-05 23:31:51 +00:00
Károly Balogh
e178ece821
amunits: syscallified Input
...
git-svn-id: trunk@28605 -
2014-09-05 23:27:53 +00:00
Károly Balogh
5b79b1bab2
amunits: syscallified IFFParse
...
git-svn-id: trunk@28604 -
2014-09-05 23:26:09 +00:00
Károly Balogh
6cd5b41d8f
amunits: syscall-ified console and diskfont
...
git-svn-id: trunk@28603 -
2014-09-05 22:21:45 +00:00
marcus
85700afd0d
AROS: StdErrout introduced, string fixes, preparations for threading
...
git-svn-id: trunk@28602 -
2014-09-05 18:45:00 +00:00
svenbarth
684c8842e7
Fix for Mantis #26599 .
...
pgenutils.pas, check_generic_constraints:
* correctly handle forward defs if the constraint is either a single IInterface/IUnknown or a TObject/class
+ added tests
git-svn-id: trunk@28601 -
2014-09-05 14:42:22 +00:00
marco
f8c7290dbb
* made ipicture,ifont and itagenumvariant aliases for the activex versions. The importtl generated versions did process safecall like constructs properly. Mantis 025907
...
git-svn-id: trunk@28600 -
2014-09-05 13:29:58 +00:00
marco
316a50ff23
* support for clock_gettime(), patch by Graeme.
...
git-svn-id: trunk@28599 -
2014-09-05 13:01:04 +00:00
marco
4102061e8a
* patch from Graeme that exists if a node is not assigned, mantis #26678
...
git-svn-id: trunk@28598 -
2014-09-05 09:48:08 +00:00
Károly Balogh
77088cf723
* bumped PPU version because r28596 breaks compatibility on Amiga/68k and MorphOS
...
git-svn-id: trunk@28597 -
2014-09-05 02:39:35 +00:00
Károly Balogh
05b3a94843
* changed explicit paraloc handling to use ppuload/ppuwrite functions in paraloc instead of directly writing the data. this hopefully fixes some endian issues when using crosscompiled-on-littleendian PPUs with explicit paralocs on bigendian systems (this means Amiga/68k and MorphOS)
...
git-svn-id: trunk@28596 -
2014-09-04 23:09:05 +00:00
marco
dfa6b03b95
* patches from Ocean, mantis #26675
...
* small enum and pointer aliases
* parameters in several interfaces changed to bool (same as MSDN)
git-svn-id: trunk@28595 -
2014-09-04 20:11:14 +00:00
Károly Balogh
c9f91258eb
fpmkunit: disable process unit and threading on Amiga and AROS for now
...
git-svn-id: trunk@28594 -
2014-09-04 10:39:40 +00:00
reiniero
aae9a5b8b9
+ fcl-db: mysql 5.6 connector: add support for MariaDB 10.0. Should fix isseu #26620 . Needs testing.
...
git-svn-id: trunk@28593 -
2014-09-04 10:18:01 +00:00
Károly Balogh
e126b787a3
Amiga: moved the remnants of the old CRT unit from Amiga RTL to rtl-console package and made it to build at least. It's probably still very broken, and needs fixing.
...
git-svn-id: trunk@28592 -
2014-09-03 22:43:22 +00:00
sergei
3ede5ec99b
* MIPS peephole: refactored/simplified and added (another) couple of optimizations.
...
git-svn-id: trunk@28591 -
2014-09-03 20:00:42 +00:00
sergei
ac64c4600f
+ MIPS: make use of instructions MUL,SEB and SEH that are available in modern cores.
...
git-svn-id: trunk@28590 -
2014-09-03 19:59:00 +00:00
marcus
64769b847a
amicommon: GetEnv improved, EnvCount and EnvStr implemented
...
git-svn-id: trunk@28589 -
2014-09-03 19:58:08 +00:00
sergei
4e2fb9d28b
* MIPS: fixed O_MOVE_SOURCE and O_MOVE_DEST constants (they were swapped, amazing that it ever worked with such a mistake).
...
+ Spilling for SEB and SEH
* Another attempt to get spilling of 3-operand form DIV/DIVU be done correctly.
git-svn-id: trunk@28588 -
2014-09-03 19:57:46 +00:00
sergei
406a678223
* MIPS: MOVE instruction cannot be changed into conditional move (MOVZ/MOVN) if it overwrites register used as condition.
...
git-svn-id: trunk@28587 -
2014-09-03 11:59:16 +00:00
marcus
e86504af04
amunits: syscall-ified AGraphics, AmigaDos, Utility.library units
...
git-svn-id: trunk@28586 -
2014-09-03 10:11:21 +00:00
Károly Balogh
842a5ecc4d
amunits: syscall-ified ASL
...
git-svn-id: trunk@28585 -
2014-09-02 23:56:19 +00:00
marcus
bb4659ceb6
Amiga: syscall-fied exec and intuition.library units
...
git-svn-id: trunk@28584 -
2014-09-02 20:25:21 +00:00
florian
3f71b059e5
* improve ldr*/str* handling for arm thumb
...
git-svn-id: trunk@28583 -
2014-09-02 19:37:45 +00:00
Károly Balogh
9991ee4165
m68k: support loading of refs to data registers, also when explicit paraloc is set and it's a register, use that directly, this fixes several syscall-related corner cases on Amiga
...
git-svn-id: trunk@28582 -
2014-09-02 17:38:34 +00:00
sergei
02f39c667a
* MIPS: added a couple of important capabilities and made them available for big-endian targets as well.
...
git-svn-id: trunk@28581 -
2014-09-02 12:51:48 +00:00
nickysn
9b41b10350
* implementation of tiny heap's GetMem changed, so that it doesn't use FreeMem
...
internally.
git-svn-id: trunk@28580 -
2014-09-01 23:37:00 +00:00
sergei
768e090006
- MIPS: don't create reg.allocator for MM registers.
...
git-svn-id: trunk@28579 -
2014-09-01 21:55:03 +00:00
Károly Balogh
94a84d3286
amunits: some random functions syscall-ified. Mostly things used by rtl-console and FV.
...
git-svn-id: trunk@28578 -
2014-09-01 20:29:52 +00:00
Károly Balogh
05b249f204
Amiga: do not use tagsarray in rtl-console/video
...
git-svn-id: trunk@28577 -
2014-09-01 20:11:01 +00:00
joost
030885727e
* Do not use sym.realname but sym.name in the mangledname for the Dwarf-3 debuginfo. This makes it possible to mix Dwarf-2 and Dwarf-3 debug info into one executable.
...
git-svn-id: trunk@28576 -
2014-09-01 16:55:10 +00:00
sergei
98332db7fe
* Improved generic implementations of Bsf/Bsr. Existing ones were just ugly, BsfQword/BsrQWord producing total of 15 inline expansions 5 levels down and bloating into just a little less than a kilobyte of code (on MIPS). Now it is at most 3 expansions and 21 instructions (84 bytes), 16 and 32 bit routines are branchless.
...
git-svn-id: trunk@28575 -
2014-09-01 16:00:33 +00:00
Károly Balogh
5471a399e3
amunits: syscall-ified timer, fixed keymap to build (oops...)
...
git-svn-id: trunk@28574 -
2014-09-01 09:22:53 +00:00
Károly Balogh
e92e2349e7
amunits: syscall-ified keymap unit
...
git-svn-id: trunk@28573 -
2014-09-01 08:33:36 +00:00
svenbarth
244ac12794
Fix for Mantis #26615 .
...
htypechk.pas, tcallcandidates:
* collect_overloads_in_struct: we need to check the deftyp of the extended def for record- or objectdef, not the deftyp of the helper which will always be objectdef anyway.
+ added test
git-svn-id: trunk@28572 -
2014-09-01 07:18:02 +00:00
Jonas Maebe
74e56c2674
* let GetDirIO() return its result in DefaultFileSystemCodePage, as its only
...
used internally and in combination with other strings in that code page
git-svn-id: trunk@28571 -
2014-08-31 21:28:01 +00:00