Commit Graph

47967 Commits

Author SHA1 Message Date
sergei
97eccd73b7 - Win32 RTL: removed assembler startup files, which are unused since version 2.0.x
git-svn-id: trunk@32684 -
2015-12-20 01:41:28 +00:00
sergei
cdd4c8a854 * Use integer components of date/time directly, instead of converting them into floating-point TDateTime and immediately back.
git-svn-id: trunk@32683 -
2015-12-19 14:44:42 +00:00
marcus
07ec703f24 MorphOS: Added SystemTags(), TMemChunk field names changed to match SDK
git-svn-id: trunk@32682 -
2015-12-18 20:33:47 +00:00
marcus
e73de332aa Amiga, AROS: fixed parameter _PDateTime type (broken in r32644)
git-svn-id: trunk@32681 -
2015-12-18 20:27:22 +00:00
sergei
903ddf8403 - Cleaned out some more assembler PIC hacks around ExitCode variable
git-svn-id: trunk@32680 -
2015-12-18 11:49:20 +00:00
nickysn
52402032ae * handle exceptions when opening the exitcode.txt file as well, so that we write
a nicer message to stdout in case the file does not exist (which happens often
  when we kill dosbox, due to a timeout)

git-svn-id: trunk@32679 -
2015-12-18 01:43:24 +00:00
nickysn
6f490cc6b3 * write a message to stdout if dosbox is killed due to a timeout
git-svn-id: trunk@32678 -
2015-12-18 01:40:22 +00:00
nickysn
66bad5a1cf * pushf and popf are 8086 level instructions, not 186+
git-svn-id: trunk@32677 -
2015-12-17 15:23:21 +00:00
Jonas Maebe
7a8079cfb4 * removed DLLsource global variable and replaced its uses with
current_module.islibrary

