Ben Kurtovic
|
1830304c6c
|
More work on instruction parser.
|
vor 9 Jahren |
Ben Kurtovic
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
vor 9 Jahren |
Ben Kurtovic
|
a13c3bb93d
|
Implement an insane(LY AWESOME) system for instruction parsing.
|
vor 9 Jahren |
Ben Kurtovic
|
7765457495
|
Use nicer array initializer for Z80 ops.
|
vor 9 Jahren |
Ben Kurtovic
|
4f791eef59
|
More on instruction parsing, including mnemonic handling.
|
vor 9 Jahren |
Ben Kurtovic
|
295f6eb70f
|
Implement space directive; allow commas in .byte.
|
vor 9 Jahren |
Ben Kurtovic
|
2ac961d801
|
Add some credits.
|
vor 9 Jahren |
Ben Kurtovic
|
9f1c30e586
|
Disallow SMS ROMs for now.
|
vor 9 Jahren |
Ben Kurtovic
|
d9e1020d74
|
Typedef rather than macro for func ptr.
|
vor 9 Jahren |
Ben Kurtovic
|
ae17f5be4e
|
Finish parse_data().
|
vor 9 Jahren |
Ben Kurtovic
|
4d7dc57061
|
Implement rom_product() and third-party lookups.
|
vor 9 Jahren |
Ben Kurtovic
|
d47ce5735b
|
Stub out rom_product(); minor tweak.
|
vor 9 Jahren |
Ben Kurtovic
|
a839e8571c
|
Use a max depth for includes rather than trying to detect recursion.
|
vor 9 Jahren |
Ben Kurtovic
|
05c63c3f1c
|
Implement serialize_binary() and header writing.
|
vor 9 Jahren |
Ben Kurtovic
|
82f2d9740a
|
Implement parse_bytes(), bugfixes, improve error messages.
|
vor 9 Jahren |
Ben Kurtovic
|
1383d57f29
|
Remove NULL checks before free().
|
vor 9 Jahren |
Ben Kurtovic
|
a2e42e94d3
|
Implement block-crossing check.
|
vor 9 Jahren |
Ben Kurtovic
|
bfba6cd709
|
Make ASMInstruction's bytes an array.
|
vor 9 Jahren |
Ben Kurtovic
|
dbec3feb75
|
Makefile improvement; remove optimizer; minor tweaks.
|
vor 9 Jahren |
Ben Kurtovic
|
9c895af762
|
Use nice initializer syntax for error strings rather than comments.
|
vor 9 Jahren |
Ben Kurtovic
|
0903955e48
|
Properly implement slots in the tokenizer.
|
vor 9 Jahren |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
vor 9 Jahren |
Ben Kurtovic
|
9397107e21
|
Fix MMU mirroring algo, support reading 48 KB ROMs.
|
vor 9 Jahren |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
vor 9 Jahren |
Ben Kurtovic
|
65c93cf6dc
|
Finish resolve_defaults().
|
vor 9 Jahren |
Ben Kurtovic
|
fe86957a64
|
Fix adding entries to overlap table; refactor.
|
vor 9 Jahren |
Ben Kurtovic
|
c46f1045ce
|
Layout checking logic.
|
vor 9 Jahren |
Ben Kurtovic
|
2c4e26de02
|
Implement hashing for symbol table.
|
vor 9 Jahren |
Ben Kurtovic
|
c37375e4be
|
Implement label reading, symtab operations (except hashing).
|
vor 9 Jahren |
Ben Kurtovic
|
bd37eb411d
|
Move string parsing to parse_util; some refactoring.
|
vor 9 Jahren |
Ben Kurtovic
|
f916d26f7c
|
Doc updates; .s -> .asm.
|
vor 9 Jahren |
Ben Kurtovic
|
0999915c40
|
Fully support labels on the same line as other instructions.
|
vor 9 Jahren |
Ben Kurtovic
|
52858aa2b5
|
Remove .align directive; add ASMData type.
|
vor 9 Jahren |
Ben Kurtovic
|
da537ff616
|
Phase one of tokenizer and data directives.
|
vor 9 Jahren |
Ben Kurtovic
|
05e0cbb0fb
|
Implement most of resolve_defaults(); fix for declsize default behavior.
|
vor 9 Jahren |
Ben Kurtovic
|
d7aac27e51
|
Finish preprocessor.
|
vor 9 Jahren |
Ben Kurtovic
|
0fe98bd048
|
Support string arguments to .rom_size, .rom_declsize.
|
vor 9 Jahren |
Ben Kurtovic
|
2cb9b2596c
|
Implement parsing .rom_size directive.
|
vor 9 Jahren |
Ben Kurtovic
|
971af841cf
|
Refactor directive macros to hide 'arg'; misc tweaks.
|
vor 9 Jahren |
Ben Kurtovic
|
b174ddd121
|
Implement parsing header size directive.
|
vor 9 Jahren |
Ben Kurtovic
|
eebb90530e
|
Rework the preprocessor system using insanity.
|
vor 9 Jahren |
Ben Kurtovic
|
40066b06aa
|
Implement header offset check; fix error handling.
|
vor 9 Jahren |
Ben Kurtovic
|
633351cf14
|
Finish region info parsing.
|
vor 9 Jahren |
Ben Kurtovic
|
4fcd8565a6
|
Refactor preprocess() again; start on region directive.
|
vor 9 Jahren |
Ben Kurtovic
|
174a8c24a1
|
Implement ROM version; reading 8- and 16-bit ints.
|
vor 9 Jahren |
Ben Kurtovic
|
dd8b99a48b
|
Split out parse_util, directives.
|
vor 9 Jahren |
Ben Kurtovic
|
e65bb69a52
|
Implement product code directive.
|
vor 9 Jahren |
Ben Kurtovic
|
eba603659a
|
Refactor out symbol table init; stop unused arg warnings for stubs.
|
vor 9 Jahren |
Ben Kurtovic
|
27f66f9791
|
Split out preprocessor from assembler.
|
vor 9 Jahren |
Ben Kurtovic
|
c8e102bcf2
|
More splitting of assembler internals.
|
vor 9 Jahren |