Commit graph pcjs/modules/pcjs/lib/debugger.js
Author SHA1 Message Date
Jeff Parsons
a328997b58 Minor RAM and Debugger corrections 2015-08-14 11:58:39 -07:00
Jeff Parsons
9e055b7be3 Debugger fixes for memory breakpoints, "if" processing, register parsing, and more 2015-08-13 10:58:32 -07:00
Jeff Parsons
490289c75d More (very minor) Debugger tweaks 2015-08-12 15:14:50 -07:00
Jeff Parsons
0a5267571f When 'if' is issued from the Debugger prompt, always display the result 2015-08-12 14:46:40 -07:00
Jeff Parsons
8fef77f067 Added support for user-defined Debugger variables (see 'let' and 'print' commands) 2015-08-12 14:25:45 -07:00
Jeff Parsons
2fd9f6cfe5 Lots o' Debugger changes, including support for breakpoint commands and logical expressions
A new "if" command for use within breakpoint commands makes it possible to conditionally halt execution now
2015-08-11 16:50:39 -07:00
Jeff Parsons
a9b5813303 Minor realignment of the C1P and PC Debuggers 2015-08-10 12:17:36 -07:00
Jeff Parsons
1c79631367 Comment updates 2015-08-10 12:02:22 -07:00
Jeff Parsons
f72b8ddeaf Success running standard-mode Windows under WDEB386 2015-08-08 09:09:36 -07:00
Jeff Parsons
33d28a29de Improved preservation of read/write breakpoints in dynamic memory regions
The old solution was Debugger-specific (ie, redoBreakpoints), the new solution works for both the Debugger and for Debug register support
2015-08-06 11:25:56 -07:00
Jeff Parsons
9fa2941394 Limited Debug register support 2015-08-02 21:11:19 -07:00
Jeff Parsons
72a9b8ef8c Applied some more breakpoint fixes 2015-08-01 01:03:49 -07:00
Jeff Parsons
6003e948b6 First v1.18.8 change: preliminary support for 80386 debug registers 2015-07-31 18:25:37 -07:00
Jeff Parsons
812c0af6b6 Standard-mode Windows 3.0 finally runs properly 2015-07-30 12:50:44 -07:00
Jeff Parsons
a3a2cd60c3 Fixed video address reporting, and added expression support to the Debugger's "r" command 2015-07-28 14:13:34 -07:00
Jeff Parsons
2150744668 Added support for DRn and TRn instructions (although they're effectively NOPs for now) 2015-07-27 11:29:57 -07:00
Jeff Parsons
a1e3c366eb More Video DEBUG support, and more disk images 2015-07-27 07:48:01 -07:00
Jeff Parsons
e269cd49c3 v1.18.5: Working on running Windows 3.00 in real/standard/enhanced modes 2015-07-26 17:02:48 -07:00
Jeff Parsons
4bb34eb81d CPU caches CPL now (independent of segCS.cpl) 2015-07-26 12:14:30 -07:00
Jeff Parsons
fc9a2a903f Added separate dumpers for physical and linear address space, added more information to the TSS dump, fixed breakpoint updates when the address(es) are not yet valid, fixed recursion error when an UNPAGED block is accessed, made string instructions restartable after a fault, and enabled port-trapping in V86-mode. 2015-07-25 16:42:39 -07:00
Jeff Parsons
afcdd055e1 Assorted V86-mode fixes and IOPM support 2015-07-24 16:53:39 -07:00
Jeff Parsons
4ba27ad4a7 Include binary as an output option 2015-07-23 17:41:27 -07:00
Jeff Parsons
f8d7c5d518 Updated reset to reset page tables, fixed RET[F]n instructions, and added some Debugger improvements 2015-07-23 16:58:01 -07:00
Jeff Parsons
1b28cce0fd Fixed SIB decoding and display, and added expression parsing 2015-07-23 14:07:44 -07:00
Jeff Parsons
4102ef0514 Added support for both 80286 and 80386 gates and TSS segments 2015-07-22 16:03:21 -07:00
Jeff Parsons
545c290785 Begin differentiating 286 and 386 descriptors 2015-07-21 09:39:26 -07:00
Jeff Parsons
8d98dedd1c More instruction history fixes 2015-07-20 16:00:57 -07:00
Jeff Parsons
c2187e1e1b Assorted Debugger fixes 2015-07-20 13:11:46 -07:00
Jeff Parsons
da2f8ddda2 Instruction history buffer tweaks 2015-07-18 15:54:11 -07:00
Jeff Parsons
b6e8eb8877 Fixed handling of redundant address/data override prefixes 2015-07-17 10:14:17 -07:00
Jeff Parsons
d45f3174f6 Make sure real-mode CS:IP changes never signal a stack switch 2015-07-15 18:53:56 -07:00
Jeff Parsons
e76655a48f Fixed I/O port handling 2015-07-15 14:32:20 -07:00
Jeff Parsons
6295c112fe Improved DOS message output (use "m dos on" Debugger command) 2015-07-15 09:09:28 -07:00
Jeff Parsons
75d8e1e193 80386 CPU detection fix 2015-07-14 16:32:41 -07:00
Jeff Parsons
32675aea39 Fixed port 0x61 keyboard handling and Debugger procstep ("p") command 2015-07-13 13:42:01 -07:00
Jeff Parsons
7126051bf8 Upgraded the Closure Compiler 2015-07-11 17:30:25 -07:00
Jeff Parsons
ef3873da6e Black Book demo L23-1 works now 2015-06-19 11:01:51 -07:00
Jeff Parsons
ac3ea70683 Updated video card dump 2015-06-08 16:00:26 -07:00
Jeff Parsons
38f16fcc50 Fix EGA scrolling for modes 0x0D and 0x0E 2015-06-05 17:26:08 -07:00
Jeff Parsons
aa98f63f47 Fix 9th dot replication in 8-dot fonts 2015-06-05 10:12:46 -07:00
Jeff Parsons
faf179d2d3 Debugger I/O improvements 2015-06-05 09:09:23 -07:00
Jeff Parsons
b6cd2a5e20 Fix pushing/popping at the limits of the stack segment 2015-06-04 14:09:40 -07:00
Jeff Parsons
ad95e93740 Stack trace command actually works now 2015-06-01 13:02:23 -07:00
Jeff Parsons
6a4d7c748c Stack trace command 2015-05-31 16:12:01 -07:00
Jeff Parsons
d1b1ff623e Cleaning up Debugger address objects (still need to add support for physical addresses) 2015-05-16 10:50:13 -07:00
Jeff Parsons
30d0d22e41 A few Debugger fixes whilst tracking down TSS issues 2015-05-16 09:58:51 -07:00
Jeff Parsons
a28fa95d25 More 80286 testing 2015-05-15 09:08:42 -07:00
Jeff Parsons
c431e5dde8 Future-proof ADDR_INVALID checks by using strict [in]equality 2015-05-14 13:11:46 -07:00
Jeff Parsons
56d03451ac Fix Debugger register lookup for 80286/80386 2015-05-14 10:30:12 -07:00
Jeff Parsons
5eed275008 Update ACCESSED bits in GDT/LDT descriptors (finally) 2015-05-11 13:11:30 -07:00