git-svn-id: trunk@32676 -
2015-12-17 15:23:05 +00:00
Jonas Maebe
f4f785b52e - removed unused global variables usegnubinutils and forceforwardslash
git-svn-id: trunk@32675 -
2015-12-17 15:08:13 +00:00
sergei
84c33631ef * Have the sysinit unit, if any, passed to the linker first (currently it is passed last). This is necessary to get the same linking order on targets with assembler startup and with Pascal startup. In particular, it allows to define global symbols like "data_start" in sysinit unit and expect that they will actually end up before other data in executable.
git-svn-id: trunk@32674 -
2015-12-17 11:57:19 +00:00
sergei
272e3db1db * Fixed test on x86_64 ('nostackframe' modifier ensures that no prologue/epilogue code is added on fixed-stack targets).
git-svn-id: trunk@32673 -
2015-12-16 16:46:23 +00:00
sergei
31623565cb * Skip test for Win64, since *nix-style PIC is not supported on that system.
git-svn-id: trunk@32672 -
2015-12-16 16:37:41 +00:00
sergei
eb86cd47c6 * tcgx86_64.g_proc_entry: Don't crash if 'list' is initially empty. Went unnoticed this far because ncgutil.gen_proc_entry_code adds some items before calling cg.g_proc_entry.
git-svn-id: trunk@32670 -
2015-12-16 11:13:24 +00:00
yury
2248805082 * pas2jni: Fixed ref counting of method pointers.
git-svn-id: trunk@32669 -
2015-12-15 14:03:25 +00:00
marco
79f4d0ed44 * memleak fix for mantis #29187
git-svn-id: trunk@32668 -
2015-12-15 10:34:26 +00:00
Károly Balogh
bc455adc23 amunits: syscall-ified realtime. this was the last unit in coreunits to be cleaned from the old asm wrappers.
git-svn-id: trunk@32664 -
2015-12-13 23:01:59 +00:00
Károly Balogh
6c4fab174e amunits: syscall-ified amigaguide
git-svn-id: trunk@32663 -
2015-12-13 22:54:46 +00:00
Károly Balogh
43b2fd0efd amunits: removed the old smartlink include from expansion
git-svn-id: trunk@32662 -
2015-12-13 22:54:13 +00:00
Károly Balogh
0cee11acb2 amunits: syscall-ified expansion unit.
git-svn-id: trunk@32661 -
2015-12-13 20:23:36 +00:00
Károly Balogh
e711169e4b amunits: syscall-ified commodities unit. also removed pas2c dependency.
git-svn-id: trunk@32660 -
2015-12-13 20:05:54 +00:00
Károly Balogh
aa424fc81f m68k: use R_SUBNONE instead of R_SUBWHOLE for FPU regs, indentation fixes of some old code and various cleanups
git-svn-id: trunk@32659 -
2015-12-13 19:24:44 +00:00
Károly Balogh
c82328e3fd m68k: implemented tcg68k.check_register_size for future use. use R_SUBNONE for FPU registers, because R_SUBWHOLE will change. use isregoverlap in a_load_reg_reg
git-svn-id: trunk@32658 -
2015-12-13 19:18:39 +00:00
Károly Balogh
001dfecdf5 m68k: use isregoverlap in is_same_reg_move, to determine if we're doing a no-op move
git-svn-id: trunk@32657 -
2015-12-13 18:14:21 +00:00
Károly Balogh
c47c6c0270 m68k: use std_regnum_search instead of prefixing the regname with % and calling gas_regnum_search
git-svn-id: trunk@32656 -
2015-12-13 18:04:30 +00:00
Károly Balogh
9c12615f09 m68k: new isregoverlap function, which returns true if the two registers overlap (same type and subreg). use the new r68kbss.inc for regnumber_count_bsstart. other minor tweaks.
git-svn-id: trunk@32655 -
2015-12-13 17:48:47 +00:00
Károly Balogh
2934424c43 m68k: updated/added some reg includes as generated by the new tool
git-svn-id: trunk@32654 -
2015-12-13 17:32:00 +00:00
Károly Balogh
9133964676 m68k: new 68k register data file format, which eases future subregister support
git-svn-id: trunk@32653 -
2015-12-13 17:29:47 +00:00
florian
a3964d9ee0 + support for RDTSCP, resolves issue #28916
git-svn-id: trunk@32652 -
2015-12-13 13:28:51 +00:00
Károly Balogh
3c0dca44d3 m68k: fixed a copypaste fail in tcg68k.g_restore_registers, which affected FPU register restoring
git-svn-id: trunk@32651 -
2015-12-13 13:15:51 +00:00
florian
3b50d0b64e * patch by Bernd to fix interrupt handling for the ATtiny1634 and ATtiny167 controllers (use jmp instead of rjmp to jump to the handlers), resolves issue #29122
git-svn-id: trunk@32650 -
2015-12-13 10:44:43 +00:00
florian
7b9a257549 * complain no matching SUBARCH value is passed, issue #29177
git-svn-id: trunk@32649 -
2015-12-13 10:41:12 +00:00
Károly Balogh
5cfdd8fbf5 removed a redundant zero extension from location_force_reg, which occured if the source location was a smaller than 32bit subreg, and the destination was 64bit. hregister is always overwritten in the codepath below anyway.
git-svn-id: trunk@32648 -
2015-12-13 02:08:24 +00:00
florian
bd20c5a66b * set a proper sram base for the avrsim controller type
git-svn-id: trunk@32647 -
2015-12-12 22:37:41 +00:00
florian
faec3936d7 * take care of SUBARCH when running tests
git-svn-id: trunk@32646 -
2015-12-12 19:13:36 +00:00
florian
91c59cb512 * fix Fill* code for CPUs with 8 Bit ALU
git-svn-id: trunk@32645 -
2015-12-12 15:49:51 +00:00
marcus
b80d4a9a6c Amiga, AROS, MorphOS: renamed functions/types which also exist in system
git-svn-id: trunk@32644 -
2015-12-11 22:02:17 +00:00
marcus
3c4e3bf9a9 MorphOS, Amiga: Corrected TWindow.WScreen type to PScreen
git-svn-id: trunk@32643 -
2015-12-11 21:35:41 +00:00
marcus
3622b2165c Amiga, MorphOS: Missing varargs version and type unification
git-svn-id: trunk@32642 -
2015-12-11 20:48:28 +00:00
marcus
9346746c67 MorphOS: Added GadTools Library unit
git-svn-id: trunk@32641 -
2015-12-11 19:33:27 +00:00
svenbarth
8bd79f95be Fix a few typos discovered by Blaise
git-svn-id: trunk@32640 -
2015-12-11 16:31:00 +00:00
Jonas Maebe
092a0af0ec * removed special-purpose code for constant chars while parsing typed string
constants: it did not properly handle ansistring code pages, and was just a
    hack to speed things up a bit (mantis #29153)

git-svn-id: trunk@32636 -
2015-12-11 15:33:28 +00:00
Jonas Maebe
e43f767cbf * fixed setting the paraloc shift value for data whose size is not a power
of 2: paraloc^.size was then OS_NO, so their shiftval was set to 0,
    while we also have to put those in the upper bytes of the paraloc

git-svn-id: trunk@32634 -
2015-12-10 22:45:59 +00:00
Jonas Maebe
1320d6bdba * correctly handle negative paraloc shift values for non power-of-2 sized
paralocs (e.g. a 3 byte record) in case the data's size has been
    rounded up to the next power of two as far as the paraloc is concerned
    (because those 3 bytes had to be shifted to be located in the upper 3
     bytes of a 4 byte location)

git-svn-id: trunk@32633 -
2015-12-10 22:45:56 +00:00
Jonas Maebe
a1db947e9e * missing part of r32617: also load the def for constnil symbols
git-svn-id: trunk@32632 -
2015-12-10 22:45:53 +00:00
marco
5dcf5a95c5 * move beginupdate before try 3x , Mantis #29164
git-svn-id: trunk@32630 -
2015-12-10 19:21:16 +00:00
marco
aa33a9509f * added try..finally to beginupdate/endupdate, mantis #29165
git-svn-id: trunk@32629 -
2015-12-10 19:19:25 +00:00
nickysn
1d015b9620 * fixed dosbox_wrapper compilation under windows
git-svn-id: trunk@32628 -
2015-12-10 14:47:31 +00:00
Jonas Maebe
db2a02fb63 * clarified missing unicodestring manager error message
git-svn-id: trunk@32627 -
2015-12-10 11:00:00 +00:00
pierre
d3d78e6367 Regenerate after: Add dosbox/dosbox_wrapper to list of programs if EMULATOR variable contains dosbox_wrapper string pattern
git-svn-id: trunk@32626 -
2015-12-10 01:51:37 +00:00