Commit Graph

570 Commits

Author SHA1 Message Date
Irmen de Jong
98b9ddac76 fixed missing initialization of loop index var 2018-12-29 17:09:55 +01:00
Irmen de Jong
9ddda9fcf7 for loops over iterables now allow different numeric loopvar types 2018-12-29 16:25:20 +01:00
Irmen de Jong
b01deb2170 fix for loop iteration Y register clobbering 2018-12-28 03:04:41 +01:00
Irmen de Jong
26233d5409 fixed constant folding expression reorder bug 2018-12-26 17:51:27 +01:00
Irmen de Jong
c58b862b34 more efficient code for inc/dec on arrays 2018-12-26 15:47:23 +01:00
Irmen de Jong
8adbcb7a26 irq routine activated 2018-12-26 04:51:21 +01:00
Irmen de Jong
904e317781 cleanups, fix scope of certain generated nodes in for loops 2018-12-25 01:05:38 +01:00
Irmen de Jong
d55bbcf706 removed string conversion builtin functions, they're now subroutines in c64util 2018-12-22 01:07:43 +01:00
Irmen de Jong
6a18c83fa5 min/max word and uword 2018-12-21 23:12:49 +01:00
Irmen de Jong
85c65a9a9f min/max float 2018-12-21 21:47:31 +01:00
Irmen de Jong
4c2a81c452 min/max byte arrays 2018-12-21 01:10:58 +01:00
Irmen de Jong
ee893e5a2c multiplications 2018-12-20 23:28:03 +01:00
Irmen de Jong
9ffc68acab casts 2018-12-20 16:17:58 +01:00
Irmen de Jong
e20e7f0232 upgrade to antlr 4.7.2 2018-12-20 15:05:50 +01:00
Irmen de Jong
5870006b2f introduced type cast "... as ..." instead of builtin functions 2018-12-20 03:17:41 +01:00
Irmen de Jong
445db44c05 start of typecasting mechanism "... as type" 2018-12-19 03:51:22 +01:00
Irmen de Jong
d305a44557 check for non-executed statements in main block 2018-12-19 03:04:27 +01:00
Irmen de Jong
c1204b83bd changed syntax of subroutine parameters (now the same as vardecls) 2018-12-19 02:51:22 +01:00
Irmen de Jong
00ad285d3f fix array value initialization type conversions 2018-12-19 00:57:57 +01:00
Irmen de Jong
3a7b341f47 fixes 2018-12-18 18:32:41 +01:00
Irmen de Jong
ca1d6bff56 log functions 2018-12-18 02:02:19 +01:00
Irmen de Jong
4be6a2eeef abs() 2018-12-18 01:43:04 +01:00
Irmen de Jong
bcfb390077 optimizations 2018-12-17 15:52:37 +01:00
Irmen de Jong
4a309d1e12 more functions and fixed iteration over variable 2018-12-17 13:49:19 +01:00
Irmen de Jong
178a46ad7f any and all 2018-12-17 01:59:04 +01:00
Irmen de Jong
13a5a06ffb len() 2018-12-16 13:58:18 +01:00
Irmen de Jong
2478c73bc0 more asm float calculations 2018-12-16 03:38:17 +01:00
Irmen de Jong
b9958412c7 allow passing byte/word for register/registerpair arguments, fix stackvm string parameter handling 2018-12-15 00:38:21 +01:00
Irmen de Jong
8597ea2ec7 correct printing of numbers 2018-12-14 23:15:44 +01:00
Irmen de Jong
7cb42de60e more float asm operations, fix some % operator problems 2018-12-13 01:19:43 +01:00
Irmen de Jong
584cc1dedb asm conversions to float 2018-12-12 01:13:13 +01:00
Irmen de Jong
d6cf8bcce0 fixed return values problem and wrong optimization into jump 2018-12-12 00:15:05 +01:00
Irmen de Jong
756930a54f return values problem 2018-12-11 01:54:51 +01:00
Irmen de Jong
be819ba8a7 got the number guessing example fully working on c64 asm 2018-12-11 00:09:37 +01:00
Irmen de Jong
a499ac6def string to byte 2018-12-10 09:25:38 +01:00
Irmen de Jong
f070dc22bb save X register automatically when calling sub that clobbers X 2018-12-09 19:48:59 +01:00
Irmen de Jong
b8150f645d word and uword and float comparisons 2018-12-09 17:28:34 +01:00
Irmen de Jong
21b9c2f011 sbyte less than 2018-12-09 04:10:50 +01:00
Irmen de Jong
db3d3727c2 ubyte comparisons 2018-12-08 18:54:31 +01:00
Irmen de Jong
ef2ae60868 byte/word asm comparisons 2018-12-08 17:21:34 +01:00
Irmen de Jong
432960da8b floats and random number stuff 2018-12-07 00:57:32 +01:00
Irmen de Jong
662ba6460a random number stuff 2018-12-06 01:26:38 +01:00
Irmen de Jong
80c69d83c6 random number stuff 2018-12-06 01:25:06 +01:00
Irmen de Jong
0c64d7ffe5 more asm, constants now also outputted in asm source 2018-12-05 00:30:56 +01:00
Irmen de Jong
08224d5367 error/warning colors 2018-12-04 00:54:18 +01:00
Irmen de Jong
bf5f7a271e various 2018-12-04 00:19:13 +01:00
Irmen de Jong
711d6f4ee5 fix memory pointer variables in the StackVm 2018-12-02 23:53:09 +01:00
Irmen de Jong
89ac374db9 float stuff 2018-12-02 17:59:36 +01:00
Irmen de Jong
35b112eb2c ignore debugger files 2018-11-28 01:15:17 +01:00
Irmen de Jong
211609c481 string param passing 2018-11-28 01:12:23 +01:00