Irmen de Jong
|
ff9bec90ec
|
fix struct pointer array indexing field dereferencing
the pointers/sorting example now actually works on the 6502 too
|
2025-08-30 12:24:30 +02:00 |
|
Irmen de Jong
|
5eb2fc8d86
|
fix a bad pointer arithmetic optimization
|
2025-08-29 19:36:57 +02:00 |
|
Irmen de Jong
|
221a093e5f
|
optimize some pointer arithmetic, fix pointer arithmetic for ptr-value
|
2025-08-28 23:08:06 +02:00 |
|
Irmen de Jong
|
0285a4cce1
|
avoid needless pointer arithmetic multiplication by struct size 1
|
2025-08-27 21:50:09 +02:00 |
|
Irmen de Jong
|
5a3aa1bd25
|
optimized IR to return a constant value: use RETURNI
|
2025-08-26 22:54:11 +02:00 |
|
Irmen de Jong
|
0f79351de9
|
support word size indexing on typed pointers
|
2025-08-25 22:58:48 +02:00 |
|
Irmen de Jong
|
3cdb25ce8e
|
fix invalid string comparisons being generated for regular pointer value comparison
|
2025-08-24 16:19:42 +02:00 |
|
Irmen de Jong
|
10ff6a0095
|
Merge branch 'master' into structs6502
|
2025-08-24 14:34:15 +02:00 |
|
Irmen de Jong
|
17bdb22e4f
|
converting untyped to typed pointers in c64,c128,pet32 libraries
|
2025-08-24 14:21:51 +02:00 |
|
Irmen de Jong
|
a68209be37
|
converting untyped to typed pointers in cx16 libraries
|
2025-08-24 14:13:02 +02:00 |
|
Irmen de Jong
|
7b40eade44
|
added txt.rvs_on() and txt.rvs_off(), added txt.color() support for virtual target
|
2025-08-24 13:29:29 +02:00 |
|
Irmen de Jong
|
aa72ded21e
|
add sorting module to symboldump, moved shared cbm textio routines to shared module
|
2025-08-24 13:05:38 +02:00 |
|
Irmen de Jong
|
8e53c83844
|
optimize certain ptr+value expression on 6502
|
2025-08-24 05:46:49 +02:00 |
|
Irmen de Jong
|
e2a2db1256
|
converting untyped to typed pointers in libraries
|
2025-08-22 22:47:19 +02:00 |
|
markjreed
|
2afd2d4dae
|
Make PET PLOT routine more efficient (#174)
* feat: take advantage of KERNAL vars to implement PLOT
* fix: tabs
* fix: update TBLX too, so cursor change sticks after output
* fix: formatting
|
2025-08-22 21:28:21 +02:00 |
|
Irmen de Jong
|
fad17cc094
|
support a few other simple cases of struct instance assignment
|
2025-08-21 00:04:30 +02:00 |
|
Irmen de Jong
|
f93d957999
|
proper warning for struct instance assignment (not yet supported)
|
2025-08-20 20:35:29 +02:00 |
|
Irmen de Jong
|
8db0344cee
|
Merge branch 'master' into structs6502
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/assignment/AssignmentAsmGen.kt
|
2025-08-19 23:10:15 +02:00 |
|
Irmen de Jong
|
32e531f951
|
test
|
2025-08-19 23:09:33 +02:00 |
|
Irmen de Jong
|
79b8bb5c9f
|
Merge branch 'master' into structs6502
|
2025-08-19 01:12:50 +02:00 |
|
Irmen de Jong
|
fc5889ec0b
|
kotlin 2.2.10, kotest
|
2025-08-19 01:04:24 +02:00 |
|
Irmen de Jong
|
826fb3e9c2
|
implemented assign indexed ptr byte
|
2025-08-17 13:21:31 +02:00 |
|
Irmen de Jong
|
a3d7b8a899
|
fix detection of string comparisons (make it aware of new pointer types equivalent to STR)
|
2025-08-16 17:04:59 +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
|
729efb04e1
|
fix code size regressions
|
2025-08-14 23:59:59 +02:00 |
|
Irmen de Jong
|
4ea8b4d445
|
fix unknown field test and redundant errors
|
2025-08-14 21:01:25 +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
|
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
|
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
|
ae9f99448e
|
fix pointer subtract arithmetic
|
2025-08-05 23:23:29 +02:00 |
|
Irmen de Jong
|
7c0fb10197
|
fix bug: VM MULR float error, another pointer dependency checker error
|
2025-08-05 22:00:05 +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
|
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
|
aa324e355a
|
remove 6502 pointer check, TODOs for pointer assignments
|
2025-08-03 13:28:39 +02:00 |
|
Irmen de Jong
|
5cb8bcead7
|
todo
|
2025-08-03 00:54:43 +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
|
bc58a25765
|
allow sizeof(^^type) to return the size of a pointer
|
2025-08-02 11:33:15 +02:00 |
|
Irmen de Jong
|
38645022c9
|
actually disallow ^^str
|
2025-08-02 05:49:12 +02:00 |
|
Irmen de Jong
|
647cd0fbe1
|
fix pointer[i].field compiler crash
|
2025-08-02 05:29:16 +02:00 |
|
Irmen de Jong
|
dee761a99e
|
fix compiler crash on certain pointer assignments
|
2025-08-01 22:22:43 +02:00 |
|
Irmen de Jong
|
88ee7a8187
|
fix expected outcome of function call arg type pointer test
|
2025-08-01 00:23:10 +02:00 |
|
Irmen de Jong
|
eb8b408b82
|
fix countries[2]^^ = 0 compiler crash
|
2025-07-31 02:03:18 +02:00 |
|
Irmen de Jong
|
3d10882f57
|
fix ast printing
|
2025-07-30 23:42:45 +02:00 |
|