Commit Graph

139 Commits

Author SHA1 Message Date
Kelvin Sherlock
e414163ec9 use new token type, support for identifiers 2013-08-18 19:03:52 -04:00
Kelvin Sherlock
b7b6d8656b EnvMap -> Variable 2013-08-18 19:03:32 -04:00
Kelvin Sherlock
810b521a11 Debugger -load debug names 2013-08-18 17:07:07 -04:00
Kelvin Sherlock
7858711902 use new loader code 2013-08-18 00:21:37 -04:00
Kelvin Sherlock
e83f2d6d35 home-brew lemon uses asserts 2013-08-15 23:52:03 -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
bd3e540b89 disassembler - short segment / offset were swapped 2013-08-04 14:34:17 -04:00
Kelvin Sherlock
8db3b90777 far model segment header 2013-08-04 00:20:05 -04:00
Kelvin Sherlock
e53dbcce13 disasm long jump table 2013-08-03 23:58:32 -04:00
Kelvin Sherlock
e83477c9b2 New environment code
-D command line now supported.
2013-08-02 22:13:04 -04:00
Kelvin Sherlock
6b383a0e35 0b binary numbers in debugger 2013-08-02 14:00:57 -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
eacb0d4716 debugger - print value as binary 2013-07-19 19:58:30 -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
23ff00baa7 trap file loading improvements 2013-07-14 15:17:59 -04:00
Kelvin Sherlock
81ce611bfc RootDirForPath 2013-07-14 15:17:35 -04:00
Kelvin Sherlock
e571c7066d -W-no-unused for ragel generated code 2013-07-14 15:17:00 -04:00
Kelvin Sherlock
ece1984c5c clean up trap loader 2013-07-14 14:34:16 -04:00
Kelvin Sherlock
9312383433 ragel-based debugger command parser. 2013-07-13 22:25:29 -04:00
Kelvin Sherlock
6e68357051 misc fixes 2013-07-13 13:46:54 -04:00
Kelvin Sherlock
ccd3273ff0 ranged/count-based ;l listings 2013-07-13 13:46:41 -04:00
Kelvin Sherlock
69cd091397 fix pc = expression (clear fellow cpu cache) 2013-07-13 13:42:49 -04:00
Kelvin Sherlock
0c87dbd545 memory read/write breaks 2013-07-13 13:42:19 -04:00
Kelvin Sherlock
fa92c2fca7 print 4cc interpretation of data 2013-07-09 23:26:21 -04:00
Kelvin Sherlock
eedf675ebd debugger updates 2013-07-07 23:42:27 -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
5d87528367 debugger / macsbug names 2013-07-07 23:42:26 -04:00
Kelvin Sherlock
0a729dcacf AddressMap / ToolMap class 2013-07-07 23:42:26 -04:00
Kelvin Sherlock
4bdac5a62a SIGINT handler, continue 2013-07-07 23:42:25 -04:00
Kelvin Sherlock
27cd692790 more debugger functionality 2013-07-07 23:42:25 -04:00
Kelvin Sherlock
552d95f9e0 breakpoint code 2013-07-07 23:42:25 -04:00
Kelvin Sherlock
03c0951253 debugger improvements 2013-07-07 23:42:24 -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
a35fa69cf1 include files 2013-07-02 18:48:51 -04:00
Kelvin Sherlock
71517ad252 update global logging function 2013-07-02 18:48:40 -04:00
Kelvin Sherlock
651922bd26 fix warning 2013-07-01 20:49:23 -04:00
Kelvin Sherlock
890d703f9f hex dump data after debug name 2013-07-01 20:24:49 -04:00
Kelvin Sherlock
9ddb015b1b macos traps header 2013-07-01 20:21:42 -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
aa73cc55cb macos library for tools and globals 2013-03-03 22:17:27 -05:00
Kelvin Sherlock
c5f07d4706 initial work for HighLevelHFSDispatch 2013-02-24 23:23:05 -05:00
Kelvin Sherlock
a497d5ec85 macsbug names after RTD 2013-02-20 20:16:50 -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
Kelvin Sherlock
2059327323 stack under/overflow check 2013-02-17 16:02:25 -05:00
Kelvin Sherlock
add2d6b5a3 return the MPW exit status. 2013-02-17 15:49:28 -05:00
Kelvin Sherlock
a737da619d move MPW init to MPW
(currently slightly buggy)
2013-02-17 15:08:09 -05:00
Kelvin Sherlock
97b5dd6400 toolbox logging flag. 2013-02-16 18:51:28 -05:00
Kelvin Sherlock
acd4765317 mpw trace flag 2013-02-16 18:32:37 -05:00
Kelvin Sherlock
ee2e2a34d4 more flags 2013-02-15 23:47:26 -05:00
Kelvin Sherlock
6ffa214713 improved debug symbols 2013-02-15 00:00:33 -05:00
Kelvin Sherlock
e79cdceb6c fix loader (quit when needed) 2013-02-12 22:34:36 -05:00
Kelvin Sherlock
481da52aac don't set initial PC until memory is initialized. 2013-02-10 23:15:22 -05:00
Kelvin Sherlock
bedf29f8e1 mpw, mpw block debugging. 2013-02-10 20:19:53 -05:00
Kelvin Sherlock
49711b79d5 use cpu's instruction logging facilities 2013-02-09 20:07:42 -05:00
Kelvin Sherlock
384b968a15 basename the app name 2013-02-09 20:06:58 -05:00
Kelvin Sherlock
92b94373f3 disassembler 2013-02-09 20:06:03 -05:00
Kelvin Sherlock
8dd95d50f2 MacOS Trap names 2013-02-07 23:46:55 -05:00
Kelvin Sherlock
c8da211026 mm init, newptr 2013-02-07 22:49:20 -05:00
Kelvin Sherlock
271bc85c37 use the toolbox. 2013-02-07 19:22:13 -05:00
Kelvin Sherlock
23dd8f2722 more global variables 2013-02-07 19:03:19 -05:00
Kelvin Sherlock
05656b685c fix argc/argv stuff 2013-02-07 00:04:23 -05:00
Kelvin Sherlock
539b09982c updates 2013-02-06 23:44:33 -05:00
Kelvin Sherlock
64618097a1 toolbox code... 2013-02-06 23:44:12 -05:00
Kelvin Sherlock
54f10c88e5 it works! Added tracing. 2013-02-06 20:36:56 -05:00
Kelvin Sherlock
f53b3be9d9 loader - cpu integration. 2013-02-06 20:07:27 -05:00
Kelvin Sherlock
dbedea6169 loader -> mpw, libs 2013-02-06 19:11:32 -05:00
Kelvin Sherlock
68224d7e15 cmakefiles 2013-02-05 23:41:11 -05:00
Kelvin Sherlock
fe39dbfb71 unused variable 2013-02-05 23:38:31 -05:00
Kelvin Sherlock
8cf2742820 re-organize source tree 2013-02-05 23:18:44 -05:00