Commit Graph

78 Commits

Author SHA1 Message Date
Irmen de Jong
b64d611e02 split array and string literal classes 2019-08-13 03:00:17 +02:00
Irmen de Jong
2665618fa6 zp test added, some cleanups 2019-08-11 22:23:18 +02:00
Irmen de Jong
bccfeb2fa2 fix some unittests 2019-08-05 21:04:15 +02:00
Irmen de Jong
e834924857 more ++ and -- code, 'dontuse' zeropage option 2019-08-04 22:44:20 +02:00
Irmen de Jong
2c3b8a9819 more ++ and -- code, 'dontuse' zeropage option 2019-08-04 22:35:27 +02:00
Irmen de Jong
9961a404ae got rid of bytecode based compiler and vm 2019-07-23 20:44:11 +02:00
Irmen de Jong
e03c68b632 optimize imports 2019-07-17 02:11:16 +02:00
Irmen de Jong
31f4e378aa split up Literalvalue into numeric and reference ones 2019-07-15 01:11:32 +02:00
Irmen de Jong
87c28cfdbc restructure c64 machinedefinition 2019-07-13 03:16:48 +02:00
Irmen de Jong
a59f7c75dc fixed some compile time and vm arithmetic errors 2019-07-10 13:33:52 +02:00
Irmen de Jong
1794f704e7 restructuring more things 2019-07-08 14:38:51 +02:00
Irmen de Jong
ade7a4c398 restructuring vm 2019-07-08 13:40:52 +02:00
Irmen de Jong
5a27b035b0 restructuring of the AST package 2019-07-08 13:33:31 +02:00
Irmen de Jong
060e05c868 strlen and strings with zeros in them should terminate at the zero 2019-06-26 02:34:43 +02:00
Irmen de Jong
268856823a got rid of old Value in favor of new RuntimeValue implementation 2019-06-24 22:45:27 +02:00
Irmen de Jong
4bac5043b6 fix integer wraparounds for RuntimeValue 2019-06-24 22:18:50 +02:00
Irmen de Jong
ebd38f27e6 cleaned up some symbol visibilities 2019-06-23 13:49:35 +02:00
Irmen de Jong
518c3bfd76 actually, get rid of integer pow() because a naive multiplication loop approach is way too slow 2019-03-31 18:05:41 +02:00
Irmen de Jong
bf3caaefe1 stackvm now uses a proper instruction pointer call stack instead of instruction linking 2019-03-13 22:00:41 +01:00
Irmen de Jong
f5ba072294 removed str_p and str_ps pascal string types, fixes #10 2019-03-10 18:11:26 +01:00
Irmen de Jong
2f1249489b datatype cleanups 2019-02-25 01:22:56 +01:00
Irmen de Jong
ee497d2ffb improved zero page address addresses for floating point support mode 2019-02-09 17:29:59 +01:00
Irmen de Jong
7459896155 finalized zeropage variable allocation 2019-01-27 22:59:40 +01:00
Irmen de Jong
3a8f069854 zp allocations 2019-01-27 17:10:49 +01:00
Irmen de Jong
953cf9a335 preparing for vars on zeropage 2019-01-26 22:46:01 +01:00
Irmen de Jong
2911e357bd restructured program init code and library imports a bit 2019-01-20 17:45:57 +01:00
Irmen de Jong
f1b2bd1cc4 got rid of separate '//' floordivision operator 2019-01-09 22:01:47 +01:00
Irmen de Jong
b8b531276d fixed some shift opcode issues in stackvm, tweak mandelbrot example 2019-01-08 01:31:59 +01:00
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
39a8508daa sine table and bit shifting of signed values fixed 2019-01-05 02:42:58 +01:00
Irmen de Jong
9ffc68acab casts 2018-12-20 16:17:58 +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
3a7b341f47 fixes 2018-12-18 18:32:41 +01:00
Irmen de Jong
2478c73bc0 more asm float calculations 2018-12-16 03:38:17 +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
ef2ae60868 byte/word asm comparisons 2018-12-08 17:21:34 +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
8a2584c7df added JZ/JNZ/etc opcodes for conditional jumps based on stack value
fix function parameter replacement of auto-heaped strings
2018-11-27 00:35:37 +01:00
Irmen de Jong
d6432df90d got rid of 16-bit register pair variables (AX, AY, XY) they were complicating things too much 2018-11-02 22:06:57 +01:00
Irmen de Jong
4ef680f6fd assignments 2018-11-01 23:42:10 +01:00
Irmen de Jong
5bf2c4a798 got rid of matrix type 2018-10-30 20:29:03 +01:00
Irmen de Jong
7c4846700b simplified opcodes (removed COPY_XXX and MEM signed/unsigned distinction) 2018-10-27 22:08:46 +02:00
Irmen de Jong
5203dad7c1 more asm output 2018-10-26 01:44:01 +02:00
Irmen de Jong
f42a036fc5 more asm output, added COPY_MEM_XXX optimized opcodes 2018-10-25 00:28:50 +02:00
Irmen de Jong
b8f3f942d4 implemented all bit rotate and shift operations 2018-10-22 01:02:24 +02:00
Irmen de Jong
067426016d more asm 2018-10-17 01:01:01 +02:00
Irmen de Jong
b7d8f026f4 refactor 2018-10-13 18:17:06 +02:00
Irmen de Jong
dff4518608 intermediate program written in blocks 2018-10-13 16:55:01 +02:00