Commit Graph

49 Commits

Author SHA1 Message Date
Karoly Balogh
c2ceb4bb99 m68k-amiga: fix typo from commit e94d02a0 that broke the build 2024-12-13 01:18:31 +01:00
Sven/Sarah Barth
e94d02a067 * with all existing RTLs switched over to the atomic intrinsics, the define FPC_SYSTEM_INTERLOCKED_USE_INTRIN can be removed again 2024-12-12 22:05:20 +01:00
Sven/Sarah Barth
a815beea2c * switch M68k RTL to provide atomic intrinsic helpers instead of Interlocked* functions 2024-12-12 22:05:16 +01:00
Michael VAN CANNEYT
710d6eb5c5 * Char -> AnsiChar 2023-07-14 17:26:09 +02:00
Karoly Balogh
cbc8aa63c8 rtl/amiga: added minimalistic #?.<ext> and *.<ext> pattern matching to legacy MatchFirst 2021-12-27 15:13:37 +01:00
Karoly Balogh
50572fda8c rtl/amiga: fixed the FileInfoBlock copy to the Anchor chain which broke recently with the alignment fixes 2021-12-27 15:10:02 +01:00
Karoly Balogh
3608be8f13 rtl/amiga: added some basic infrastructure to MatchFirst to improve pattern matching in the future 2021-12-27 13:07:09 +01:00
Karoly Balogh
98dd448ce8 rtl/amiga: make sure FileInfoBlock used by legacy MatchFirst is longword aligned 2021-12-27 12:10:18 +01:00
Karoly Balogh
08f3a3c8ef rtl/amiga: do not UnLock the initial lock returned by CurrentDir in legacy MatchFirst 2021-12-27 12:10:18 +01:00
Karoly Balogh
27e9377a3a rtl/amiga: in legacy MatchFirst, revert back to the original directory if we used CurrentDir(0), otherwise MatchFirst() will change the directory to SYS: (0 lock is a shortcut to the boot volume) 2021-12-27 12:10:18 +01:00
Károly Balogh
cab80d1218 amiga-likes: add headers for timer.device/GetSysTime()
git-svn-id: trunk@45712 -
2020-06-28 22:23:36 +00:00
Károly Balogh
df42716665 m68k-amiga: added four new exec legacy support functions, these exec calls will be used in some DOS and AThreads rework
git-svn-id: trunk@45711 -
2020-06-28 22:05:05 +00:00
Károly Balogh
ef790adc28 m68k-amiga: document which legacy support functions are unimplemented and why, and where are they used in the RTL code
git-svn-id: trunk@44959 -
2020-04-21 13:54:22 +00:00
Károly Balogh
6630f47ab4 m68k-amiga: implemented LockDosList, UnlockDosList, and NextDosEntry helpers for legacy support
git-svn-id: trunk@44907 -
2020-04-21 03:01:17 +00:00
Károly Balogh
09b6bed27c m68k-amiga: implemented CreateNewProc for legacy support, means AThreads now works on OS v1.2+
git-svn-id: trunk@44748 -
2020-04-17 17:12:23 +00:00
Károly Balogh
4f14f0f4e5 m68k-amiga: startup code to print a console message and quit, when the OS is known to be too old for the RTL
git-svn-id: trunk@44736 -
2020-04-16 20:59:08 +00:00
Károly Balogh
c577e290d1 m68k-amiga: enable certain legacy exec support functions only when compiling for OS v2.0
git-svn-id: trunk@44735 -
2020-04-16 20:51:57 +00:00
Károly Balogh
36e4db15bc m68k-amiga: make it possible to disable functions newer than OS 2.0 (v37+)
git-svn-id: trunk@44733 -
2020-04-16 20:42:31 +00:00
marcus
280d5057e8 Amiga: simple SystemTagList() implementation for old Amigas including basic tag list handling (GetEnv works now)
git-svn-id: trunk@44708 -
2020-04-12 18:21:35 +00:00
marcus
dcf08c1d4d Amiga: very basic first implementation of MatchFirst/Next/End for old Amiga Versions
git-svn-id: trunk@44705 -
2020-04-12 17:16:27 +00:00
marcus
acf58acf41 Amiga: Implementation of Amiga2Date and Date2Amiga for older Amiga Versions
git-svn-id: trunk@44704 -
2020-04-12 15:17:00 +00:00
Károly Balogh
8816a0b601 m68k-amiga: startup code now uses legacyexech, instead of explicitly declaring legacy support functions it needs
git-svn-id: trunk@44565 -
2020-04-04 13:22:46 +00:00
Károly Balogh
8d690546f3 m68k-amiga: make all legacy support functions have a public name, and supply headers for them (will be utilized by athreads, dos, and sysutils units)
git-svn-id: trunk@44564 -
2020-04-04 13:21:54 +00:00
Károly Balogh
632353a808 m68k-amiga: prepare the startup code and system unit for legacy support
git-svn-id: trunk@44563 -
2020-04-04 12:53:00 +00:00
Károly Balogh
e0fe8bd175 m68k-amiga: implemented functions required for basic parameter handling in legacydos
git-svn-id: trunk@44561 -
2020-04-04 12:40:55 +00:00
Károly Balogh
f5becf9ac6 m68k-amiga: implemented StackSwap and DeletePool in legacyexec support, also declare public name for a few functions, so the startup code can hook into them
git-svn-id: trunk@44560 -
2020-04-04 12:39:55 +00:00
Károly Balogh
b96109727c m68k-amiga: initial work on some support functions to allow the RTL to be compiled for AmigaOS 1.x
git-svn-id: trunk@44427 -
2020-03-30 03:06:23 +00:00
Károly Balogh
f69c099cfe amiga/morphos: fix freepooled(), it has no return value
git-svn-id: trunk@44426 -
2020-03-30 02:41:32 +00:00
Károly Balogh
1aad73217c m68k-amiga: add some defines, to disable part of OS headersin the RTL when compiling for OS1.x. this is to aid the implementation of future AmigaOS 1.x support
git-svn-id: trunk@44372 -
2020-03-27 04:31:10 +00:00
Károly Balogh
cd76003b4d amiga: remove packed from RTL OS record/structure definitions, use PACKRECORDS 2 instead. this allows much better code to be generated for a plain 68000 RTL
git-svn-id: trunk@44343 -
2020-03-23 00:05:52 +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
788c622307 amiga: pascal startup code for 68k and buildrtl refactor
git-svn-id: trunk@35068 -
2016-12-04 18:21:24 +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
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
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
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
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
Károly Balogh
26d53cfa55 amicommon: Amiga/m68k RTL now uses the common code
git-svn-id: trunk@28509 -
2014-08-21 23:49:21 +00:00
Károly Balogh
df2d474c5b Amiga: cleanup of exec functions, removed MorphOS specific 68k ABI calls which were left in here accidentally
git-svn-id: trunk@28508 -
2014-08-21 22:50:40 +00:00
Károly Balogh
39755ba888 use operatingsystem_result on m68k-amiga to pass returncode to OS
git-svn-id: trunk@23166 -
2012-12-18 01:41:52 +00:00
Károly Balogh
e2ce0e54c2 made Amiga/68k RTL to build with new m68k compiler at least (result probably not functional yet)
git-svn-id: trunk@23159 -
2012-12-16 23:46:27 +00:00
Károly Balogh
821eb1fe18 + changed this one to contain real 68k headers (based on MOS version of the headers)
git-svn-id: trunk@8555 -
2007-09-18 19:42:54 +00:00
Károly Balogh
a1f0fc1e9d + fixed doslibf.inc header, system unit should compile now on m68k at least
git-svn-id: trunk@5398 -
2006-11-15 23:18:11 +00:00
Károly Balogh
f26e0a2d82 + some more 68k stuff (merged from OS4/MorphOS, needs work)
git-svn-id: trunk@5396 -
2006-11-15 22:59:22 +00:00
Károly Balogh
e109bfdf35 + Amiga RTL update based on MorphOS version
git-svn-id: trunk@4395 -
2006-08-08 20:59:37 +00:00
Károly Balogh
acb7b263b0 - Removed __stklen accidentally left in
git-svn-id: trunk@1952 -
2005-12-14 23:51:01 +00:00
Károly Balogh
d5aa345bb3 + Proper startup code for Amiga/m68k (for the first time in history)
git-svn-id: trunk@1951 -
2005-12-14 23:36:33 +00:00