Commit Graph

28 Commits

Author SHA1 Message Date
Daniel Beer 40fa5de592 Move code_start field into base device class. 2010-09-10 11:40:59 +12:00
Daniel Beer 9c2ed8c5fc Introduced quiet mode option and command-line switch.
Based on a patch by Eric Decker <cire831@gmail.com>
2010-08-31 15:50:00 +12:00
Daniel Beer 87f89adc44 All output now goes through buffering/filtering.
The following substitutions have been made:

    printf -> printc
    fprintf(stderr, ...) -> printc_err(...)
    perror -> pr_error
2010-08-17 11:07:03 +12:00
Daniel Beer 5b2c75563d Device interface and drivers are now 32-bit clean. 2010-08-05 14:43:07 +12:00
Daniel Beer 3f6d8f91ad Moved breakpoint table into device base structure.
Breakpoints only ever change by debugger control, so there's no point
having a device-dependent "getbrk" method. Breakpoint update need only
be done before starting the device running.
2010-07-27 13:08:21 +12:00
Daniel Beer 74a11c1ae0 Implemented support for multiple breakpoints. 2010-07-02 14:22:52 +12:00
Daniel Beer 39b71c5292 Fixed compilation warnings. 2010-05-22 16:09:28 +12:00
Daniel Beer b897d780c1 Fixed simulation bug: JGE/JL reversed. 2010-05-21 13:17:44 +12:00
Daniel Beer b8a3ef41c7 Use stdint.h instead of sys/types.h. 2010-05-13 12:57:21 +12:00
Daniel Beer 204aa31291 Device drivers are now objects. 2010-04-30 16:01:03 +12:00
Daniel Beer ba6e3366ff Command processor is now an object. 2010-04-21 16:56:56 +12:00
Daniel Beer 90d39a96f5 Move some unrelated functions out of parse.c 2010-04-21 14:12:12 +12:00
Daniel Beer 8758d8bc28 Separated parsing from util. 2010-04-10 15:02:14 +12:00
Daniel Beer 01e26ce3a8 Merged parse.[ch] into util.[ch]. 2010-03-30 15:54:03 +13:00
Daniel Beer 9d83386048 Implemented colorize disassembly. 2010-03-30 15:47:12 +13:00
Daniel Beer 0c3389f084 Fixed bugs introduced by sym table changes. 2010-03-28 16:12:34 +13:00
Daniel Beer 0871041787 Implemented B+Tree symbol table. 2010-03-27 22:50:02 +13:00
Daniel Beer ae1006f3ea gdb: can now interrupt execution on both sides 2010-03-23 14:37:53 +13:00
Daniel Beer 484aecd7bc Allow IO requests to be aborted. 2010-03-23 10:40:57 +13:00
Daniel Beer 96621649f3 Fixed PC offset labelling in IO simulation. 2010-03-23 09:58:40 +13:00
Daniel Beer 39a4c5806b Implemented basic gdb support.
Tested only with simulation mode -- real devices need testing.
2010-03-22 19:12:51 +13:00
Daniel Beer 39338c5a73 Simulation bug fixes. 2010-03-20 18:21:29 +13:00
Daniel Beer 74107d5632 In simulation, show PC offsets at time before decoding. 2010-03-20 16:33:38 +13:00
Daniel Beer b233f22518 Fixed set register command for simulation. 2010-03-20 16:25:01 +13:00
Daniel Beer 4207badb6e Fixed spurious IO reads from MOV instructions. 2010-03-20 16:18:06 +13:00
Daniel Beer b4d3b44fef Implemented prompting for IO in simulation. 2010-03-20 16:07:41 +13:00
Daniel Beer 0d71fcef38 Implemented CPU core emulator. 2010-03-20 15:18:58 +13:00
Daniel Beer 5a84cbf7f5 Basic simulation implementation (memory IO only). 2010-01-09 16:20:47 +13:00