Commit Graph

62 Commits

Author SHA1 Message Date
Irmen de Jong
d203bfaf25 normal division is always float, implemented (u)byte integer division 2019-01-06 01:43:47 +01:00
Irmen de Jong
4f213191dc fix asm stack bug 2019-01-05 18:02:17 +01:00
Irmen de Jong
9f4ac37a00 split off c64flt library for all floating point routines 2019-01-05 16:09:05 +01:00
Irmen de Jong
39a8508daa sine table and bit shifting of signed values fixed 2019-01-05 02:42:58 +01:00
Irmen de Jong
32d82e8e56 asmsubs can now specify params and return values to be on the stack.
implemented fast integer fixed-point sin and cosine functions.
2019-01-04 22:11:46 +01:00
Irmen de Jong
526b28caa7 avoid impossible type casts 2019-01-04 02:30:59 +01:00
Irmen de Jong
299d1bdab8 fixed for loop with step size >1 2019-01-02 03:18:32 +01:00
Irmen de Jong
2f9eabeac7 c64 irq handling routines 2019-01-02 02:47:52 +01:00
Irmen de Jong
c2eb181b5a added memcopy function 2019-01-01 18:38:43 +01:00
Irmen de Jong
aeb963673a sprites example 2018-12-31 01:52:18 +01:00
Irmen de Jong
500777bf78 added direct memory access ("poke"/"peek") 2018-12-31 01:10:42 +01:00
Irmen de Jong
b69697c3dd fixed array lookup and cube3d c64 example 2018-12-30 01:51:32 +01:00
Irmen de Jong
6e8cf7e1d3 implemented sum() asm 2018-12-30 00:05:54 +01:00
Irmen de Jong
18723590c5 should disable irq when doing bcd math 2018-12-29 20:33:22 +01:00
Irmen de Jong
575bc7aa9a stack error fix 2018-12-29 20:01:07 +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
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
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
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
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
0c64d7ffe5 more asm, constants now also outputted in asm source 2018-12-05 00:30:56 +01:00
Irmen de Jong
711d6f4ee5 fix memory pointer variables in the StackVm 2018-12-02 23:53:09 +01:00
Irmen de Jong
43c99f1d89 strings of len 1 are no longer converted to byte value, plus some other tweaks 2018-11-25 23:42:37 +01:00
Irmen de Jong
e89788eeab adjust return value literal type to subroutine return type 2018-11-21 00:02:02 +01:00
Irmen de Jong
fad74a6ae0 tweaking multiple assignment targets 2018-11-19 01:31:07 +01:00
Irmen de Jong
54e52a910a assignments 2018-11-02 21:34:12 +01:00