1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-05-31 18:41:30 +00:00
Commit Graph

84 Commits

Author SHA1 Message Date
Karol Stasiak
1e4a193741 Optimization hints 2021-03-15 00:44:14 +01:00
Karol Stasiak
58b5b6ff28 Fix #106: the current working directory should be always included in the include path 2021-03-13 21:42:11 +01:00
Karol Stasiak
ffa0ffb899 Allow enabling/disabling warnings individually 2021-02-24 03:04:53 +01:00
Karol Stasiak
947a84833a Make some command line options repeatable 2020-09-15 17:08:22 +02:00
Karol Stasiak
a9aac4fca3 Allow omitting the .exe for the -r parameter 2020-08-01 22:20:11 +02:00
Karol Stasiak
bce48e8e4a Support BAT files for the -r options 2020-07-31 13:26:44 +02:00
Karol Stasiak
27645e93ad Add -version commandline option 2020-07-19 23:33:03 +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
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
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
128dabba3f Reorganize optimizations a bit 2020-03-17 12:20:16 +01:00
Karol Stasiak
ec8f2e6a1c Add warnings for calling from one segment to another overlapping one (#42) and -Wnone flag 2020-03-16 00:03:01 +01:00
Karol Stasiak
83b85ef0fc Support breakpoints in the label file (#44) 2020-03-16 00:01:04 +01:00
Karol Stasiak
21ffbfc466 Extra optimization pass over non-inlined functions (implements #43) 2020-02-27 01:33:34 +01:00
Karol Stasiak
b9cdd0ffff Fix for output directory creation (#21) 2020-01-03 16:13:54 +01:00
Karol Stasiak
b421dbba4f Create output directories if needed; implements #21 2020-01-03 15:01:55 +01:00
Karol Stasiak
d634e24e92 More granular differentiation of various 65C02 variants; HuC6280 improvements 2019-11-04 14:28:36 +01:00
Karol Stasiak
4191eec7f8 Add -Xd and -Xr command line options 2019-10-24 00:48:32 +02:00
Karol Stasiak
2d50e4fa73 Make the -o option optional 2019-10-22 00:14:38 +02:00
Karol Stasiak
e19ac75350 6809: Some optimizations 2019-10-08 15:11:22 +02:00
Karol Stasiak
b74974dbdd Various tweaks for Lynx 2019-09-20 01:43:58 +02:00
Karol Stasiak
6c4dc81c1b Add the -R option 2019-09-14 02:40:03 +02:00
Karol Stasiak
d91b35468e Support non-decimal numbers in -D 2019-08-16 17:52:07 +02:00
Karol Stasiak
1d530d896a 6809: Make some progress 2019-08-16 00:51:28 +02:00
Karol Stasiak
cb0718b433 6809: First bits of the code generator 2019-07-29 00:55:24 +02:00
Karol Stasiak
11825c43e1 Check if all segment exist right after parsing 2019-07-17 20:48:31 +02:00
Karol Stasiak
3852b2dbe9 More label file formats 2019-06-14 11:39:11 +02:00
Karol Stasiak
ecb366eafb Add the -i option 2019-06-14 11:28:26 +02:00
Karol Stasiak
50415714fa Detect the default include directiory when running the native executable 2019-06-13 00:16:45 +02:00
Karol Stasiak
0f179f79aa Many big important things:
– Add support for undocumented 8085 instructions
– Convert undocumented  8085 instructions to 8086
– Add new CPU types and categorize CPU types correctly
– Fix macro expansion in some situations
– Improve 8080 optimizations
– Improve documentation
– Other improvements
2019-06-12 12:06:02 +02:00
Karol Stasiak
b3bb9bb063 Intel 8085 support 2019-05-31 17:27:38 +02:00
Karol Stasiak
1cb3b672b1 Add 8080-to-8086 translation 2019-05-31 17:03:35 +02:00
Karol Stasiak
d9f88cdfad Const arrays 2019-04-30 00:41:42 +02:00
Karol Stasiak
0a36d83164 nullptr 2019-04-16 16:59:16 +02:00
Karol Stasiak
6979cbfe39 Generate checksums for Game Boy 2019-01-11 15:17:48 +01:00
Karol Stasiak
f12463aef0 Optimization refactoring:
– -Of should imply -finline
– certain optimizations should be controllable
– unused global symbols should be removed even if we're not optimizing
2018-12-27 01:18:29 +01:00
Karol Stasiak
438d8dbe6e Detection of the default include path. 2018-12-24 02:38:28 +01:00
Karol Stasiak
e43fb39781 Optimize some stdlib calls 2018-12-21 22:33:27 +01:00
Karol Stasiak
8fcf628c8f Better tracking of the original source 2018-12-17 00:35:32 +01:00
Karol Stasiak
c28b71add5 6502: Stack-related things:
– software variable stack
– fixes for handling stack variables
2018-12-14 22:01:52 +01:00
Karol Stasiak
406d69c74a Add original line numbers to generated assembly 2018-12-14 15:42:31 +01:00
Karol Stasiak
2b279ac5e8 Give the preprocessor access to compilation options 2018-08-08 13:44:30 +02:00
Karol Stasiak
02d6b5b71c 6502: Crank up the optimizations 2018-08-07 21:37:25 +02:00
Karol Stasiak
bf47473162 Allow setting the size of the zeropage register from the command line. 2018-08-06 19:15:41 +02:00
Karol Stasiak
fab1cafec3 Z80: Intel syntax support 2018-08-03 13:23:37 +02:00
Karol Stasiak
388ceb8b3a 6502: software BCD, increase default zpreg to 4 2018-08-03 13:06:23 +02:00
Karol Stasiak
e952d89849 Z80: Intel syntax for output. 2018-08-01 21:16:20 +02:00
Karol Stasiak
69f233e378 Z80: Interrupt handlers. Allow using IY as base pointer. 2018-08-01 12:50:05 +02:00