Irmen de Jong
|
770ebdcd4a
|
party fix weird errors for ptr indexed assignment
|
2025-05-17 20:54:02 +02:00 |
|
Irmen de Jong
|
96f690e749
|
fix a ptr indexing error
|
2025-05-17 20:27:38 +02:00 |
|
Irmen de Jong
|
eabdd3a8f3
|
fix the ptr.uword[index] assignment target error
|
2025-05-17 14:57:24 +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 |
|
Irmen de Jong
|
65e34d4989
|
stricter types for & operator (address-of), and fix invalid recursive subroutine flagging related to struct definition
|
2025-05-17 11:32:54 +02:00 |
|
Irmen de Jong
|
05dad5ab5f
|
cleanup 6502 pointer usage checks
|
2025-05-16 21:44:28 +02:00 |
|
Irmen de Jong
|
1a69a2f1bc
|
fix some ptr vs uword type checks
|
2025-05-16 20:31:15 +02:00 |
|
Irmen de Jong
|
435faafaad
|
fix split-word storage (lsb/msb) of arrays of pointers
|
2025-05-16 17:53:15 +02:00 |
|
Irmen de Jong
|
686b32dc29
|
replace ^^str by ^^ubyte and allow returning ubyte/uword when pointer is expected
|
2025-05-16 17:53:15 +02:00 |
|
Irmen de Jong
|
0e64a22910
|
tweak address-of types
|
2025-05-16 17:53:15 +02:00 |
|
Irmen de Jong
|
4f0839f27e
|
rewrite pointer[0] into @(pointer) if its ^^ubyte
|
2025-05-16 17:53:15 +02:00 |
|
Irmen de Jong
|
bb1953267d
|
Merge branch 'master' into structs
# Conflicts:
# examples/test.p8
|
2025-05-15 23:09:30 +02:00 |
|
Irmen de Jong
|
acc630972a
|
make keyboardhandler example restartable
|
2025-05-15 23:07:54 +02:00 |
|
Irmen de Jong
|
6a33be3fd8
|
IR: allow returning boolean in Pc/Pv cpu status register (Pz and Pn are not yet possible)
|
2025-05-15 22:56:45 +02:00 |
|
Irmen de Jong
|
cd8aae4681
|
allow @(..) to take a ^^ubyte address pointer, not only uwords.
|
2025-05-15 22:12:42 +02:00 |
|
Irmen de Jong
|
11456496bd
|
Merge branch 'master' into structs
# Conflicts:
# compilerAst/src/prog8/ast/antlr/Antlr2Kotlin.kt
# parser/src/main/antlr/Prog8ANTLR.g4
|
2025-05-15 21:35:31 +02:00 |
|
Irmen de Jong
|
f5fc4e345c
|
fix build error on case-insensitive filesystems
|
2025-05-15 21:11:34 +02:00 |
|
Irmen de Jong
|
86eef7039f
|
@(..) now also accepts pointer to ubyte address
|
2025-05-15 20:07:02 +02:00 |
|
Irmen de Jong
|
f4b2264fcf
|
fix struct type checks for subroutine call arguments
|
2025-05-14 23:33:55 +02:00 |
|
Irmen de Jong
|
9b36ae2277
|
implement inplace boolean short-circuit operators on pointer dereferenced booleans
|
2025-05-14 21:29:50 +02:00 |
|
Irmen de Jong
|
913ab03963
|
get rid of invalid ARRAY_STRUCT data type (arrays of struct instance are not yet supported)
|
2025-05-14 20:43:00 +02:00 |
|
Irmen de Jong
|
38448e471c
|
Merge branch 'master' into structs
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/ForLoopsAsmGen.kt
# codeGenIntermediate/src/prog8/codegen/intermediate/IRCodeGen.kt
# examples/test.p8
|
2025-05-13 23:42:13 +02:00 |
|
Irmen de Jong
|
67231af623
|
fix forloop codegen over non-split word arrays of length >= 64 elements
|
2025-05-13 23:32:26 +02:00 |
|
Irmen de Jong
|
e31ef6f06f
|
IR: fix temp register type in for x in array
|
2025-05-13 22:23:04 +02:00 |
|
Irmen de Jong
|
09d188106a
|
different temp var mechanism for certain array expression, remove old tmpvar mechanism.
|
2025-05-13 21:12:10 +02:00 |
|
Irmen de Jong
|
d8e2116481
|
different temp var mechanism for for loops, and pokef()
|
2025-05-13 21:06:33 +02:00 |
|
Irmen de Jong
|
435dfbb932
|
optimize: rewrite suitable when into on..goto
|
2025-05-13 01:12:58 +02:00 |
|
Irmen de Jong
|
ba93966474
|
optimize codegen: shortcut redundant jumps in when statement
|
2025-05-13 00:35:22 +02:00 |
|
Irmen de Jong
|
ea8d17cdb2
|
optimized the cx16 multi-irq dispatcher used in cx16.enable_irq_handlers()
|
2025-05-12 23:26:54 +02:00 |
|
Irmen de Jong
|
082265fb25
|
todo
|
2025-05-12 00:24:57 +02:00 |
|
Irmen de Jong
|
d138a7a567
|
add struct and pointers to IDEA syntax
|
2025-05-11 23:35:53 +02:00 |
|
Irmen de Jong
|
ea27d732ab
|
Merge branch 'refs/heads/master' into structs
|
2025-05-11 23:35:13 +02:00 |
|
Irmen de Jong
|
9e557ce8ac
|
add keyword 'on' to IDEA syntax
|
2025-05-11 23:32:54 +02:00 |
|
Irmen de Jong
|
924e28e9b3
|
Merge branch 'master' into structs
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/AsmGen.kt
# compiler/src/prog8/compiler/astprocessing/CodeDesugarer.kt
# compiler/src/prog8/compiler/astprocessing/SimplifiedAstMaker.kt
# compilerAst/src/prog8/ast/AstToSourceTextConverter.kt
# compilerAst/src/prog8/ast/antlr/Antlr2Kotlin.kt
# compilerAst/src/prog8/ast/walk/AstWalker.kt
# compilerAst/src/prog8/ast/walk/IAstVisitor.kt
# docs/source/todo.rst
# examples/test.p8
# parser/src/main/antlr/Prog8ANTLR.g4
|
2025-05-11 23:23:06 +02:00 |
|
Irmen de Jong
|
e5d9af75de
|
remove double bra/jmp
|
2025-05-11 23:01:13 +02:00 |
|
Irmen de Jong
|
31c1bf8bc5
|
added on..goto/call statement
|
2025-05-11 21:37:44 +02:00 |
|
Irmen de Jong
|
37d4055036
|
translate newline '\n' to char code 13 in various encodings such as ISO (used to be 10)
This means that when printed, such newlines will now properly go to the next line in these encodings too (ISO variants, KATAKANA).
|
2025-05-11 19:45:24 +02:00 |
|
Irmen de Jong
|
78b1076110
|
some more software links
v11.3.2
|
2025-05-11 19:39:20 +02:00 |
|
Irmen de Jong
|
0a3c748e41
|
fix code gen bug for certain goto array[idx]
|
2025-05-11 17:18:20 +02:00 |
|
Irmen de Jong
|
ebf79ef9e2
|
release 11.3.2
|
2025-05-11 12:30:36 +02:00 |
|
Irmen de Jong
|
60a73248cd
|
todo
|
2025-05-11 03:16:48 +02:00 |
|
Irmen de Jong
|
abbb7d7ba3
|
fix struct pointers in subroutine parameters and return values
|
2025-05-11 02:08:59 +02:00 |
|
Irmen de Jong
|
59c378089e
|
fix some struct type and symbol lookup errors
|
2025-05-11 00:52:35 +02:00 |
|
Irmen de Jong
|
0b789b5f0b
|
added most inplace operators for pointer deref
|
2025-05-10 20:58:01 +02:00 |
|
Irmen de Jong
|
4382b96a9a
|
tweaking pointer deref in IR
|
2025-05-10 19:52:06 +02:00 |
|
Irmen de Jong
|
246e4f35a6
|
Merge branch 'master' into structs
# Conflicts:
# codeGenCpu6502/src/prog8/codegen/cpu6502/assignment/AssignmentAsmGen.kt
# codeGenIntermediate/src/prog8/codegen/intermediate/ExpressionGen.kt
# compiler/test/ast/TestConst.kt
# docs/source/todo.rst
# examples/test.p8
|
2025-05-10 16:36:16 +02:00 |
|
Irmen de Jong
|
99b9370178
|
fix various bugs around word-indexing combined with address-of: &buffer[2000]
|
2025-05-10 16:22:05 +02:00 |
|
Irmen de Jong
|
506062c6b6
|
start implementing ptr deref augmented assigns
|
2025-05-09 23:05:27 +02:00 |
|
Irmen de Jong
|
d634061cd9
|
Merge pull request #169 from Frosty-J/crc
Specify X16 CRC type
|
2025-05-08 23:47:17 +02:00 |
|
Irmen de Jong
|
8353c689ca
|
start making '&' (address-of) return a typed pointer, fixes some errors
|
2025-05-08 23:40:41 +02:00 |
|