Commit Graph

518 Commits

Author SHA1 Message Date
ksherlock
718683dd8d
Create mini-asm.md 2019-05-09 11:08:36 -04:00
Kelvin Sherlock
391681fb96 pre-calculate mnemonic hashes. 2019-05-05 16:59:24 -04:00
Kelvin Sherlock
379784c757 add GS/OS, P16, P8 macro support.
since nifty list uses the same names for all (with GS/P16/P8 prefixes which are stripped), P16 and P8 macros are more or less unavailable.
2019-04-18 21:58:28 -04:00
Kelvin Sherlock
13b78fb412 add long/short support to assume m/x bits. 2019-04-18 13:15:13 -04:00
Kelvin Sherlock
9cf84e82c6 mini asm uses/sets prev_addr. 2019-04-18 13:14:49 -04:00
Kelvin Sherlock
25f5593a81 replace the old disassembler tables 2019-04-15 20:51:37 -04:00
Kelvin Sherlock
63275ee4ea JMP/JSR 00 2019-04-15 20:06:33 -04:00
Kelvin Sherlock
3ffa1d0e76 buffer overflow :( 2019-04-15 20:06:15 -04:00
Kelvin Sherlock
1afa610ab2 print current address/mx bits when entering the mini assembler. 2019-04-15 12:54:42 -04:00
Kelvin Sherlock
67fc8b82ab add JMP/JML, JSR/JSL aliases. 2019-04-15 12:53:22 -04:00
Kelvin Sherlock
bd53440610 add BLT/BGE aliases. 2019-04-15 12:18:10 -04:00
Kelvin Sherlock
4c55800e23 mini assembler - support for toolcalls. uses the Nifty List tool list. 2019-04-14 23:28:08 -04:00
Kelvin Sherlock
b561811394 . 2019-04-14 18:32:26 -04:00
Kelvin Sherlock
c22c517214 fix relative calculation. 2019-04-14 18:32:12 -04:00
Kelvin Sherlock
79df8bf62e modifier parsing. 2019-04-14 18:30:19 -04:00
Kelvin Sherlock
860d8601a3 case insensitive 2019-04-14 18:30:04 -04:00
Kelvin Sherlock
692c7deac1 allow PEA 12 2019-04-14 18:29:44 -04:00
Kelvin Sherlock
ac1b76753d mini assembler 2019-04-14 17:41:46 -04:00
Kelvin Sherlock
e23f4494ca Merge branch 'master' of https://github.com/ksherlock/gsplus 2019-04-08 21:13:21 -04:00
Kelvin Sherlock
a02f323fb5 cygwin - reset stdin/stdout/stderr to use the win32 console. 2019-04-08 21:12:57 -04:00
Kelvin Sherlock
c8efadda95 host fst fix
reported in c.e.a2 - when dropping into p8, fst_shutdown is called.  when returning to gs/os, fst_startup is NOT called.

This effective unmounts the host file system, permanently, since it assumed fst_startup would get called again.

fst_shutdown code now closes any open files but does not otherwise unmount.
2019-04-07 01:14:35 -04:00
Kelvin Sherlock
1d1033f110 win32 control-c handler 2019-04-07 00:30:06 -04:00
Kelvin Sherlock
2d97efcaff fflush stderr since MSVCRT's stdio doesn't support line-oriented buffering, as it should. 2019-04-06 23:16:52 -04:00
Kelvin Sherlock
e91201cff4 fixup offset a little bit. 2019-04-06 20:55:05 -04:00
Kelvin Sherlock
a7a0138754 simplify readline a bit. EOF will auto-print a CR if there was a prompt. 2019-04-06 20:54:37 -04:00
Kelvin Sherlock
290f36c4d3 no longer planning on using the debug modes 2019-04-06 20:53:41 -04:00
Kelvin Sherlock
320ab4e486 fixup some bugs with relative address calculation, show error offset, 2019-04-06 14:43:00 -04:00
Kelvin Sherlock
e253200c71 !! to invoke sweet 16 mini assembler. 2019-04-06 13:50:47 -04:00
Kelvin Sherlock
1c1eef4383 mini assembler fixups. 2019-04-06 13:50:29 -04:00
Kelvin Sherlock
5d206ac4c0 sweet 16 assembler. 2019-04-06 01:18:41 -04:00
Kelvin Sherlock
5c903ffeb1 change disasm format to put byte first. 2019-04-05 19:13:11 -04:00
Kelvin Sherlock
0a6fd86d78 don't bother compiling old TFE code. 2019-04-05 18:44:38 -04:00
Kelvin Sherlock
e21cfbb37a 0/1>mx to set both m and x bits. 2019-04-05 18:44:22 -04:00
Kelvin Sherlock
89d8b3efcf disassembler - inline debug name support.
See IIgs technote #103.
2019-04-05 18:43:54 -04:00
Kelvin Sherlock
237577d886 sweet 16 asm [wip] 2019-03-27 17:02:12 -04:00
Kelvin Sherlock
91c24bbf8b wasn't setting stderr fileno... 2019-03-26 23:37:16 -04:00
Kelvin Sherlock
3ef3173c36 Merge branch 'master' of https://github.com/ksherlock/gsplus 2019-03-26 23:16:27 -04:00
Kelvin Sherlock
30da497087 win32 console debugger
may need a little work, still.
2019-03-26 23:15:56 -04:00
Kelvin Sherlock
eabcc72005 missing linux headers. 2019-03-25 16:34:31 -04:00
Kelvin Sherlock
2a82de3d54 remove unused comments/defines. 2019-03-24 11:25:50 -04:00
Kelvin Sherlock
c677f0f894 common code for i/w/h commands. 2019-03-24 03:11:16 -04:00
Kelvin Sherlock
bda785f98d add "w" command. 2019-03-23 20:49:41 -04:00
Kelvin Sherlock
07eeaf24b0 GSString-ify debug templates. 2019-03-23 00:28:39 -04:00
Kelvin Sherlock
90bf447606 debug templates - improved support for pstring/gsstring/cstring. 2019-03-22 00:14:09 -04:00
Kelvin Sherlock
6f7d6629bb memory breakpoints - proper handling for wrapped addresses. 2019-03-22 00:13:38 -04:00
Kelvin Sherlock
bf09880caf fix memory breakpoint range checking.
It's still broken for page/bank wrapped data.  Eg, sta <$ff stores @ $ff and $00
2019-03-21 22:12:30 -04:00
Kelvin Sherlock
5da4e5c39f fix mvp/mvn operand order. 2019-03-21 22:08:39 -04:00
Kelvin Sherlock
7e0963e12c remove old makefiles. 2019-03-21 18:31:15 -04:00
Kelvin Sherlock
6c38f597fd use ] as the debug shell prompt. 2019-03-21 18:05:04 -04:00
Kelvin Sherlock
ec0c255975 debug shell - only set the ignore_brk/mp/bp IF the pc hasn't changed. 2019-03-21 18:04:51 -04:00