Károly Balogh
d7ffb52490
amicommon: define FPC_FEXPAND_DIRSEP_IS_UPDIR for Amiga-like systems. this seems to fix several FExpand weirdness on these systems (like the IDE not working properly on the root directory of a volume due to wrong paths)
...
git-svn-id: trunk@30358 -
2015-03-29 01:51:04 +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
marcus
141878978e
AmiCommon: Missing UnLockDosList, DiskFree Bugfix
...
git-svn-id: trunk@29694 -
2015-02-14 20:06:47 +00:00
Károly Balogh
3cdf2d0e53
AROS: fixed the new do_filesize() code to build on AROS.
...
git-svn-id: trunk@29381 -
2015-01-04 01:55:49 +00:00
Károly Balogh
3d2fca152b
amicommon: a better, faster implementation of do_filesize(). since it no longer seeks, speed should be constant and not depend on the filesize and underlying FS fragmentation, among others
...
git-svn-id: trunk@29379 -
2015-01-04 01:32:37 +00:00
marcus
7c42cb8b0c
Amicommon: Change back WindowPtr in DiskSize/DiskFree
...
git-svn-id: trunk@29299 -
2014-12-14 22:38:05 +00:00
marcus
9c635671ce
amicommon: DiskSize/DiskFree implemented with some helper functions
...
git-svn-id: trunk@29297 -
2014-12-14 21:33:28 +00:00
marcus
96ac520e73
AmiCommon: DiskFree/DiskSize for >2GB
...
AROS: fast BPTR Pointer (ABIv0)
git-svn-id: trunk@29222 -
2014-12-08 21:49:01 +00:00
pierre
7bbb30ccd4
* Reset filerec mode field to fmClosed if the system call to open the file failed
...
git-svn-id: trunk@29132 -
2014-11-23 21:49:29 +00:00
Károly Balogh
2fba1540c4
amicommon: removed the accidental leftovers of experiments for the last syscall fix for MorphOS
...
git-svn-id: trunk@28695 -
2014-09-19 21:17:37 +00:00
Károly Balogh
55d85fffad
amicommon: basic common debug facilities, influenced by Debug/DebugLn of the AROS port
...
git-svn-id: trunk@28694 -
2014-09-19 20:40:43 +00:00
marcus
64769b847a
amicommon: GetEnv improved, EnvCount and EnvStr implemented
...
git-svn-id: trunk@28589 -
2014-09-03 19:58:08 +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
marcus
4ef87579eb
amicommon: GetLocalTime correct millisecond value
...
git-svn-id: trunk@28526 -
2014-08-27 15:36:52 +00:00
Károly Balogh
0a2899573a
amicommon: merged another AROS branch fix, avoid using GetCurrentDirName in do_GetDir since that doesn't work when started from WB
...
git-svn-id: trunk@28517 -
2014-08-24 15:09:29 +00:00
Károly Balogh
cba1962284
amicommon: backported seeking fixes from AROS branch, which actually apply to all Am*ga platforms
...
git-svn-id: trunk@28516 -
2014-08-24 14:56:36 +00:00
Károly Balogh
8169fd6255
amicommon: a better and less hacky way to retrive the path. additionally this variant also works properly on AROS
...
git-svn-id: trunk@28513 -
2014-08-23 14:03:51 +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
65f13ac118
amicommon: a common Amiga RTL implementation based on the current AROS one, and made AROS port to use it
...
git-svn-id: trunk@28507 -
2014-08-21 22:33:07 +00:00