Ben Kurtovic
|
ade92aea51
|
Starting work on new ASM instructions system.
|
il y a 9 ans |
Ben Kurtovic
|
3d968c12b5
|
Add more to load instruction.
|
il y a 9 ans |
Ben Kurtovic
|
2e2e5d6216
|
Split off some of instructions into inst_support; fix z80 errors.
|
il y a 9 ans |
Ben Kurtovic
|
a00dda6686
|
Implement all ld a,<src> instructions.
|
il y a 9 ans |
Ben Kurtovic
|
08d9faa926
|
Support indirect labels; stub out LD instruction.
|
il y a 9 ans |
Ben Kurtovic
|
8babffb562
|
Implement most (all) of the no-argument instructions.
|
il y a 9 ans |
Ben Kurtovic
|
13b7b29157
|
Replace OOM checks with light wrappers around allocation functions.
|
il y a 9 ans |
Ben Kurtovic
|
cfebed6a33
|
Stub out all assembler instructions.
|
il y a 9 ans |
Ben Kurtovic
|
b6bea003d9
|
Alphabetize instructions; add ADC.
|
il y a 9 ans |
Ben Kurtovic
|
1c35adf276
|
Finish implementing .define/.undef directives.
|
il y a 9 ans |
Ben Kurtovic
|
1d6f832864
|
Make crater be quiet when assembling/disassembling is successful.
|
il y a 9 ans |
Ben Kurtovic
|
197ce39fd3
|
Do define substitution in argparsers; fix hashtables.
|
il y a 9 ans |
Ben Kurtovic
|
fdd8bb9e8a
|
Pass argparse args as a struct to make keeping track of deftabs easier.
|
il y a 9 ans |
Ben Kurtovic
|
2b5b7d8b23
|
Add hash_table_remove(); pass callback func in constructor.
|
il y a 9 ans |
Ben Kurtovic
|
7745a9cbac
|
Refactor; abstract out HashTable; start support for .DEFINEs.
|
il y a 9 ans |
Ben Kurtovic
|
145322071d
|
Support parsing labels; add checks for label length.
|
il y a 9 ans |
Ben Kurtovic
|
baa1c6f0e9
|
Implement indexed addressing, plus some bugfixes.
|
il y a 9 ans |
Ben Kurtovic
|
83f4ab380f
|
Implement parsing indirect args; fix immediates.
|
il y a 9 ans |
Ben Kurtovic
|
ab3acc4b43
|
Add add and reti instructions.
|
il y a 9 ans |
Ben Kurtovic
|
ae2fd5b2c8
|
Implement parsing of immediates; bugfix.
|
il y a 9 ans |
Ben Kurtovic
|
8bbca15e47
|
Parse condition codes.
|
il y a 9 ans |
Ben Kurtovic
|
de7aaf9aac
|
Add some additional macros to clean up inst parsers.
|
il y a 9 ans |
Ben Kurtovic
|
1830304c6c
|
More work on instruction parser.
|
il y a 9 ans |
Ben Kurtovic
|
2b300a2da1
|
Properly lower-case labels; ensure labels are not registers.
|
il y a 9 ans |
Ben Kurtovic
|
a13c3bb93d
|
Implement an insane(LY AWESOME) system for instruction parsing.
|
il y a 9 ans |
Ben Kurtovic
|
7765457495
|
Use nicer array initializer for Z80 ops.
|
il y a 9 ans |
Ben Kurtovic
|
4f791eef59
|
More on instruction parsing, including mnemonic handling.
|
il y a 9 ans |
Ben Kurtovic
|
295f6eb70f
|
Implement space directive; allow commas in .byte.
|
il y a 9 ans |
Ben Kurtovic
|
2ac961d801
|
Add some credits.
|
il y a 9 ans |
Ben Kurtovic
|
9f1c30e586
|
Disallow SMS ROMs for now.
|
il y a 9 ans |
Ben Kurtovic
|
d9e1020d74
|
Typedef rather than macro for func ptr.
|
il y a 9 ans |
Ben Kurtovic
|
ae17f5be4e
|
Finish parse_data().
|
il y a 9 ans |
Ben Kurtovic
|
4d7dc57061
|
Implement rom_product() and third-party lookups.
|
il y a 9 ans |
Ben Kurtovic
|
d47ce5735b
|
Stub out rom_product(); minor tweak.
|
il y a 9 ans |
Ben Kurtovic
|
a839e8571c
|
Use a max depth for includes rather than trying to detect recursion.
|
il y a 9 ans |
Ben Kurtovic
|
05c63c3f1c
|
Implement serialize_binary() and header writing.
|
il y a 9 ans |
Ben Kurtovic
|
82f2d9740a
|
Implement parse_bytes(), bugfixes, improve error messages.
|
il y a 9 ans |
Ben Kurtovic
|
1383d57f29
|
Remove NULL checks before free().
|
il y a 9 ans |
Ben Kurtovic
|
a2e42e94d3
|
Implement block-crossing check.
|
il y a 9 ans |
Ben Kurtovic
|
bfba6cd709
|
Make ASMInstruction's bytes an array.
|
il y a 9 ans |
Ben Kurtovic
|
dbec3feb75
|
Makefile improvement; remove optimizer; minor tweaks.
|
il y a 9 ans |
Ben Kurtovic
|
9c895af762
|
Use nice initializer syntax for error strings rather than comments.
|
il y a 9 ans |
Ben Kurtovic
|
0903955e48
|
Properly implement slots in the tokenizer.
|
il y a 9 ans |
Ben Kurtovic
|
b8ad05578f
|
Refactor out tokenizer; start implementing paging knowledge.
|
il y a 9 ans |
Ben Kurtovic
|
9397107e21
|
Fix MMU mirroring algo, support reading 48 KB ROMs.
|
il y a 9 ans |
Ben Kurtovic
|
a7a3055325
|
More robust labels, implement symbol resolution.
|
il y a 9 ans |
Ben Kurtovic
|
65c93cf6dc
|
Finish resolve_defaults().
|
il y a 9 ans |
Ben Kurtovic
|
fe86957a64
|
Fix adding entries to overlap table; refactor.
|
il y a 9 ans |
Ben Kurtovic
|
c46f1045ce
|
Layout checking logic.
|
il y a 9 ans |
Ben Kurtovic
|
2c4e26de02
|
Implement hashing for symbol table.
|
il y a 9 ans |