Commit Graph

139 Commits

Author SHA1 Message Date
Ryan Schmidt
784e8e7098
Fix compilation with current readline
"Function *" was deprecated in readline 4.2 and removed in readline 6.3.
And at some point it evidently also became required to include
<readline/history.h> to use the history functions like "add_history".
2022-11-18 00:32:54 -06: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
Kelvin Sherlock
5facdb095c version bump, allow MB/KB (vs M/K) for ram sizes 2022-10-11 21:11:36 -04:00
Kelvin Sherlock
4730a70874 include generated lemon code so lemon isn't needed. 2021-05-30 23:29:34 -04:00
Kelvin Sherlock
c8310c0dbd fixup clang range warnings. 2020-11-05 18:53:52 -05:00
Kelvin Sherlock
b560c66dda fix case-insensitive includes. 2018-01-01 14:15:17 -05:00
Kelvin Sherlock
8c38175492 bump version. 2017-12-14 10:50:50 -05:00
Kelvin Sherlock
e21aac4022 clean up makefiles a bit. 2017-10-02 15:11:28 -04:00
Kelvin Sherlock
51a86117b8 --shell option for future compatibility. 2016-07-18 21:52:38 -04:00
Kelvin Sherlock
99d1ca04fd remove mpw-make. it's deprecated and replaced with mpw-shell in a separate repository. 2016-02-06 21:31:05 -05:00
Kelvin Sherlock
fc5e675a51 add minimal support for if / else / end statements 2015-11-25 21:10:31 -05:00
Kelvin Sherlock
5ebc0b276b mow-make -- handle comments. 2015-07-06 10:13:34 -04:00
Kelvin Sherlock
aae68c20dd mpw-make -- support for quoted strings. 2015-06-23 12:17:30 -04:00
Kelvin Sherlock
cd99626176 mow-make command 2015-06-23 10:11:47 -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
tsupplis
88bc42d153 gcc-4.9 support/c11 fixes 2015-02-17 00:23:12 +00:00
Kelvin Sherlock
8bfff02114 debugger templates - include address. 2015-02-14 14:33:43 -05:00
Kelvin Sherlock
b1d647d695 debugger - don't add history line if it's identical to previous line 2015-02-13 20:26:26 -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
67cb2b6e09 home-brew lemon requires assert.h 2015-02-11 08:11:49 -05:00
Kelvin Sherlock
023d233c40 cxx string_splitter 2015-02-06 19:58:19 -05:00
Kelvin Sherlock
d0d1e84162 debugger/List - make sure end > start 2015-02-06 19:56:57 -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
cb08a2e4c2 fix bug with tab completion -- rl_completion_entry_function has 2 entries (and null terminator) if there's only 1 match. 2015-01-12 18:12:00 -05:00
Kelvin Sherlock
2adbe82704 merge in debug template code 2015-01-05 20:28:56 -05:00
Kelvin Sherlock
a111120033 add ;error and ;date debugger commands 2014-12-30 14:09:07 -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
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
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
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
d275c389e6 better debugger memory logging 2013-09-01 15:32:39 -04:00
Kelvin Sherlock
9c9decbe3b store symbol table as a range 2013-08-23 23:04:23 -04:00
Kelvin Sherlock
a11eacf317 load error and global files 2013-08-21 22:41:08 -04:00
Kelvin Sherlock
c7acd1d8e1 more info for ;info 2013-08-21 22:40:53 -04:00
Kelvin Sherlock
4b4122bee2 loadtrap.rl -- negative number support (for error numbers) 2013-08-21 21:29:37 -04:00
Kelvin Sherlock
cff61ead03 rewrite trap file parser 2013-08-19 22:12:55 -04:00
Kelvin Sherlock
e2700665d0 move semi-colon commands to their own state 2013-08-18 21:09:17 -04:00
Kelvin Sherlock
05317be1e1 hex dump should fit within 80 columns 2013-08-18 21:07:47 -04:00
Kelvin Sherlock
7c2cf3d1fd debugger completion for symbols 2013-08-18 21:07:24 -04:00