Károly Balogh
2591840264
amigaos4: fixed some alignment SNAFU in exec structures. this allows to fix the startup code properly
...
git-svn-id: trunk@35294 -
2017-01-14 01:57:46 +00:00
Károly Balogh
4d22233827
amigaos4: hopefully fixed the new pascal sysinit
...
git-svn-id: trunk@35293 -
2017-01-14 00:50:09 +00:00
Károly Balogh
c4ba3ef09d
amigaos4: fix linker script and signature symbol preservation with current vlink
...
git-svn-id: trunk@35272 -
2017-01-08 20:33:28 +00:00
Károly Balogh
a931403803
amigaos4: de-uglified libinterface and libbase fetching upon startup, and enabled the pascal startup code as default
...
git-svn-id: trunk@35271 -
2017-01-08 16:40:01 +00:00
Károly Balogh
2f38377126
amigaos4: update execd header based on the os4units version
...
git-svn-id: trunk@35270 -
2017-01-08 16:38:45 +00:00
Károly Balogh
7d2360eb0c
m68k: Test68000/Test68881 support boilerplate and special support for Amiga
...
git-svn-id: trunk@35194 -
2016-12-24 21:11:06 +00:00
Károly Balogh
88a91330a3
amiga/powerpc: further tweaks in the upcoming pascal startup code
...
git-svn-id: trunk@35110 -
2016-12-11 16:38:37 +00:00
Károly Balogh
db976a3a3e
amiga: added __amigaos4__ signature symbol to the pascal startup code
...
git-svn-id: trunk@35077 -
2016-12-06 01:26:20 +00:00
Károly Balogh
eb6fe91208
amiga: proof-of-concept untested implementation for OS4/PowerPC Pascal startup code
...
git-svn-id: trunk@35076 -
2016-12-05 21:12:23 +00:00
Károly Balogh
dbd7e74e9c
amiga: yet another attempt to fix powerpc-amiga build
...
git-svn-id: trunk@35071 -
2016-12-04 19:10:53 +00:00
Károly Balogh
8057b42830
amiga: only try to build the pascal startup code on 68k for now
...
git-svn-id: trunk@35070 -
2016-12-04 18:51:48 +00:00
Károly Balogh
b356b18675
amiga: forgot to commit the actual buildrtl.pp in the previous commit
...
git-svn-id: trunk@35069 -
2016-12-04 18:37:47 +00:00
Károly Balogh
788c622307
amiga: pascal startup code for 68k and buildrtl refactor
...
git-svn-id: trunk@35068 -
2016-12-04 18:21:24 +00:00
nickysn
5306ee552b
* regenerated makefiles with latest fpcmake
...
git-svn-id: trunk@34008 -
2016-06-18 01:00:45 +00:00
nickysn
a58dd988a4
* regenerate makefiles after the fpcmake update
...
git-svn-id: trunk@34002 -
2016-06-17 22:05:59 +00:00
Károly Balogh
23cf551bf3
m68k-amiga: fixed wrong define to test against softfpu (oops...)
...
git-svn-id: trunk@33672 -
2016-05-11 07:09:53 +00:00
Károly Balogh
7fff76d936
m68k-amiga: only compile softfpu code into system unit, when FPU_SOFT is defined
...
git-svn-id: trunk@33670 -
2016-05-10 16:08:17 +00:00
Károly Balogh
6d3b580f2f
* enabled internal ELF resources for AmigaOS4
...
git-svn-id: trunk@33596 -
2016-05-01 12:59:54 +00:00
marcus
77e47d21bb
os4units: added iffparse, keymap, clipboard, graphics, intuition, activated some packages
...
git-svn-id: trunk@33581 -
2016-04-30 13:39:08 +00:00
marcus
e38e051425
Amicommon: Unified parameterhandling for Amiga, AROS, MorphOS
...
git-svn-id: trunk@33528 -
2016-04-17 15:31:18 +00:00
marcus
9cb4091c42
Amiga: Enable character unit
...
git-svn-id: trunk@33505 -
2016-04-14 21:02:25 +00:00
Károly Balogh
c5907d5f71
it's now possible to compile the RTL again for AmigaOS/PowerPC. entirely untested, but it builds at least
...
git-svn-id: trunk@33252 -
2016-03-14 02:14:43 +00:00
florian
70b8789262
o basic extended pascal support:
...
+ automatically loaded helper unit
* Makefiles adapted
* mode switch
* mode switches reorganized
+ TimeStamp support
git-svn-id: trunk@32330 -
2015-11-15 15:13:36 +00:00
nickysn
2e3cb70489
* regenerated makefiles after adding the win16 target
...
git-svn-id: trunk@31525 -
2015-09-05 11:02:54 +00:00
Károly Balogh
cdfe930c31
Amiga-likes: fix the same header issues in Amiga and AROS, which was fixed for MorphOS in r30917
...
git-svn-id: trunk@31151 -
2015-06-23 23:22:22 +00:00
Károly Balogh
d9b5830aa0
amiga: enable external resources instead of internal ones for now
...
git-svn-id: trunk@31006 -
2015-06-07 18:05:19 +00:00
Károly Balogh
5eea4b2846
amicommon: support for init/exit procedures for threads. will be used by Sockets unit for example, because bsdsocket.library needs to be reopened for each thread
...
git-svn-id: trunk@30991 -
2015-06-06 19:51:12 +00:00
Károly Balogh
b24db8a9c4
Amiga/MorphOS: enabled AThreads to build default for MorphOS and Amiga/68k. AROS might follow later.
...
git-svn-id: trunk@30966 -
2015-06-01 00:34:05 +00:00
Károly Balogh
6afcca7cd3
Amiga-likes: preparations for inclusion of AThreads into the RTL buildprocess
...
git-svn-id: trunk@30923 -
2015-05-28 00:47:35 +00:00
Károly Balogh
632c46bcb6
amicommon: have a generic tthread.inc which even works, given there is a reasonably advanced ThreadManager
...
git-svn-id: trunk@30914 -
2015-05-25 21:06:53 +00:00
Károly Balogh
846dd6b57b
m68k: use the Amiga-specific atomic ops on Amiga
...
git-svn-id: trunk@30903 -
2015-05-24 21:44:51 +00:00
Károly Balogh
f52b039311
Amiga/m68k: made m68kamiga.inc to even compile, and maybe look like if it was Pascal code
...
git-svn-id: trunk@30902 -
2015-05-24 21:43:13 +00:00
Károly Balogh
89aadb22c2
Amiga/m68k: software atomic operations implementation for multithreading
...
git-svn-id: trunk@30901 -
2015-05-24 21:31:13 +00:00
Károly Balogh
f5bcb011ea
amicommon: properly arbitrate access to the open file list in a multithreaded environment
...
git-svn-id: trunk@30899 -
2015-05-24 12:15:02 +00:00
Jonas Maebe
89418d23e5
* regenerated Makefiles with Linux/AArch64 support
...
git-svn-id: trunk@30891 -
2015-05-20 20:15:10 +00:00
Károly Balogh
3edad2774a
Amiga: use stdout as stderr, so code which is wired to use stderr doesn't commit suicide
...
git-svn-id: trunk@30788 -
2015-05-03 17:41:20 +00:00
Károly Balogh
68a25e154a
Amiga/MorphOS: enabled resource support, to match AROS in features
...
git-svn-id: trunk@30565 -
2015-04-13 00:49:00 +00:00
Károly Balogh
bbecfeed9e
Amiga: manually semaphore-protect the heap Pool, because classic Amiga has no MEMF_SEM_PROTECTED
...
git-svn-id: trunk@30356 -
2015-03-29 00:18:19 +00:00
Jonas Maebe
3d01d4ceb1
* regenerated with Darwin/AArch64 support
...
git-svn-id: trunk@29950 -
2015-02-23 22:54:53 +00:00
Károly Balogh
82fd859a19
fixed DOS unit path in the Makefiles, which is included from amicommon
...
git-svn-id: trunk@29643 -
2015-02-07 21:42:00 +00:00
florian
97a6c92ea8
* fixes for makes 3.82
...
git-svn-id: trunk@29614 -
2015-02-03 20:05:15 +00:00
svenbarth
2d454dc8fa
Move DynLibs support to System unit using a manager approach like for Threads, WideStrings, etc.. This is needed so that we can support features like "delayed" and loading of dynamic packages.
...
Each port that allows the usage of dynamic libraries should call InitSystemDynLibs during initialization of the System unit.
The DynLibs unit has been adjusted to be a forwarder for the functions that now reside in the System unit (for backwards compatiblity just in case). Additionally the unit will register the DynLibsManager if it doesn't reside in the System unit anyway.
Currently only the Windows targets (Win32, Win64 and WinCE) implement the DynLibsManager inside the System unit. For other systems using the LoadLibrary, etc. functions will lead to a run error/exception.
If a port wants to implement its own DynLibsManager then it needs to define DISABLE_NO_DYNLIBS_MANAGER. TLibHandle, NilHandle and optionally TOrdinalEntry (it's set to SizeUInt otherwise) should be defined in sysdlh.inc which needs to be enabled using the define FPC_SYSTEM_HAS_SYSDLH (because there are targets which have FEATURE_DYNLIBS enabled, but don't support them... e.g. powerpc-wii -.-).
The DynLibsManager contains methods for loading a library based on a RawByteString and based on a UnicodeString. BOTH should be implemented, but internally one can forward to the other.
The loading by ordinal *can* be be implemented. If it is set to Nil then the implementation of GetProcAddress(lib,ordinal) will return Nil.
+ new functions SetDynLibsManager and GetDynLibsManager to set and retrieve the current DynLibsManager
* provide interface of DynLibs unit in unit System
git-svn-id: trunk@29613 -
2015-02-03 20:00:00 +00:00
marco
d407b668d1
* version updated to 3.1.1
...
git-svn-id: trunk@29399 -
2015-01-04 21:09:04 +00:00
sergei
3a5e6485b5
- RTL: removed InitVariantManager, it was an empty procedure since day 1.
...
git-svn-id: trunk@29114 -
2014-11-22 20:35:46 +00:00
Károly Balogh
27befd2375
amiga: reintroduced some of the exec debug functions, which were removed, but actually *DO* exist on classic Amiga and hooked the new SysDebug stuff into the Amiga RTL
...
git-svn-id: trunk@28701 -
2014-09-21 00:15:49 +00:00
Károly Balogh
4f0d42131d
Amiga: Boolean -> LongBool changes in syscalls
...
git-svn-id: trunk@28675 -
2014-09-15 22:52:50 +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
Károly Balogh
ef5f1b7ed2
amicommon: fixed sysdir.inc/do_chdir() to actually work on AROS
...
- fixed all Amiga-like system units to not leak the last directory
lock while changing back to the original dir in System_exit;
(a bug found by Marcus Sackrow, thanks!)
* renamed AOS_origDir to ASYS_origDir
git-svn-id: trunk@28537 -
2014-08-30 00:58:42 +00:00
Károly Balogh
785a1690a2
amicommon: AOS_heapPool renamed to ASYS_heapPool. common stuff should start with ASYS, to avoid confusion on AmigaOS, so more to come
...
git-svn-id: trunk@28533 -
2014-08-28 21:50:05 +00:00
Károly Balogh
feb255ec48
Amiga: improved the startup code, only allocate a new stack area if the area requested compile time is smaller than the one the system provides to us
...
git-svn-id: trunk@28525 -
2014-08-27 09:46:55 +00:00