Commit Graph

314 Commits

Author SHA1 Message Date
Kelvin Sherlock
c509148aec tool return then / map .... 2016-08-05 20:37:21 -04:00
Kelvin Sherlock
059cc09308 load resource updates. 2016-08-05 17:16:51 -04:00
Kelvin Sherlock
72c6cb043d more native functions. 2016-08-05 17:16:39 -04:00
Kelvin Sherlock
a4fb750886 __with_handle tool_return<void> was losing it's error. 2016-08-05 17:15:52 -04:00
Kelvin Sherlock
9972b9e66b solaris 2016-08-02 18:37:28 -04:00
Kelvin Sherlock
54c927895a solaris 2016-08-02 21:02:34 -04:00
Kelvin Sherlock
882f216456 solaris... 2016-08-02 20:35:25 -04:00
Kelvin Sherlock
95c018da0c solaris updates. 2016-08-02 20:33:41 -04:00
Kelvin Sherlock
5daebb35b6 solaris fixes 2016-08-02 20:12:17 -04:00
Kelvin Sherlock
dce8bc8b02 fixes for solaris 2016-08-02 17:12:15 -04:00
Kelvin Sherlock
fd23d9ab21 compiles and runs... 2016-08-02 15:29:04 -04:00
Kelvin Sherlock
9724f587eb new resource manager (in progress) 2016-08-02 13:46:18 -04:00
Kelvin Sherlock
c2d99d3844 NewHandle() [ create empty handle] 2016-08-02 10:53:22 -04:00
Kelvin Sherlock
1b15479a65 cleanup... 2016-08-01 14:40:37 -04:00
Kelvin Sherlock
b69d6ec19c loader -- use resource manager for all resource manager stuff. 2016-08-01 14:11:02 -04:00
Kelvin Sherlock
94f4c1c528 update Native tool calls to use tool_return<> for return values. 2016-08-01 13:56:43 -04:00
Kelvin Sherlock
42024c54f1 use native::is_text_file / is_binary_file 2016-08-01 09:32:27 -04:00
Kelvin Sherlock
305d9fe251 native::open_fork / open_resource_fork 2016-07-31 19:56:01 -04:00
Kelvin Sherlock
a788d145fa use native code for finder info and file date. 2016-07-31 15:35:30 -04:00
Kelvin Sherlock
62224b9c1d more native::get_file_info 2016-07-31 13:36:29 -04:00
Kelvin Sherlock
d27d0aae59 improve PBGetCatInfo 2016-07-31 13:26:22 -04:00
Kelvin Sherlock
1d020b11d7 PBGetCatInfo -- use native::get_file_info. 2016-07-31 13:25:47 -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
Kelvin Sherlock
ab6259c030 GetIntlResource stub, move pack6 to its own file. 2015-02-06 20:48:17 -05:00