1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-07-06 00:28:55 +00:00
Commit Graph

709 Commits

Author SHA1 Message Date
Karol Stasiak
7f6a2beb6d Fix compilation problems when targeting a specific 65C02 subarch (fixes #20) 2019-11-13 22:36:19 +01:00
Karol Stasiak
7b040c280b (part 2) 6502: Do not optimize away register restoration in interrupt routines (fixes #19) 2019-11-13 19:08:50 +01:00
Karol Stasiak
b10d8d7eeb 6502: Do not optimize away register restoration in interrupt routines (fixes #19) 2019-11-13 19:04:37 +01:00
Karol Stasiak
e2b7b28b63 8080: Optimize function parameters to registers 2019-11-13 18:39:51 +01:00
Karol Stasiak
3b78206c35 Fix errors about invalid function flags 2019-11-13 18:39:27 +01:00
Karol Stasiak
113befeb36 8080: Add one minor optimization 2019-11-12 13:50:12 +01:00
Karol Stasiak
d634e24e92 More granular differentiation of various 65C02 variants; HuC6280 improvements 2019-11-04 14:28:36 +01:00
Karol Stasiak
088688122e #6 Improve semicolon comment parsing 2019-11-04 14:26:01 +01:00
Karol Stasiak
b48783ee4f Add a testcase for future optimization 2019-11-04 11:20:56 +01:00
Karol Stasiak
f10ec698ef Change string terminators for petscr and atasciiscr (related to #17) 2019-11-04 02:38:07 +01:00
Karol Stasiak
d906d8aab4 Allow comments after #endif and #else 2019-11-04 02:29:44 +01:00
Karol Stasiak
4abfab41df Fix escape sequences 2019-11-04 02:28:31 +01:00
Karol Stasiak
798c49fd34 Add strz_from_screencode, strz_to_screencode, ENCCONV_SUPPORTED 2019-11-04 02:28:12 +01:00
Karol Stasiak
3a0bc0f15e Add unsigned types 2019-11-03 23:33:41 +01:00
Karol Stasiak
68fcf8f2d7 Undo the sizeof change for now 2019-11-03 23:17:44 +01:00
Karol Stasiak
38e4dd14a6 Fix tests 2019-11-03 22:59:10 +01:00
Karol Stasiak
802cd7d86a Conversions from bool to byte 2019-11-03 22:26:41 +01:00
Karol Stasiak
590db9ade0 Change type of sizeof to word. Improve type checker. 2019-11-03 22:26:19 +01:00
Karol Stasiak
ec52963b46 Fix literals 2019-11-03 22:25:08 +01:00
Karol Stasiak
ffe79a214d Add nullchar_src, NULLCHAR_SCR and NULLCHAR_SAME (relates to #17) 2019-10-31 12:20:42 +01:00
Karol Stasiak
12df1ef6e4 Make less compilation errors fatal, improve error reporting (relates to #16) 2019-10-31 12:14:52 +01:00
Karol Stasiak
7092f2a5de Properly handle all integer literal sizes 2019-10-31 12:13:02 +01:00
Karol Stasiak
4214f1f6f5 Tests for recent parser improvements 2019-10-31 12:12:10 +01:00
Karol Stasiak
33405ffcd6 Better handling for invalid statements inside segment blocks 2019-10-31 12:11:05 +01:00
Karol Stasiak
e3b3c36924 Parse function and variable flags correctly 2019-10-31 12:10:18 +01:00
Karol Stasiak
258b17beb0 Allow unary minus (fixes #18) 2019-10-31 12:09:20 +01:00
Karol Stasiak
1ddee6155d Allow for comments at the end of the file (fixes #15) 2019-10-31 12:08:45 +01:00
Karol Stasiak
6fddf1cf0d Improve documentation 2019-10-24 15:09:11 +02:00
Karol Stasiak
4191eec7f8 Add -Xd and -Xr command line options 2019-10-24 00:48:32 +02:00
Karol Stasiak
7fe32ca564 Z80: Improve optimizations 2019-10-24 00:48:16 +02:00
Karol Stasiak
72f8806c54 6502: Word addition optimizations 2019-10-23 12:56:48 +02:00
Karol Stasiak
010647682a Fix the sieve benchmark 2019-10-23 11:52:42 +02:00
Karol Stasiak
9beac45e99 Define Constant.WordZero 2019-10-23 11:03:55 +02:00
Karol Stasiak
6db5e09723 Optimize for-to loops 2019-10-22 23:38:07 +02:00
Karol Stasiak
e1107b164f Remove debugging messages 2019-10-22 18:21:47 +02:00
Karol Stasiak
3873736424 Optimize pointer indexing 2019-10-22 18:19:55 +02:00
Karol Stasiak
b7300616d1 6502: Faster accesses to small arrays 2019-10-22 16:35:17 +02:00
Karol Stasiak
d36b83421c 6502: Fix an optimization bug 2019-10-22 16:34:39 +02:00
Karol Stasiak
5ad6da2be4 6502: Optimize hi(nonet(...)) 2019-10-22 16:34:13 +02:00
Karol Stasiak
ec96f16482 Improve and fix 16-bit comparisons 2019-10-22 13:54:30 +02:00
Karol Stasiak
ff46129c4e #11 Fix allocation of variables in functions with trampolines 2019-10-22 01:39:11 +02:00
Karol Stasiak
f65651f2c0 #6 Improve error messages related to semicolons 2019-10-22 01:06:51 +02:00
Karol Stasiak
09294307fd #8 Standardise the behaviour of for loops. 2019-10-22 00:41:34 +02:00
Karol Stasiak
2d50e4fa73 Make the -o option optional 2019-10-22 00:14:38 +02:00
Karol Stasiak
9e8b889533 #10 Fix removal of unused global structs and preserve reads in assignments from volatiles to unuseds. 2019-10-22 00:05:44 +02:00
Karol Stasiak
f5b6d9999c #9 Support astral characters in UTF-8 2019-10-18 11:01:31 +02:00
Karol Stasiak
3a6790e47a Add UTF-8 and UTF-16 encodings #9 2019-10-17 23:23:57 +02:00
Karol Stasiak
4fc0b98561 6809: Support break and continue 2019-10-16 22:43:16 +02:00
Karol Stasiak
1ec816496d Allow adding fixed deltas to some outputs; #7 Fix Lynx output 2019-10-16 22:42:58 +02:00
Karol Stasiak
927c39585c Fix non-compiling code
An incremental compiler can be both a blessing and a curse
2019-10-15 00:51:16 +02:00