Commit Graph

290 Commits

Author SHA1 Message Date
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
Kelvin Sherlock
ab6259c030 GetIntlResource stub, move pack6 to its own file. 2015-02-06 20:48:17 -05:00
Kelvin Sherlock
bfc36cb872 process code stubs 2015-02-06 20:45:43 -05:00
Kelvin Sherlock
7168fe8ba3 Bypass resource flipping 2015-02-06 20:24:05 -05:00
Kelvin Sherlock
710da65650 prevent resource byte swapping 2015-02-06 19:58:52 -05:00
Jake-B
cbe642bfc8 Added .sym and .ntkc file types as assumed binary. 2015-01-28 17:00:08 -05:00
Jake-B
f02b930700 Added .sym and .ntkc file types as assumed binary. 2015-01-28 16:57:04 -05:00
Kelvin Sherlock
928010f800 HWPriv OS Trap 2015-01-23 11:01:57 -05:00
Kelvin Sherlock
792e21d0c1 GetNamedResource trap 2015-01-21 14:31:03 -05:00
Kelvin Sherlock
e4ad003bc7 SysEnvirons ($a090) OS Trap 2015-01-20 14:07:38 -05:00
Kelvin Sherlock
7beb3a7b43 undo HGetVolume cwd, for now 2015-01-19 15:02:29 -05:00
Kelvin Sherlock
813e36a6c4 Fix SetPtrSize 2015-01-19 10:56:58 -05:00
Kelvin Sherlock
44d19f7d1b HGetVol returns the current working directory id 2015-01-18 14:28:05 -05:00
Kelvin Sherlock
3615fbe941 unlink/rmdir don't follow symbolic links, so use lstat instead of stat. 2015-01-18 11:21:03 -05:00
Kelvin Sherlock
172da3e250 fix CreateRes, add HCreateRes 2015-01-17 18:36:59 -05:00
Kelvin Sherlock
3448078612 allow all resource types to be loaded 2015-01-16 20:45:31 -05:00
Kelvin Sherlock
24666c209f CreateResFile doesn't error out if the resource fork already exists. 2015-01-16 20:45:13 -05:00
Kelvin Sherlock
654baccabc Add FSpDelete; Delete/HDelete should delete files or folders. 2015-01-16 20:17:50 -05:00
Kelvin Sherlock
92d465fb56 NewPtr(0) should return a non-null pointer. 2015-01-16 15:38:20 -05:00
Kelvin Sherlock
e8d756c1b6 fix FSMakeFSSpec 2015-01-15 19:48:03 -05:00
Kelvin Sherlock
74370db603 no message 2015-01-15 16:37:58 -05:00
Kelvin Sherlock
b146399a7e Fix StripAddress when > 16 megs of ram in use. 2015-01-15 16:35:38 -05:00
Kelvin Sherlock
245fabe648 HSetVol - quietly do nothing... 2015-01-15 16:34:09 -05:00
Kelvin Sherlock
6c8511838e root directory is 2, not 1. 2015-01-15 14:11:55 -05:00
Kelvin Sherlock
cc477e0865 fix whitespace 2015-01-14 17:08:02 -05:00
Kelvin Sherlock
863fafda98 move all the volume code into it's own file 2015-01-14 17:03:03 -05:00