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