Commit Graph
70 Commits
Author SHA1 Message Date
Kelvin Sherlock a6b58bf382 the loader "tool" was also doing macsbug decoding, so unify that as well.
This also fixes the interrupt bug with the debug shell, where it
manifested as a stack underflow warning.
2026-08-12 23:12:18 -04:00
Kelvin Sherlock a4c2d362c5 --trace-macsbug improvements
1. actual macsbug names weren't supported.
2. --trace-macsbug was also printing toolcalls
3. unify the macsbug name fetching code since it was implemented
multiple times
4. add safe read functions so disasm won't trigger memory breakspoints.
2026-08-10 21:44:15 -04:00
Kelvin Sherlock c7b80a18fb clear 68k interrupts at startup. 2026-06-20 14:14:43 -04:00
Ryan Schmidt a76287876c Add error message when loader can't load command (#55)
And change exit code from EX_CONFIG to EX_SOFTWARE.
2022-11-19 22:14:57 -05:00
Kelvin Sherlock 5facdb095c version bump, allow MB/KB (vs M/K) for ram sizes 2022-10-11 21:11:36 -04:00
Kelvin Sherlock 8c38175492 bump version. 2017-12-14 10:50:50 -05:00
Kelvin Sherlock 51a86117b8 --shell option for future compatibility. 2016-07-18 21:52:38 -04:00
Kelvin Sherlock de50c3d796 CurStackBase global 2015-02-27 08:55:37 -05:00
Kelvin Sherlock 2766493398 clean up trailing whitespace / end of file linefeed. 2015-02-18 12:00:21 -05: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 a7301cfd5d changeling, bump version 2015-02-12 20:14:15 -05:00
Kelvin Sherlock 023d233c40 cxx string_splitter 2015-02-06 19:58:19 -05:00
Kelvin Sherlock 176fb108a6 Use the $Commands environment variable as a list of directories where commands may be located. 2015-01-24 14:40:45 -05:00
Kelvin Sherlock 3e64b3e087 Set ApplZone global (ARMCFront) 2015-01-20 19:32:04 -05:00
Kelvin Sherlock b146399a7e Fix StripAddress when > 16 megs of ram in use. 2015-01-15 16:35:38 -05:00
Kelvin Sherlock 2adbe82704 merge in debug template code 2015-01-05 20:28:56 -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 74216da21e bump version number 2013-10-30 21:38:13 -04:00
Kelvin Sherlock a02e5ccec8 mid instruction exception handler 2013-09-02 19:59:11 -04:00
Kelvin Sherlock 7196a85c36 support pstring macsbugs names 2013-09-01 22:27:09 -04:00
Kelvin Sherlock 7858711902 use new loader code 2013-08-18 00:21:37 -04:00
Kelvin Sherlock 4041b14b36 far model relocation 2013-08-15 23:40:08 -04:00
Kelvin Sherlock 980a21d510 load far model code resources 2013-08-04 14:35:05 -04:00
Kelvin Sherlock e83477c9b2 New environment code
-D command line now supported.
2013-08-02 22:13:04 -04:00
Kelvin Sherlock fc04a2b2cb add license 2013-07-30 01:06:19 -04:00
Kelvin Sherlock a47a55e7ce update version number 2013-07-19 21:08:52 -04:00
Kelvin Sherlock 7c127931e1 bump version, fix MPW location string 2013-07-17 22:49:41 -04:00
Kelvin Sherlock 6eb07f173a --trace-globals - show current value when reading. 2013-07-14 16:45:29 -04:00
Kelvin Sherlock 9aaf997fe3 set LMTime global at start 2013-07-14 16:45:06 -04:00
Kelvin Sherlock 6fbde7e1bf move debugger code into bin, clean up dispatch 2013-07-07 23:42:27 -04:00
Kelvin Sherlock 7c218a7a9e remove dead code 2013-07-07 23:42:27 -04:00
Kelvin Sherlock ba2fba246b cleanup to move debugger to separate file 2013-07-07 23:42:24 -04:00
Kelvin Sherlock f0a1240475 update version 2013-07-02 18:52:22 -04:00
Kelvin Sherlock 71517ad252 update global logging function 2013-07-02 18:48:40 -04:00
Kelvin Sherlock bf6d689264 fix help typo 2013-06-30 13:13:35 -04:00
Kelvin Sherlock 4abfcc2e52 better mpw dir location logic 2013-06-09 14:47:27 -04:00
Kelvin Sherlock 5293a49d7f add back logging 2013-05-16 00:10:26 -04:00
Kelvin Sherlock 7536e05a6c use global names 2013-05-12 22:25:35 -04:00
Kelvin Sherlock 20a1e81d60 eliminate dead code 2013-05-12 22:25:20 -04:00
Kelvin Sherlock e920ee230e change debugging to test speed 2013-05-12 22:14:49 -04:00
Kelvin Sherlock e1a3269cea ignore directories 2013-05-12 22:14:22 -04:00
Kelvin Sherlock b8a17eb0f1 fix help printing 2013-03-27 23:49:12 -04:00
Kelvin Sherlock dd14402c2e bump version number 2013-03-06 21:51:25 -05:00
Kelvin Sherlock 486bc5001b macsbug -- defect names after RTD 2013-02-19 18:27:33 -05:00
Kelvin Sherlock 4e247a0c46 use a single $MPW environment for the root 2013-02-18 19:17:17 -05:00
Kelvin Sherlock fa03797e98 fix null path string crash 2013-02-18 00:34:41 -05:00
Kelvin Sherlock 3a24ce64b6 check for file in mpw_path 2013-02-18 00:06:27 -05:00
Kelvin Sherlock c67dad27e4 add help 2013-02-18 00:06:02 -05:00
Kelvin Sherlock 3fc0839807 --memory-stats flag 2013-02-17 21:54:45 -05:00
Kelvin Sherlock 276b0c18eb use memory manager for allocations while loading 2013-02-17 21:39:03 -05:00