Commit Graph

315 Commits

Author SHA1 Message Date
Kelvin Sherlock
79a8a93e03 update m68k cpu to match current upstream code, which includes a handful of bug fixes (mostly timing related). 2023-10-05 18:47:48 -04:00
Stefan
f619ed31b3
Fixed a few typos (#65) 2023-09-14 13:27:53 -04:00
Kelvin Sherlock
f460696b4f Add _RelString support, fix the case-sensitive flag in _CmpString 2023-09-02 14:50:02 -04:00
Kelvin Sherlock
2dcb161f5e ResolveAliasFile - byte ptrs should only write 1 byte. 2022-11-23 13:28:53 -05:00
Ryan Schmidt
2e7e75a2a9
Return error from FSMakeFSSpec if file not found (#58)
Fixes #56
2022-11-21 21:13:29 -05:00
Ryan Schmidt
bdb1f4b2b9
Fix typos in comments (#57) 2022-11-19 23:52:37 -05:00
Kelvin Sherlock
843ea2764c search for ragel and exit if not found. Also use found path when running ragel or lemon. 2022-11-17 21:07:45 -05:00
Ryan Schmidt
7ac2a88974
Add newline after read() debug output (#44) 2022-11-15 19:01:21 -05:00
Kelvin Sherlock
194c36c89a add GetCurrentProcess / GetProcessInformation (SetVers)
GetProcessInformation is not currently implemented in a meaningful manner.
2022-10-10 21:07:58 -04:00
Kelvin Sherlock
3e2c02f796 .x is a binary extension used for xcoff object files (MrC, etc) 2022-10-10 21:07:13 -04:00
Kelvin Sherlock
f12b3789c4 typo 2021-05-30 22:42:13 -04:00
Kelvin Sherlock
0cca883287 xp support for reading 80-bit extended numbers on platforms without a native 80-bit extended type.
previously this meant win32 and linux arm, now this includes Apple ARM as well.
2020-11-26 09:39:39 -05:00
Kelvin Sherlock
c8310c0dbd fixup clang range warnings. 2020-11-05 18:53:52 -05:00
Kelvin Sherlock
1a9cb0d766 Beef up the IUDateString/UIDateTime functions. Needed for a Date built-in replacement. 2020-07-13 23:43:24 -04:00
Kelvin Sherlock
02629c4eee 0-byte read request should not trigger eof error. 2019-08-17 10:33:12 -04:00
Kelvin Sherlock
b560c66dda fix case-insensitive includes. 2018-01-01 14:15:17 -05:00
Kelvin Sherlock
2eb90481bc remove old sane code (moved to libsane). 2018-01-01 14:13:30 -05:00
Kelvin Sherlock
d11dab46e2 use libsane... 2017-12-13 21:58:43 -05:00
Kelvin Sherlock
119d9aab57 APFS - when opening a resource fork as rdwr, create it as well
--
Under HFS, empty resource fork always exists. on APFS, it must be specifically created.
2017-10-02 16:31:33 -04:00
Kelvin Sherlock
60b49a1ff4 fix ptr bug. 2017-10-02 15:11:43 -04:00
Kelvin Sherlock
e21aac4022 clean up makefiles a bit. 2017-10-02 15:11:28 -04:00
Kelvin Sherlock
60c4977dfa fix build error. 2016-08-01 16:02:51 -04:00
Kelvin Sherlock
58f4ca4ac6 improve PBGetCatInfo 2016-07-31 13:26:41 -04:00
Kelvin Sherlock
3ef7de4b8a PBGatCatInfo -- support for enumerating a directory. 2016-07-29 15:10:20 -04:00
Kelvin Sherlock
67d176856a .equates is a text file 2016-07-29 15:09:11 -04:00
Kelvin Sherlock
f79e74c510 Add support for _DebugStr 2016-02-07 23:16:04 -05:00
Kelvin Sherlock
dd460a21eb fix byte order bug with dispatch table. 2015-03-14 11:05:59 -04:00
Kelvin Sherlock
f52331035a SANE dec2str implementation 2015-03-14 10:33:23 -04:00
Kelvin Sherlock
c17dd4f400 GetTrapAddress (deprecated) support 2015-02-28 12:00:43 -05:00
Kelvin Sherlock
97f7e734bb add gestaltOSAttr support for multifinder/temp memory 2015-02-28 12:00:04 -05:00
Kelvin Sherlock
861ca9b83a SetApplLimit toolcall 2015-02-27 08:55:10 -05:00
Kelvin Sherlock
56fb5d9743 Implement FX2DEC. Not perfect, but good enough I think. 2015-02-25 15:33:59 -05:00
Kelvin Sherlock
2a62ad32d2 fp bug fix 2015-02-23 16:57:25 -05:00
Kelvin Sherlock
559f36c437 code for decomposing float/double/long double, proper FX2DEC NaN support. 2015-02-23 11:41:07 -05:00
Kelvin Sherlock
563dd0f485 clean up sane a little bit 2015-02-22 19:12:35 -05:00
Kelvin Sherlock
1bbcf1cc39 move complex to its own header 2015-02-22 19:11:39 -05:00
Kelvin Sherlock
8d40559a62 remove dead code 2015-02-20 08:52:34 -05:00
Kelvin Sherlock
f17839cc7e fix assert text 2015-02-20 08:45:21 -05:00
Kelvin Sherlock
f2dc249614 SANE - add FTINTX, FCSTR2DEC 2015-02-19 15:32:13 -05:00
Kelvin Sherlock
2766493398 clean up trailing whitespace / end of file linefeed. 2015-02-18 12:00:21 -05:00
tsupplis
88bc42d153 gcc-4.9 support/c11 fixes 2015-02-17 00:23:12 +00:00
Kelvin Sherlock
84ff99c177 Squashed commit of the following:
commit f4807cd071ba5c4ce9ba4aa8c906ba335da07a2d
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Feb 13 16:09:55 2015 -0500

    merge in missing tool calls

commit 6830ab51ce7c48e3d0d1352f04df8df914146b3e
Merge: 1675a47 24c17a9
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Feb 13 16:06:05 2015 -0500

    Merge branch 'feature_trap_address_2015' into merge_dispatcher

    Conflicts:
    	bin/loader.cpp
    	toolbox/rm.cpp
    	toolbox/toolbox.cpp

commit 24c17a9a88
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Feb 13 13:22:07 2015 -0500

    SetOSTrapAddress stub

commit b255937e6c
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sat Jan 24 14:40:45 2015 -0500

    Use the $Commands environment variable as a list of directories where commands may be located.

    Conflicts:
    	bin/loader.cpp

commit a3925747ce
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jan 23 10:26:52 2015 -0500

    HWPriv OS Trap

commit 16d0038fd1
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Jan 23 10:26:40 2015 -0500

    HWPriv OS Trap

commit bf92f80632
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Jan 21 17:34:30 2015 -0500

    RM::GetNamedResource

commit 540490d0c5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Jan 21 14:31:03 2015 -0500

    GetNamedResource trap

commit 09aa8d0f26
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Jan 20 19:32:04 2015 -0500

    Set ApplZone global (ARMCFront)

commit 45fa54abca
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Jan 20 13:58:24 2015 -0500

    update test makefile

commit b1e6635630
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Tue Jan 20 13:35:07 2015 -0500

    SysEnvirons ($a090) OS Trap

commit a5126544b8
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Jan 19 15:02:29 2015 -0500

    undo HGetVolume cwd, for now

commit 912c874825
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Jan 19 10:55:58 2015 -0500

    Fix SetPtrSize

commit c0fe74c1b8
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jan 18 17:31:09 2015 -0500

    support the auto-pop bit for tool calls (MPW Pascal IIgs 1.0b1)

commit 2e9ab5200c
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jan 18 15:20:38 2015 -0500

    update dispatch code...

commit c7c548e5ac
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jan 18 14:48:22 2015 -0500

    add back new tool calls.

commit cbb554174e
Merge: 44d19f7 5e616d3
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Jan 18 14:43:58 2015 -0500

    Merge branch 'feature_trap_address' into feature_trap_address_2015

    Conflicts:
    	toolbox/CMakeLists.txt
    	toolbox/os.cpp
    	toolbox/toolbox.cpp

commit 5e616d353b
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Sun Dec 14 18:01:38 2014 -0500

    new dispatcher.

commit ea5f213921
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Mon Dec 8 11:42:23 2014 -0500

    get ready for trap overrides.

commit 17c5b40ac8
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Dec 5 14:39:17 2014 -0500

    remove dead code

commit fc7df738cc
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Fri Dec 5 14:32:18 2014 -0500

    display trap name for GetToolTrap, etc.
2015-02-13 16:11:55 -05:00
Kelvin Sherlock
1675a479c9 PrimeTime/RmvTime - wrong argument order for memoryWriteWord/Long 2015-02-13 11:38:41 -05:00
Kelvin Sherlock
d48f3c39da SetOSTrap stub (Link patches _MaxBlock to return _MaxBlock - 2 before calling SetResLoad for some reason) 2015-02-11 19:46:33 -05:00
Kelvin Sherlock
9fda034e0e skip the flip for AddResource 2015-02-07 13:16:19 -05:00
Kelvin Sherlock
f0e585aada prevent resource byte swapping 2015-02-07 13:09:20 -05:00
Kelvin Sherlock
279c8c2300 Fix ChangeResource logging 2015-02-07 13:09:15 -05:00
Kelvin Sherlock
3ff0697e46 clean up some other RM code 2015-02-07 12:30:39 -05:00
Kelvin Sherlock
6197910e3e RM::ChangedResource 2015-02-07 12:30:30 -05:00
Kelvin Sherlock
33ba7e076a mm - GetHandleInfo 2015-02-07 12:30:12 -05:00