1
0
mirror of https://github.com/KarolS/millfork.git synced 2024-11-05 15:06:24 +00:00
Commit Graph

680 Commits

Author SHA1 Message Date
Karol Stasiak
1e4b5acfba Fix some edge cases with large variables 2019-06-29 16:22:27 +02:00
Karol Stasiak
8af2cb6da2 6502: Make zeropage registers more detectable by the optimizer 2019-06-29 00:08:12 +02:00
Karol Stasiak
bcb2e362b2 Restrict subroutine extraction to make exponential runtime less likely 2019-06-29 00:07:32 +02:00
Karol Stasiak
3e0dad4cb0 Few more optimizations 2019-06-28 23:19:58 +02:00
Karol Stasiak
7cd1324c4e Fix the rasterbar example 2019-06-28 21:45:28 +02:00
Karol Stasiak
e1b2b7f2c9 Let's hope this doesn't break anything 2019-06-28 21:45:12 +02:00
Karol Stasiak
9553d45c62 Add build instructions 2019-06-28 18:43:24 +02:00
Karol Stasiak
f9e86756f9 Bump dependency versions 2019-06-28 17:58:21 +02:00
Karol Stasiak
c6d3cefa26 Fix the zp_reg module 2019-06-28 17:57:26 +02:00
Karol Stasiak
13c23c1bd1 Java 11 compatibility 2019-06-28 17:54:08 +02:00
Karol Stasiak
0af9bc4696 Better error reporting in arithmetic tests 2019-06-28 17:53:42 +02:00
Karol Stasiak
b0df56c8c0 Add more compatibility warnings to documentation 2019-06-28 17:53:00 +02:00
Karol Stasiak
39b07a8bae Fix init_rw_memory on Atari 2600 2019-06-28 16:44:41 +02:00
Karol Stasiak
6deee5f69b Update changelog 2019-06-28 16:43:50 +02:00
Karol Stasiak
674f8d1983 Allow initializing writable variables on cartridge targets 2019-06-28 16:28:49 +02:00
Karol Stasiak
7f28a6b10f Optimize the zp_reg module 2019-06-28 16:27:35 +02:00
Karol Stasiak
95249da671 Fix nes_joy module, as it was totally broken 2019-06-28 16:26:05 +02:00
Karol Stasiak
3d68d4f990 mapValues is lazy what the fuck 2019-06-28 16:24:49 +02:00
Karol Stasiak
4d59edbe51 6502: Better error messages 2019-06-28 16:23:24 +02:00
Karol Stasiak
7d051eb5e0 Don't modify macro invocations 2019-06-27 00:50:21 +02:00
Karol Stasiak
efe69eb5a9 Fix performance regressions and some bugs 2019-06-27 00:18:05 +02:00
Karol Stasiak
261486b3cd Don't enable -fsubroutine-extraction when using -Os or -Of 2019-06-26 19:07:25 +02:00
Karol Stasiak
14d6cf4d5c Fix stack overflow 2019-06-26 19:06:45 +02:00
Karol Stasiak
51599c9615 Allow defining free zeropage bytes instead of pointers 2019-06-26 18:33:59 +02:00
Karol Stasiak
c580ba33ea Fix nested #ifs 2019-06-26 18:31:45 +02:00
Karol Stasiak
fae64c52a1 Use const arrays on cartridge targets (2) 2019-06-26 18:13:00 +02:00
Karol Stasiak
892c9ec8ff Use const arrays on cartridge targets 2019-06-26 17:54:29 +02:00
Karol Stasiak
b80e46d755 Minor fixes 2019-06-26 17:06:55 +02:00
Karol Stasiak
32476f2a4e Move readkey to a separate module 2019-06-26 15:51:09 +02:00
Karol Stasiak
c9a65d5971 Added #define directive 2019-06-26 13:43:15 +02:00
Karol Stasiak
b85e175292 Use CBM_64_COMPAT for Commodore 128 2019-06-26 13:41:57 +02:00
Karol Stasiak
03f2bacd2b Add readkey and fix putchar for more targets. 2019-06-26 13:00:55 +02:00
Karol Stasiak
22cdd1c768 Z80: Fix stack variable optimizations when addresses of stack variables are taken (2) 2019-06-26 10:46:59 +02:00
Karol Stasiak
afa871abcf Z80: Fix stack variable optimizations when addresses of stack variables are taken 2019-06-26 02:11:53 +02:00
Karol Stasiak
a3b21c4810 8080: Use pointers instead of indexing when traversing an array in a loop 2019-06-26 01:56:32 +02:00
Karol Stasiak
8304650b3e 6502: Fix summing for-loops 2019-06-26 01:47:43 +02:00
Karol Stasiak
6cf746045f 8080/Z80: More optimizations 2019-06-26 01:47:03 +02:00
Karol Stasiak
507791bcaf Fix stack overflow 2019-06-26 01:46:31 +02:00
Karol Stasiak
f90d6afc43 8080: Fixed inlining of byte-sized variables into registers 2019-06-26 01:45:34 +02:00
Karol Stasiak
2ad43cf3b3 Update changelog 2019-06-25 18:26:48 +02:00
Karol Stasiak
2282e56845 6502: Faster summing for-loops 2019-06-25 18:23:31 +02:00
Karol Stasiak
260cfd50c4 Fix putword optimization 2019-06-25 18:19:57 +02:00
Karol Stasiak
e9e52d11a7 Add readkey for C64 & ZXS. Fix putchar('{q}') on C64. 2019-06-25 18:19:33 +02:00
Karol Stasiak
e394fe15c3 Add struct literals 2019-06-25 00:45:49 +02:00
Karol Stasiak
978d97cd7d Fix unused object detection 2019-06-25 00:26:52 +02:00
Karol Stasiak
d8defaad82 Fix and document for-each loops 2019-06-24 23:51:17 +02:00
Karol Stasiak
25c440f17d Add local arrays 2019-06-24 22:32:29 +02:00
Karol Stasiak
96b5918728 Clarify console output behaviour 2019-06-24 21:26:08 +02:00
Karol Stasiak
663e38c264 Optimizations:
– optimize multiplication and division by constants
– optimize multiplication, division and shifts for size
2019-06-24 15:20:39 +02:00
Karol Stasiak
8ea3957023 8080: optimize loads to HL 2019-06-24 15:18:44 +02:00