Irmen de Jong
|
fc5889ec0b
|
kotlin 2.2.10, kotest
|
2025-08-19 01:04:24 +02:00 |
|
Irmen de Jong
|
369303c46d
|
fix register clobbering in pointer deref
|
2025-08-18 23:36:35 +02:00 |
|
Irmen de Jong
|
d65670cc7b
|
fix 6502 address-of for array-indexed pointers (pointer arithmetic)
|
2025-08-18 20:24:39 +02:00 |
|
Irmen de Jong
|
f74eeaee0f
|
fix IR address-of for array-indexed pointers (pointer arithmetic)
|
2025-08-18 03:24:32 +02:00 |
|
Irmen de Jong
|
826fb3e9c2
|
implemented assign indexed ptr byte
|
2025-08-17 13:21:31 +02:00 |
|
Irmen de Jong
|
0cc36ed6e4
|
pointer TODO's all as stub methods in the PointerAssignmentsGen class
|
2025-08-16 16:21:06 +02:00 |
|
Irmen de Jong
|
4a8d5def84
|
code cleanups, pointer TODOs, docs dark mode
|
2025-08-16 11:25:18 +02:00 |
|
Irmen de Jong
|
2f60716082
|
6502 struct allocation to asm file, struct name and field prefixing (maybe unneeded...)
|
2025-08-16 01:49:22 +02:00 |
|
Irmen de Jong
|
729efb04e1
|
fix code size regressions
|
2025-08-14 23:59:59 +02:00 |
|
Irmen de Jong
|
e800c165f9
|
fix 6502 inplace pointer variable assignment
|
2025-08-14 20:38:18 +02:00 |
|
Irmen de Jong
|
fd9bd23449
|
6502 statementreorderer: str -> ^^ubyte
|
2025-08-13 18:45:29 +02:00 |
|
Irmen de Jong
|
8880ed1393
|
fix address-of struct fields
|
2025-08-08 23:08:47 +02:00 |
|
Irmen de Jong
|
f7fde070ca
|
fix boolean pointer condition in if expression
|
2025-08-08 22:15:58 +02:00 |
|
Irmen de Jong
|
5ada80779d
|
Merge branch 'refs/heads/master' into structs6502
# Conflicts:
# examples/test.p8
|
2025-08-07 21:25:07 +02:00 |
|
Irmen de Jong
|
8972235a0e
|
fix missing peekbool() and pokebool() code gen
|
2025-08-07 21:22:48 +02:00 |
|
Irmen de Jong
|
e56f533e38
|
more basic pointer inplace operations
|
2025-08-07 00:36:47 +02:00 |
|
Irmen de Jong
|
324fb7dbf7
|
more basic pointer inplace operations (float)
basic pointers unit test now passes
|
2025-08-06 22:26:23 +02:00 |
|
Irmen de Jong
|
44285b9b5d
|
more basic pointer inplace operations
|
2025-08-06 00:32:15 +02:00 |
|
Irmen de Jong
|
a68f477d61
|
Merge branch 'master' into structs6502
# Conflicts:
# docs/source/todo.rst
# examples/test.p8
|
2025-08-05 23:29:58 +02:00 |
|
Irmen de Jong
|
9e85571a7b
|
fix pointer variable usage detection in other block
|
2025-08-05 17:39:22 +02:00 |
|
Irmen de Jong
|
9e10c15e2e
|
working on 6502 pointer inplace assignments
|
2025-08-04 23:32:17 +02:00 |
|
Irmen de Jong
|
6bd7752bac
|
working on 6502 pointer dereferencing
|
2025-08-04 20:22:13 +02:00 |
|
Irmen de Jong
|
83ec437e8a
|
testpointers unit test now also for 6502 targets
implementing first simple pointer operations
pointer vars also allocated in ZP for dontcare
|
2025-08-03 22:12:03 +02:00 |
|
Irmen de Jong
|
4a1d05dd46
|
first 6502 codegen results
|
2025-08-03 16:10:00 +02:00 |
|
Irmen de Jong
|
aa324e355a
|
remove 6502 pointer check, TODOs for pointer assignments
|
2025-08-03 13:28:39 +02:00 |
|
Irmen de Jong
|
bbd06c0c99
|
implement peekbool/pokebool on 6502, fix float assignment register error
|
2025-08-02 21:38:29 +02:00 |
|
Irmen de Jong
|
d4e83b28bb
|
error messages and trying to improve support for struct allocs in arrays
added sorting example
|
2025-08-02 19:22:58 +02:00 |
|
Irmen de Jong
|
08810c2749
|
proper error message for unsupported &&subroutine
|
2025-07-27 23:44:24 +02:00 |
|
Irmen de Jong
|
817f4f8e7c
|
Merge branch 'master' into structs
# Conflicts:
# compiler/src/prog8/compiler/Compiler.kt
# compiler/src/prog8/compiler/astprocessing/AstExtensions.kt
# compiler/src/prog8/compiler/astprocessing/StatementReorderer.kt
# docs/source/todo.rst
# examples/test.p8
|
2025-07-24 22:27:29 +02:00 |
|
Irmen de Jong
|
866313209b
|
fixed zp vars 0 initialization
|
2025-07-24 00:17:31 +02:00 |
|
Irmen de Jong
|
9a9bf170c6
|
Merge branch 'master' into structs
|
2025-07-06 23:17:00 +02:00 |
|
Irmen de Jong
|
7dd64b4f13
|
fix 'cpa' instruction generated in certain boolean assignment, must be 'cmp'
|
2025-07-06 22:43:19 +02:00 |
|
Irmen de Jong
|
e14c3f8b59
|
code cleanups
|
2025-07-06 00:52:37 +02:00 |
|
Irmen de Jong
|
2119817e4a
|
Merge branch 'master' into structs
|
2025-06-24 21:14:53 +02:00 |
|
Irmen de Jong
|
be31e190d2
|
shuffle arguments of 64tass command so the additional assembler options from custom targets actually work
|
2025-06-19 22:33:50 +02:00 |
|
Irmen de Jong
|
12abafb917
|
Merge branch 'master' into structs
# Conflicts:
# docs/source/todo.rst
# examples/test.p8
# gradle.properties
|
2025-06-12 00:11:58 +02:00 |
|
Irmen de Jong
|
daf7c3357c
|
better detection of missing return statement
preparing 11.4
|
2025-06-09 16:01:56 +02:00 |
|
Irmen de Jong
|
f8f20440d3
|
allow pointer to be treated as uword value in augmented assignments
|
2025-06-03 21:33:35 +02:00 |
|
Irmen de Jong
|
d5cc414221
|
Merge branch 'master' into structs
# Conflicts:
# codeOptimizers/src/prog8/optimizer/StatementOptimizer.kt
# compiler/src/prog8/compiler/astprocessing/CodeDesugarer.kt
# compilerAst/src/prog8/ast/antlr/Antlr2Kotlin.kt
# examples/test.p8
|
2025-06-02 20:52:50 +02:00 |
|
Irmen de Jong
|
552e55c29f
|
fix missing cmp #0 when asmsub call is part of a boolean expression
|
2025-06-02 19:22:00 +02:00 |
|
Irmen de Jong
|
a228908c1a
|
fix wrong address calculation for &wordarray[i] where i is a variable
|
2025-06-02 03:13:23 +02:00 |
|
Irmen de Jong
|
d28f154f1c
|
Merge branch 'master' into structs
# Conflicts:
# examples/test.p8
# parser/src/main/antlr/Prog8ANTLR.g4
|
2025-06-01 17:53:41 +02:00 |
|
Irmen de Jong
|
a87f2640d3
|
fixed signed byte comparisons in case of overflowing values
|
2025-06-01 14:01:25 +02:00 |
|
Irmen de Jong
|
a90ef274d7
|
fix word*128 codegen.
added cx16/landscape.p8 example that draws procedurally generated landscapes.
found bug in signed byte comparisons with overflow.
|
2025-05-31 05:27:19 +02:00 |
|
Irmen de Jong
|
8a0c02e264
|
Merge branch 'refs/heads/master' into structs
# Conflicts:
# codeCore/src/prog8/code/target/NormalMemSizer.kt
# codeCore/src/prog8/code/target/VMTarget.kt
# compiler/src/prog8/compiler/BuiltinFunctions.kt
# compilerAst/src/prog8/ast/antlr/Antlr2Kotlin.kt
# examples/test.p8
|
2025-05-29 13:42:16 +02:00 |
|
Irmen de Jong
|
34bedbeef1
|
optimize byte modulus (%) routine with repeated subtraction instead of using full division
|
2025-05-29 13:26:04 +02:00 |
|
Irmen de Jong
|
09d2185bb1
|
PtArrayIndexer variable is now nullable (because it could be a ptr deref instead)
|
2025-05-25 23:04:32 +02:00 |
|
Irmen de Jong
|
23a853db1e
|
Merge branch 'master' into structs
# Conflicts:
# compiler/src/prog8/compiler/astprocessing/AstChecker.kt
# examples/test.p8
|
2025-05-23 19:00:59 +02:00 |
|
Irmen de Jong
|
cc063124cf
|
add joystick control to cx16 fileselector.
fix fileselector Basic exasmple.
fixed too aggressive asm peephole optimization that destroyed %jumptable in libraries for example.
|
2025-05-23 17:50:11 +02:00 |
|
Irmen de Jong
|
50650b966b
|
repeat countervars again in zeropage if possible, fix pointer arithmetic error
|
2025-05-17 14:18:56 +02:00 |
|