Ben Kurtovic
|
80e361c111
|
More instructions, mainly index-related; tweaks.
|
8 years ago |
Ben Kurtovic
|
df3277a2b6
|
Fix bugs in BIT; add trace for IRQ; make MMU mapping logs trace-level.
|
8 years ago |
Ben Kurtovic
|
53c0757362
|
Implement an assorted bunch of instructions.
|
8 years ago |
Ben Kurtovic
|
1b48fbe6a2
|
Add Z80 INT support and VDP frame interrupts.
|
8 years ago |
Ben Kurtovic
|
1227d7caa5
|
Add VDP register parsing and dumping.
|
8 years ago |
Ben Kurtovic
|
3b12d5cd12
|
Refactor emulator control. Add callback for SDL.
|
8 years ago |
Ben Kurtovic
|
cbc1d7f02d
|
EX; more bitwise/arithmetic ops; bugfixes.
|
8 years ago |
Ben Kurtovic
|
06b7dfaca3
|
Implement CRAM, some more loads and arithmetic operations.
|
8 years ago |
Ben Kurtovic
|
1cc4f06b89
|
LDI; LDD; LDIR; LDDR
|
8 years ago |
Ben Kurtovic
|
da5765a3c7
|
PUSH/POP IX/Y; DJNZ; LD (HL), r
|
8 years ago |
Ben Kurtovic
|
61c104a0f3
|
Rework timing system for VDP scanlines; flesh out more VDP logic.
|
8 years ago |
Ben Kurtovic
|
a09242ac29
|
Some refactoring wrt I/O; start work on VDP.
|
8 years ago |
Ben Kurtovic
|
3ca7f26aa0
|
Stub out port reads/writes; RETN; RST.
|
8 years ago |
Ben Kurtovic
|
a167e9dcd7
|
RET; IN/OUT r/(C), (C)/r; INI/D; INI/DR; OUTI/D; OTI/DR; NOP2
|
8 years ago |
Ben Kurtovic
|
1efe2b579d
|
Add POP; fix bugs involving relative jumps and PUSH.
|
8 years ago |
Ben Kurtovic
|
3381c36c89
|
PUSH
|
8 years ago |
Ben Kurtovic
|
8de5117a49
|
mmu_write_double, stack_push; LD (HL), n; JR; CALL
|
8 years ago |
Ben Kurtovic
|
c2a52194a8
|
CP, IN, OUT, JP cc; stub out port functions.
|
8 years ago |
Ben Kurtovic
|
7c6d58fd6b
|
XOR r; LD (nn, A)
|
8 years ago |
Ben Kurtovic
|
deb9943b1c
|
Split off jump table; implement IM and JP nn.
|
8 years ago |
Ben Kurtovic
|
bec5bbc85c
|
Add smart padding for disassembled bytes.
|
8 years ago |
Ben Kurtovic
|
ff25c1d436
|
Nicer bytestring formatting in disassembly.
|
8 years ago |
Ben Kurtovic
|
b504b7c888
|
Include memory addresses in disassembly comments.
|
8 years ago |
Ben Kurtovic
|
c53de6f4c5
|
Fix alignment in disassembler-generated .rom_size directive.
|
8 years ago |
Ben Kurtovic
|
6e69d09d68
|
Disassemble code in firxt 0x1000 bytes as a test.
|
8 years ago |
Ben Kurtovic
|
da2a767459
|
Fix a broken jump argument; use hex for ports.
|
8 years ago |
Ben Kurtovic
|
1818c1eede
|
Fix assembler bugs in "ex af, af'" and "ex (sp), hl".
|
8 years ago |
Ben Kurtovic
|
0e0c81589f
|
(Very basic) working disassembler.
|
8 years ago |
Ben Kurtovic
|
fb9d6e1b2b
|
Work on ROM file (i.e., non-inline) disassembler.
|
8 years ago |
Ben Kurtovic
|
962171b7ee
|
Store a few extra header fields in the ROM struct; typo fix.
|
8 years ago |
Ben Kurtovic
|
4047d6e3f4
|
Fill out instruction argument tables.
|
8 years ago |
Ben Kurtovic
|
43e641fabd
|
Finish argument immediate decoding.
|
8 years ago |
Ben Kurtovic
|
610f9cf549
|
Start filling out argument decoder table; make things const.
|
8 years ago |
Ben Kurtovic
|
dd83c7bddf
|
Start working on argument disassembler.
|
8 years ago |
Ben Kurtovic
|
89d3d65cde
|
Finish mnemonics; shorten size tables.
|
8 years ago |
Ben Kurtovic
|
643b0184d7
|
Implement more load instructions; bugfixes.
|
8 years ago |
Ben Kurtovic
|
bbb3fc3744
|
Don't trace previous instruction multiple times
|
8 years ago |
Ben Kurtovic
|
0acd77f6ae
|
Fix shadow registers.
|
8 years ago |
Ben Kurtovic
|
560eceeedf
|
EXX, DI, EI, HALT
|
8 years ago |
Ben Kurtovic
|
ba701545b2
|
Fix assembler bug involving extended immediates.
|
8 years ago |
Ben Kurtovic
|
cf1985bee9
|
Implement more load instructions.
|
8 years ago |
Ben Kurtovic
|
6ba2ec6645
|
Fill single-opcode mnemonics.
|
8 years ago |
Ben Kurtovic
|
235e4c7cff
|
Begin work on disassembler; extend tracing.
|
8 years ago |
Ben Kurtovic
|
6e6e613dad
|
Refactor and improve argument parsing (add support for -abcd)
|
8 years ago |
Ben Kurtovic
|
1a00100fe6
|
Add color to logs
|
8 years ago |
Ben Kurtovic
|
a74c4ab405
|
Refactor debug logging as distinct from dev build; add tracing.
|
8 years ago |
Ben Kurtovic
|
08b958f971
|
Merge branch 'feature/asm_tests' into develop
|
8 years ago |
Ben Kurtovic
|
c8ecf01600
|
Add ASM instruction test.
|
8 years ago |
Ben Kurtovic
|
c632ddf9bd
|
Document and add new ASM tests.
|
8 years ago |
Ben Kurtovic
|
a3b943aebb
|
Fix implementation of ASCIIz strings.
|
8 years ago |