Ben Kurtovic
|
174a8c24a1
|
Implement ROM version; reading 8- and 16-bit ints.
|
9 years ago |
Ben Kurtovic
|
dd8b99a48b
|
Split out parse_util, directives.
|
9 years ago |
Ben Kurtovic
|
e65bb69a52
|
Implement product code directive.
|
9 years ago |
Ben Kurtovic
|
eba603659a
|
Refactor out symbol table init; stop unused arg warnings for stubs.
|
9 years ago |
Ben Kurtovic
|
27f66f9791
|
Split out preprocessor from assembler.
|
9 years ago |
Ben Kurtovic
|
c8e102bcf2
|
More splitting of assembler internals.
|
9 years ago |
Ben Kurtovic
|
2186044476
|
Begin refactoring assembler into multiple files; fix use-after-free.
|
9 years ago |
Ben Kurtovic
|
f9276db105
|
Implement preprocessor for .optimizer.
|
9 years ago |
Ben Kurtovic
|
840227e560
|
Catch duplicates in preprocessor directives.
|
9 years ago |
Ben Kurtovic
|
720d1d124c
|
Directive processing stubs; fix directive matching.
|
9 years ago |
Ben Kurtovic
|
5cf943fd7e
|
Handle infinite recursion in include directives.
|
9 years ago |
Ben Kurtovic
|
2879ac1350
|
Add ASM error strings; refactor somewhat.
|
9 years ago |
Ben Kurtovic
|
b7871b77e5
|
Rough mockup for error handling.
|
9 years ago |
Ben Kurtovic
|
3a4cd414be
|
Add parsing for include directives, etc.
|
9 years ago |
Ben Kurtovic
|
f5e1f19ab6
|
Enable ASAN for debug builds.
|
9 years ago |
Ben Kurtovic
|
8da3663670
|
Implement normalize_line(), misc.
|
9 years ago |
Ben Kurtovic
|
22b771d39a
|
Lots of work on assembler internal structure; refactor.
|
9 years ago |
Ben Kurtovic
|
b89f5fa1bf
|
Start working on assembler.
|
9 years ago |
Ben Kurtovic
|
57dd9265a3
|
More robust checksum code.
|
9 years ago |
Ben Kurtovic
|
ced62acfbb
|
Implement checksum validation method.
|
9 years ago |
Ben Kurtovic
|
e74daecb81
|
Print out decimal register values too; add more tests.
|
9 years ago |
Ben Kurtovic
|
ec73b63ba1
|
Add more basic math tests.
|
9 years ago |
Ben Kurtovic
|
0317a2633d
|
Starting assembly test code.
|
9 years ago |
Ben Kurtovic
|
989d4938af
|
Fix cycle timing.
|
9 years ago |
Ben Kurtovic
|
0a61a4c8b0
|
Rename z80_instructions.inc.c to z80_ops.inc.c
|
9 years ago |
Ben Kurtovic
|
c1f33cd530
|
Rename .inc to .inc.c; add support to makefile.
|
9 years ago |
Ben Kurtovic
|
03066c54eb
|
Implement INC ss.
|
9 years ago |
Ben Kurtovic
|
8e413e7a5e
|
Start implementing Z80 instructions.
|
9 years ago |
Ben Kurtovic
|
5c16f4fad3
|
Implement memory reads, writes.
|
9 years ago |
Ben Kurtovic
|
fcf8b201cc
|
Increment the R register on memory refresh.
|
9 years ago |
Ben Kurtovic
|
5cc208f07e
|
Implement most MMU functions.
|
9 years ago |
Ben Kurtovic
|
274b2eaa93
|
Stub out MMU functions, opcodes; const fixes.
|
9 years ago |
Ben Kurtovic
|
b21e0ed35a
|
Add full exception handling logic.
|
9 years ago |
Ben Kurtovic
|
443fb46beb
|
Add signal handling, plus basic instruction fetch logic.
|
9 years ago |
Ben Kurtovic
|
22a2c432e7
|
Also print out reported size in ROM header info.
|
9 years ago |
Ben Kurtovic
|
e25bf5fbd7
|
Exceptions should be errors, not debug messages.
|
9 years ago |
Ben Kurtovic
|
a202baa3a6
|
Add proper timing code, etc.
|
9 years ago |
Ben Kurtovic
|
4127f2eb5d
|
Add registers to Z80, plus some skeleton code.
|
9 years ago |
Ben Kurtovic
|
88e36ebd13
|
Add IOManager, which manages emulation rather than the GG itself.
|
9 years ago |
Ben Kurtovic
|
96e2a3f1d5
|
Stub out some GG methods; minor cleanup.
|
9 years ago |
Ben Kurtovic
|
df05d736c5
|
Finish ROM header parsing code.
|
9 years ago |
Ben Kurtovic
|
332216b193
|
Work on parsing headers.
|
9 years ago |
Ben Kurtovic
|
afe764d034
|
Improve ROM loading.
|
9 years ago |
Ben Kurtovic
|
103dfaf841
|
Stub out assembler/disassembler code.
|
9 years ago |
Ben Kurtovic
|
5d426648bd
|
Make assembler output file optional; sanity checks; bugfixes.
|
9 years ago |
Ben Kurtovic
|
50c4ea79c8
|
Call different stuff for the assembler/disassembler.
|
9 years ago |
Ben Kurtovic
|
f57b1828b9
|
Bugfix/cleanup for argument parsing.
|
9 years ago |
Ben Kurtovic
|
7bbf32f52c
|
Refactor config parsing greatly; support new arguments.
|
9 years ago |
Ben Kurtovic
|
da8a18c338
|
Start adding some new arguments.
|
9 years ago |
Ben Kurtovic
|
1601d86349
|
Guard against reading directories as ROM files.
|
9 years ago |