Ben Kurtovic
|
da2a767459
|
Fix a broken jump argument; use hex for ports.
|
8 anos atrás |
Ben Kurtovic
|
1818c1eede
|
Fix assembler bugs in "ex af, af'" and "ex (sp), hl".
|
8 anos atrás |
Ben Kurtovic
|
0e0c81589f
|
(Very basic) working disassembler.
|
8 anos atrás |
Ben Kurtovic
|
fb9d6e1b2b
|
Work on ROM file (i.e., non-inline) disassembler.
|
8 anos atrás |
Ben Kurtovic
|
962171b7ee
|
Store a few extra header fields in the ROM struct; typo fix.
|
8 anos atrás |
Ben Kurtovic
|
4047d6e3f4
|
Fill out instruction argument tables.
|
8 anos atrás |
Ben Kurtovic
|
43e641fabd
|
Finish argument immediate decoding.
|
8 anos atrás |
Ben Kurtovic
|
610f9cf549
|
Start filling out argument decoder table; make things const.
|
8 anos atrás |
Ben Kurtovic
|
dd83c7bddf
|
Start working on argument disassembler.
|
8 anos atrás |
Ben Kurtovic
|
89d3d65cde
|
Finish mnemonics; shorten size tables.
|
8 anos atrás |
Ben Kurtovic
|
643b0184d7
|
Implement more load instructions; bugfixes.
|
8 anos atrás |
Ben Kurtovic
|
bbb3fc3744
|
Don't trace previous instruction multiple times
|
8 anos atrás |
Ben Kurtovic
|
0acd77f6ae
|
Fix shadow registers.
|
8 anos atrás |
Ben Kurtovic
|
560eceeedf
|
EXX, DI, EI, HALT
|
8 anos atrás |
Ben Kurtovic
|
ba701545b2
|
Fix assembler bug involving extended immediates.
|
8 anos atrás |
Ben Kurtovic
|
cf1985bee9
|
Implement more load instructions.
|
8 anos atrás |
Ben Kurtovic
|
6ba2ec6645
|
Fill single-opcode mnemonics.
|
8 anos atrás |
Ben Kurtovic
|
235e4c7cff
|
Begin work on disassembler; extend tracing.
|
8 anos atrás |
Ben Kurtovic
|
6e6e613dad
|
Refactor and improve argument parsing (add support for -abcd)
|
8 anos atrás |
Ben Kurtovic
|
1a00100fe6
|
Add color to logs
|
8 anos atrás |
Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
8 anos atrás |
Ben Kurtovic
|
08b958f971
|
Merge branch 'feature/asm_tests' into develop
|
8 anos atrás |
Ben Kurtovic
|
c8ecf01600
|
Add ASM instruction test.
|
8 anos atrás |
Ben Kurtovic
|
c632ddf9bd
|
Document and add new ASM tests.
|
8 anos atrás |
Ben Kurtovic
|
a3b943aebb
|
Fix implementation of ASCIIz strings.
|
8 anos atrás |
Ben Kurtovic
|
8095143deb
|
Add ASM tests
|
8 anos atrás |
Ben Kurtovic
|
1ddb484cfc
|
Validate characters in manifest file paths.
|
8 anos atrás |
Ben Kurtovic
|
3f12049ee5
|
Merge full ASM tests into regular ASM tests.
|
8 anos atrás |
Ben Kurtovic
|
04645ef72f
|
Sketch out most of the ASM test runner.
|
8 anos atrás |
Ben Kurtovic
|
e66b158aa9
|
Copyright year bumps; minor tweaks.
|
8 anos atrás |
Ben Kurtovic
|
0b2f3c0089
|
Minor update to docs.
|
9 anos atrás |
Ben Kurtovic
|
2c007c3264
|
A lot of work on general test infrastructure.
|
9 anos atrás |
Ben Kurtovic
|
49237080a2
|
Start reorganizing for tests; add cloc.sh; fix version.
|
9 anos atrás |
Ben Kurtovic
|
107d6df949
|
Remove unnecessary arg from _call_args().
|
9 anos atrás |
Ben Kurtovic
|
3b757cced7
|
Add a rst() function.
|
9 anos atrás |
Ben Kurtovic
|
8111a3e234
|
Finish adding reg() to instructions.yml.
|
9 anos atrás |
Ben Kurtovic
|
e12b7ee559
|
Replace step with reg/cond, which are smarter; replace 'cond' with 'if'.
|
9 anos atrás |
Ben Kurtovic
|
02cedd4c2b
|
Finish adding step() to instructions.yml.
|
9 anos atrás |
Ben Kurtovic
|
9b611e1c9a
|
Support step() with bit() and pseudo-cases.
|
9 anos atrás |
Ben Kurtovic
|
c3ab17f18e
|
Add a step() function to reduce repetition in instructions.yml.
|
9 anos atrás |
Ben Kurtovic
|
8f18c3ac14
|
Remove a lot of code duplication.
|
9 anos atrás |
Ben Kurtovic
|
d483afef51
|
Merge branch 'feature/asm_instructions'
|
9 anos atrás |
Ben Kurtovic
|
764211a379
|
Implement RRD, RST, SBC, SUB, and XOR.
|
9 anos atrás |
Ben Kurtovic
|
a8de15de2d
|
Implement RL, RLC, RR, RRC, SLA, SRA, SRL, and SL1/SLL/SLS.
|
9 anos atrás |
Ben Kurtovic
|
071cad0563
|
Support instructions with args and no args; implement RET.
|
9 anos atrás |
Ben Kurtovic
|
f341148eb7
|
Implement POP, PUSH, RES, and SET.
|
9 anos atrás |
Ben Kurtovic
|
5fab99ee17
|
Implement JP, JR, OR, OUT.
|
9 anos atrás |
Ben Kurtovic
|
b5459549b0
|
Support ports in update script; implement EX/IM/IN.
|
9 anos atrás |
Ben Kurtovic
|
5e9b890285
|
Support relative addressing in update script; implement CP/DEC/DJNZ.
|
9 anos atrás |
Ben Kurtovic
|
980383feee
|
Don't check INST_NARGS unless inst has optional arguments.
|
9 anos atrás |