Karol Stasiak
b24ac32932
Z80: Support IXH/IXL/IYH/IYL registers. Add Intel syntax for Z80 instructions.
2020-07-24 17:27:37 +02:00
Karol Stasiak
000aede8db
Do not remove constants used only as array sizes ( #51 )
2020-07-19 23:34:14 +02:00
Karol Stasiak
27645e93ad
Add -version
commandline option
2020-07-19 23:33:03 +02:00
Karol Stasiak
8a0c552762
6502: Optimize some more rarer repeated index calculations ( #50 )
2020-07-19 01:46:09 +02:00
Karol Stasiak
09ff184172
6502: Optimizations for certain byte additions ( #50 )
2020-07-19 00:56:23 +02:00
Karol Stasiak
63aab64204
6502: Optimize array accesses for small arrays and also for repeated indices ( #50 )
2020-07-18 01:32:41 +02:00
Karol Stasiak
d0bf683657
Various fixes
2020-07-18 01:16:31 +02:00
Karol Stasiak
a2c49a1f89
Add manual type alignment. 6502: Optimize multiplications by constants.
2020-07-18 01:15:33 +02:00
Karol Stasiak
31a8504195
Fix raw views of typed pointers
2020-07-18 01:11:20 +02:00
Karol Stasiak
d346800590
6809: enable most unit tests
2020-07-13 23:10:38 +02:00
Karol Stasiak
fff27c59ea
6809: optimize indirect stores
2020-07-13 23:09:52 +02:00
Karol Stasiak
0b948f801d
Fix PCW encoding
2020-07-13 23:09:06 +02:00
Karol Stasiak
632bb0c994
Allow modifying large things via pointers
2020-07-13 22:49:23 +02:00
Karol Stasiak
b9736f924c
6809: Fix indirect variable accesses
2020-07-13 22:10:36 +02:00
Karol Stasiak
350c5d2d5d
6809: fix indirect addressing mode
2020-07-13 22:10:04 +02:00
Karol Stasiak
a22571f60b
6809: tons of improvements:
...
* stack variables
* large comparisons
* pointer optimizations
* fixed constant evaluation
2020-07-09 01:50:18 +02:00
Karol Stasiak
b9bf433308
6809: implement retun dispatch statements
2020-06-24 01:18:38 +02:00
Karol Stasiak
b7a34457fb
6809: Update emulators and fix decimal subtraction
2020-06-22 01:17:42 +02:00
Karol Stasiak
e77811c67c
6809: Implement decimal operations
2020-06-21 02:25:02 +02:00
Karol Stasiak
b387ece71d
6809: Improved support for large types
2020-06-18 20:29:31 +02:00
Karol Stasiak
88b2bbd434
6809: Various improvements
2020-06-17 02:08:17 +02:00
Karol Stasiak
2b0090714c
#49 Export fixed addresses to the symbol file
2020-06-17 02:07:32 +02:00
Karol Stasiak
78a680c0d6
6809: Implement +', -' and <<' operators for bytes
2020-06-11 02:39:59 +02:00
Karol Stasiak
2d19537ed3
6809: Fix writing through pointers
2020-06-09 22:56:16 +02:00
Karol Stasiak
a947946313
Fix test
2020-06-09 22:37:55 +02:00
Karol Stasiak
bfe90193fa
6809: Implement / and %% operators
2020-06-09 22:35:57 +02:00
Karol Stasiak
dd78b14c5e
6809: more optimizations
2020-06-09 21:44:22 +02:00
Karol Stasiak
4e19b1ba34
6809: Fix -=
2020-06-09 21:43:31 +02:00
Karol Stasiak
b0577270d5
6809: various assembly fixes
2020-06-09 21:43:04 +02:00
Karol Stasiak
7ba01f83e3
6809: implement * and : operators
2020-06-04 17:07:19 +02:00
Karol Stasiak
b91f259971
6809: Assembly parsing improvements
2020-06-04 17:06:29 +02:00
Karol Stasiak
718245c56a
Module templates
2020-06-03 23:13:17 +02:00
Karol Stasiak
655edc35ff
Allow sizeof in assembly
2020-05-01 15:18:48 +02:00
Karol Stasiak
7f9bd18bdd
The big text encoding overhaul
2020-05-01 01:31:54 +02:00
Karol Stasiak
78fe0e37bb
Allow importing modules from subdirectories. Move platform definitions
2020-04-27 12:42:18 +02:00
Karol Stasiak
c8492173ee
6502: Improve index register optimizations
2020-04-27 12:02:45 +02:00
Karol Stasiak
29335d376a
8080: Use a register pair instead of absolute addressing when the registers are loaded anyway
2020-04-08 09:26:44 +02:00
Karol Stasiak
dcf8fb2900
Add support for MkImg for making BBC micro disk images
2020-04-06 22:53:15 +02:00
Karol Stasiak
0cba2dec04
Generate .INF file for every output file
2020-04-06 17:54:59 +02:00
Karol Stasiak
eba91e26e5
Remove a debugging message
2020-04-06 13:28:23 +02:00
Karol Stasiak
5b3e812bb1
8080: Fix some stack-related optimizations
2020-04-06 12:00:10 +02:00
Karol Stasiak
78346af2ef
8080: Some minor improvements
2020-04-06 11:35:14 +02:00
Karol Stasiak
078b22869a
8080: optimize some more cases of stack use
2020-04-05 23:13:43 +02:00
Karol Stasiak
064a9d7022
Fix some NPEs
2020-04-05 23:12:59 +02:00
Karol Stasiak
5df695f2c2
Add support for Pascal-style strings
2020-04-04 00:45:09 +02:00
Karol Stasiak
7ce088514f
6502: Fix and optimize sign extension
2020-04-02 00:22:15 +02:00
Karol Stasiak
80018a55b4
Allow different output formats for different segments
2020-03-31 19:01:29 +02:00
Karol Stasiak
ceef57ed18
Change encodeOneChar
to encodeDigit
2020-03-31 18:48:11 +02:00
Karol Stasiak
742fc50ccc
Don't used str2word
as scrstr2word
when the string terminator matches, but digits don't
2020-03-31 17:58:46 +02:00
Karol Stasiak
63ff28e94e
Changes to macros and parameter list syntax:
...
* non-asm macros can now take `const` and `call` parameters
* register parameters to asm functions and macros can be given names if annotated explicitly
2020-03-30 19:23:48 +02:00