Commit Graph

444 Commits

Author SHA1 Message Date
Kelvin Sherlock
a111120033 add ;error and ;date debugger commands 2014-12-30 14:09:07 -05:00
Kelvin Sherlock
490519b0d1 Temp Handle functions 2014-12-28 18:15:27 -05:00
Kelvin Sherlock
f9508bbfda update changeling for new release. 2014-12-28 12:55:28 -05:00
Kelvin Sherlock
ab783ea4c9 inline macsbug names for JSR address, adjust macsbug name printing. 2014-12-28 12:55:16 -05:00
Kelvin Sherlock
231bd95bdc support for 68k style offset(register) expressions. 2014-12-28 12:30:18 -05:00
Kelvin Sherlock
6d3ba9430e debugger - print jsr/jmp macsbug in disassembly. 2014-12-27 13:11:26 -05:00
Kelvin Sherlock
2c3388f76a SetFileDates (create / mod / backup) 2014-12-26 16:31:58 -05:00
Kelvin Sherlock
b7aa23f163 SetFinderInfo for filetype/creator 2014-12-26 16:31:03 -05:00
Kelvin Sherlock
9d46424968 fix Open/PBOpen (no iodir/fs spec stuff) 2014-12-26 14:36:57 -05:00
Kelvin Sherlock
45269178b4 reserve the inverted error table. 2014-12-25 18:39:01 -05:00
Kelvin Sherlock
22a8d6f588 debugger - ;i will show error code information. 2014-12-24 19:08:54 -05:00
Kelvin Sherlock
8c9e50cd8f Add backtrace support to the debug console.
Squashed commit of the following:

commit b3afbbf15839d5ad9343d4540674510cbd6cd16d
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:44:20 2014 -0500

    improve the debugger help a little bit

commit 82e1e4e3e4d802defbf49c965500ffc72c7be1af
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 17:32:21 2014 -0500

    prevent filename tab completion in the debugger.

commit 8765e5f428562e5ab6f8d59ec0e0460a834c66b5
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 16:06:21 2014 -0500

    skip macsbug names when disassembling via ;list

commit 9b87cfb3851fedc6423629608f53076741116991
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:43:13 2014 -0500

    improved backtracing.

commit f8e364d7c568fe6728c8efd5587f7edeb49f5816
Author: Kelvin Sherlock <ksherlock@gmail.com>
Date:   Wed Dec 24 15:17:28 2014 -0500

    BackTrace support
2014-12-24 17:44:48 -05:00
Kelvin Sherlock
45fae53ef5 fix CloseResFile with refNum 0. 2014-12-24 10:17:23 -05:00
Kelvin Sherlock
8c811c4de9 revert previous open hack for PPCLink 2014-12-23 11:30:07 -05:00
Kelvin Sherlock
e0094d199b FSpCreate 2014-12-23 11:29:32 -05:00
Kelvin Sherlock
f7c779a5d1 ResolveAliasFile needs to set wasAliased if the file is not found. 2014-12-23 10:40:06 -05:00
Kelvin Sherlock
09d17315d3 fix HomeResFile stack return 2014-12-23 08:44:45 -05:00
Kelvin Sherlock
e377025e48 fix ResolveAliasFile stack return value 2014-12-23 08:44:17 -05:00
Kelvin Sherlock
3dd91f18b6 Merge branch 'PPCLink'
Fixes and support for the PPCLink utility.
2014-12-22 19:59:09 -05:00
Kelvin Sherlock
ace2810e34 newhandle/sethandlesize fixes for ppclink 2014-12-22 19:58:41 -05:00
Kelvin Sherlock
48558e9885 GetHandleSize needs to return the 32-bit sign-extended error code. 2014-12-22 17:58:35 -05:00
Kelvin Sherlock
d8f6edd964 fix high-level dispatch to properly return errors. 2014-12-22 15:23:47 -05:00
Kelvin Sherlock
f1566cce45 use new realpath code 2014-12-22 09:53:38 -05:00
Kelvin Sherlock
1e7139ddbf FreeBSD realpath 2014-12-22 08:50:02 -05:00
Kelvin Sherlock
30d6b05adc FspCreateResFile 2014-12-21 22:30:04 -05:00
Kelvin Sherlock
91a0da2e0a PBHOpenDeny can create files? Need to test on real software. 2014-12-21 08:36:44 -05:00
Kelvin Sherlock
b60d23ea60 temporary realpath workaround 2014-12-21 08:36:15 -05:00
Kelvin Sherlock
6787eb1f1a unused prototype 2014-12-21 08:25:57 -05:00
Kelvin Sherlock
204332c4c9 use mpw_errno_from_errno() 2014-12-21 08:25:40 -05:00
Kelvin Sherlock
6929a374d0 use macos_error_from_errno() 2014-12-20 19:32:54 -05:00
Kelvin Sherlock
728db5133e fix whitespace 2014-12-20 13:03:29 -05:00
Kelvin Sherlock
841af35840 MM::RecoverHandle 2014-12-20 13:03:02 -05:00
Kelvin Sherlock
1a70abf995 use common code for opening resource file. 2014-12-20 12:25:55 -05:00
Kelvin Sherlock
8257050afc FSpOpenResFile support 2014-12-20 12:20:34 -05:00
Kelvin Sherlock
240a3ac480 add tool_return pair for returning error or value. 2014-12-20 12:20:18 -05:00
Kelvin Sherlock
a4e89626d5 Open/OpenRF should use the directory id / fs spec. 2014-12-20 09:18:49 -05:00
Kelvin Sherlock
148b13cdf1 PBHOpenDeny/PBHOpenRFDeny 2014-12-20 09:15:05 -05:00
Kelvin Sherlock
4bf57c6ce4 fix StackSpace to use new stack location scheme. 2014-12-18 15:40:12 -05:00
Kelvin Sherlock
84fdeb116f TempFreeMem 2014-12-18 14:40:03 -05:00
Kelvin Sherlock
304dcda66c BlockMoveData 2014-12-18 14:39:48 -05:00
Kelvin Sherlock
c03938ca7d Time Manager stuff 2014-12-18 14:29:20 -05:00
Kelvin Sherlock
eda186e9ff Merge branch 'DumpPEF'
support for MrC, MrCPP, DumpPEF (?) and DumpXCOFF.
2014-12-17 13:07:18 -05:00
Kelvin Sherlock
6a8a30df5a . 2014-12-17 07:53:25 -05:00
Kelvin Sherlock
325c1c5850 PBSetCatInfo now sets finder info. PBGetCatInfo now uses nice enums. 2014-12-16 17:35:49 -05:00
Kelvin Sherlock
18b2e7ff67 ReadXPRam call (DumpXCOFF) 2014-12-16 13:47:33 -05:00
Kelvin Sherlock
bd93788eef RM::HOpenResFile 2014-12-16 13:07:51 -05:00
Kelvin Sherlock
85e515bdeb split FSSpecManager out so RM can use it (HOpenResFile) 2014-12-16 13:07:37 -05:00
Kelvin Sherlock
0b76b9266e move stack to the top of the memory to make MrC's stack checks happy. 2014-12-15 08:56:26 -05:00
Kelvin Sherlock
d79f498cfd increase default stack size for MrC 2014-12-15 08:55:06 -05:00
Kelvin Sherlock
80be590e76 fgetenv / fsetenv 2014-12-14 19:52:49 -05:00