Ben Kurtovic
|
e48d7daa0d
|
Add button input; fix background scrolling bug.
|
8 years ago |
Ben Kurtovic
|
2b24c9340c
|
Sprite rendering, mostly.
|
8 years ago |
Ben Kurtovic
|
daac49e3d7
|
Implement SET/RES for IX/IY.
|
8 years ago |
Ben Kurtovic
|
51258e724f
|
CCF, SCF, DAA; bugfixes.
|
8 years ago |
Ben Kurtovic
|
5a8063315d
|
BIT, RES, CPL; add missing opcode docs.
|
8 years ago |
Ben Kurtovic
|
26dcf57f1b
|
Flesh out system ports; clean up IO; stubs.
|
8 years ago |
Ben Kurtovic
|
4431f29005
|
Add VDP line interrupts; fix bugs; refactor flags.
|
8 years ago |
Ben Kurtovic
|
af58cedce3
|
Fix assorted bugs.
|
8 years ago |
Ben Kurtovic
|
1d604d774b
|
Cleanup VDP debug code; don't enable IRQ until one instr past EI.
|
8 years ago |
Ben Kurtovic
|
56580d7392
|
Implement NEG and some bugfixes.
|
8 years ago |
Ben Kurtovic
|
e4bbc8709f
|
Clean up VDP background code.
|
8 years ago |
Ben Kurtovic
|
cbe14eadcd
|
Refactor: pass the entire Config object to the emulator.
|
8 years ago |
Ben Kurtovic
|
de2cf71068
|
Clean up and refactor.
|
8 years ago |
Ben Kurtovic
|
a69328a234
|
Add buggy SDL rendering, background drawing.
|
8 years ago |
Ben Kurtovic
|
1942d797aa
|
Implement more instructions, mainly bit-shifting.
|
8 years ago |
Ben Kurtovic
|
fdda540d26
|
Refactor flag setting code; implement more instructions.
|
8 years ago |
Ben Kurtovic
|
67e3133f14
|
Fix a bug in VDP control port writes; rename 'last_index' to 'regs.ixy'.
|
8 years ago |
Ben Kurtovic
|
d6d3b60b3e
|
Fix a couple assembler bugs involving obscure instructions.
|
8 years ago |
Ben Kurtovic
|
05b0bbe523
|
Make Z80 register pairs friendlier. Implement more instructions.
|
8 years ago |
Ben Kurtovic
|
42690f9380
|
Implement more instructions.
|
8 years ago |
Ben Kurtovic
|
c14ad04c48
|
Simplify and fix index bit instructions in disassembler.
|
8 years ago |
Ben Kurtovic
|
34c9e778b5
|
Add stubs for PSG.
|
8 years ago |
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 |