1
0
mirror of https://github.com/KarolS/millfork.git synced 2026-04-19 10:42:10 +00:00
Commit Graph

532 Commits

Author SHA1 Message Date
Karol Stasiak fb42e77e6e 6502: Two fixes:
– fix writing constants to volatile variables
– fix optimizing variables to registers yet again
2018-12-31 13:19:13 +01:00
Karol Stasiak 2f63eafc3a Guess-a-number example; make echo run on PC-88 2018-12-30 19:10:57 +01:00
Karol Stasiak c438152f1d Update changelog 2018-12-30 19:01:38 +01:00
Karol Stasiak 75e572f58c Library improvements:
– random module
– ensure_mixedcase() function
2018-12-30 18:59:32 +01:00
Karol Stasiak fc56c11b31 Hint typoed identifiers 2018-12-30 18:55:03 +01:00
Karol Stasiak b068663729 PET: Add oldpet and origpet encodings 2018-12-30 18:54:45 +01:00
Karol Stasiak 6c8ee34a2e Z80: Fix jump following 2018-12-30 18:53:26 +01:00
Karol Stasiak 7a1abfba24 Optimization improvements 2018-12-30 00:52:40 +01:00
Karol Stasiak a100675c7c Documentation update 2018-12-29 20:16:05 +01:00
Karol Stasiak 9a7086fd8c Fire effect example 2018-12-29 20:12:19 +01:00
Karol Stasiak d7b2181ef5 If a variable is used wholly within a loop body and initialized conditionally, do not remove the last store to it 2018-12-29 20:07:43 +01:00
Karol Stasiak cbe709a9cf 6502: fix optimizations using index registers 2018-12-29 20:01:17 +01:00
Karol Stasiak fca2700787 Z80: fix assembly output 2018-12-29 20:00:40 +01:00
Karol Stasiak b0e20ade0f Export compiler version as preprocessor parameter 2018-12-29 20:00:06 +01:00
Karol Stasiak 80e4b6d173 Fix #use and #pragma 2018-12-29 19:59:17 +01:00
Karol Stasiak ff78c738f2 Switch to snapshot versioning 2018-12-28 19:24:56 +01:00
Karol Stasiak 57ada60435 Version 0.3.2 v0.3.2 2018-12-28 19:14:30 +01:00
Karol Stasiak 0dc16e9af2 8080: Don't change BC/DE when not allowed to 2018-12-28 11:38:52 +01:00
Karol Stasiak 588d52ca80 Better handling of memory alignment 2018-12-28 11:26:55 +01:00
Karol Stasiak 1c55304bad 8080: Exchange BC/DE registers pairs 2018-12-28 11:25:12 +01:00
Karol Stasiak e66e938469 6502: Fix variable inlining 2018-12-28 01:17:23 +01:00
Karol Stasiak 95e37d63f1 Remove debugging 2018-12-27 22:02:13 +01:00
Karol Stasiak f848bf898c 6502: inline variables to registers swapping addressing modes 2018-12-27 20:49:54 +01:00
Karol Stasiak 46bf726818 Optimize for loops 2018-12-27 20:47:18 +01:00
Karol Stasiak 985663083a 6502: Fix some optimizations 2018-12-27 20:46:58 +01:00
Karol Stasiak e0cc25c54f Fix syntax colouring 2018-12-27 15:10:21 +01:00
Karol Stasiak 59afc24db6 Fix memset 2018-12-27 14:19:04 +01:00
Karol Stasiak 0ded460840 8080: Test subroutine extraction 2018-12-27 14:18:30 +01:00
Karol Stasiak 9ff254c72d Allow hi() and lo() in inline assembly 2018-12-27 14:17:48 +01:00
Karol Stasiak 4d64bbafac 6502: always fold constants 2018-12-27 14:16:34 +01:00
Karol Stasiak 0843970410 Fix syntax colouring 2018-12-27 14:06:09 +01:00
Karol Stasiak 8cc612976e Fix nonet subtraction warning message 2018-12-27 14:05:38 +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 b77f9dd5f8 Fix deduplication 2018-12-26 15:28:57 +01:00
Karol Stasiak 0bb662183c Faster comparisons to 0 and $FFFF 2018-12-26 02:05:41 +01:00
Karol Stasiak 9669e4d87d Cache AST typing 2018-12-26 01:26:12 +01:00
Karol Stasiak bf5639761b Optimize constant comparisons 2018-12-26 01:01:43 +01:00
Karol Stasiak 438d8dbe6e Detection of the default include path. 2018-12-24 02:38:28 +01:00
Karol Stasiak 7bf9616fcb Fix/improve documentation 2018-12-24 01:32:17 +01:00
Karol Stasiak aebae97cc8 Source file name in preprocessor errors 2018-12-24 01:20:41 +01:00
Karol Stasiak acaaa5bdfe Implicit ranges in for loops are dumb, remove 2018-12-22 01:30:54 +01:00
Karol Stasiak 84c3406dc7 Fix for over enum 2018-12-22 01:30:39 +01:00
Karol Stasiak 02e91070aa Accept bytes as LHS for >>>> 2018-12-21 22:36:53 +01:00
Karol Stasiak d62901fb51 6502: Allow more complex expressions 2018-12-21 22:36:29 +01:00
Karol Stasiak 76dd4929a6 6502: Track which pointers need to be on zeropage 2018-12-21 22:36:05 +01:00
Karol Stasiak 36a0065b96 Forbid redefining builtins 2018-12-21 22:35:16 +01:00
Karol Stasiak e43fb39781 Optimize some stdlib calls 2018-12-21 22:33:27 +01:00
Karol Stasiak 673727b973 Allow empty strings 2018-12-21 22:32:34 +01:00
Karol Stasiak 62575263c2 NEC PC-88: readline 2018-12-20 00:47:42 +01:00
Karol Stasiak e90483f381 Move hello_world 2018-12-19 22:46:21 +01:00