Irmen de Jong
|
d04164c0a6
|
fix const evaluation of bitwise logical expressions (&, |, ^, <<, >>) of signed operands
|
2025-04-30 22:27:31 +02:00 |
|
Irmen de Jong
|
5a7bc04816
|
update docs about library jump table
|
2025-04-19 13:49:03 +02:00 |
|
Irmen de Jong
|
bd1894580e
|
allow floating point value as part of a multi-value return
|
2025-04-18 22:45:05 +02:00 |
|
Irmen de Jong
|
9df899eb63
|
document romable option and that strings+initialized arrays become read-only
|
2025-04-17 21:05:46 +02:00 |
|
Irmen de Jong
|
79cda544c8
|
allow integer range as when choice value
|
2025-03-17 22:26:27 +01:00 |
|
Irmen de Jong
|
40423911ef
|
added footgun warning when calling labels as subroutine
|
2025-03-04 22:14:21 +01:00 |
|
Irmen de Jong
|
e55ce5504e
|
added %option romable to enable romable mode, but only generate a bunch of warnings for problematic codegeneration atm
|
2025-02-20 23:40:44 +01:00 |
|
Irmen de Jong
|
fb1e89d9ef
|
update docs about call convention for multi-value results (first is in A or AY, then R15...R0)
added sprites+coroutines+defer part to benchmark program
|
2025-02-19 22:10:12 +01:00 |
|
Irmen de Jong
|
069143092d
|
fix Golden ram issues
|
2025-02-09 15:57:14 +01:00 |
|
Irmen de Jong
|
efd41260f2
|
added %jmptable
|
2025-02-09 15:02:59 +01:00 |
|
Irmen de Jong
|
74dd8fe80b
|
%output library header generation depends on compiler target
fileselector example tweaks
|
2025-02-02 20:51:45 +01:00 |
|
Irmen de Jong
|
a106c88054
|
unit test for %output library, and docs.
|
2025-01-27 23:26:21 +01:00 |
|
Irmen de Jong
|
66558f7638
|
IR support for multi-value returns in normal subroutines, documentation.
|
2025-01-09 22:39:08 +01:00 |
|
Irmen de Jong
|
1f49e8fe75
|
in diskio.f_readline make sure AY result isn't clobbered
|
2024-12-21 06:25:56 +01:00 |
|
Irmen de Jong
|
e7a0cb636c
|
add $< and $> operators to get the lsb and msb addresses of a @split array respectively.
document the new split array things.
|
2024-12-16 17:45:54 +01:00 |
|
Irmen de Jong
|
8f799567cf
|
make word arrays split by default (w.i.p.)
|
2024-12-15 08:12:34 +01:00 |
|
Irmen de Jong
|
9e8cc8b54d
|
goto can now accept any expression as address (instead of just a constant), and ofcourse a label name still.
|
2024-12-15 05:22:37 +01:00 |
|
Irmen de Jong
|
697d54e10a
|
fix asmgen for call $3000
|
2024-12-13 22:33:26 +01:00 |
|
Irmen de Jong
|
3675d7961b
|
boolean variables can now also be memory-mapped (including boolean arrays)
|
2024-12-11 18:25:27 +01:00 |
|
Irmen de Jong
|
58f696d00a
|
document the @R0 - @R15 register support for normal subroutine parameters
|
2024-11-30 20:46:31 +01:00 |
|
Irmen de Jong
|
f603c543d3
|
restructure documentation to get rid of redundant syntax chapter
|
2024-11-30 20:26:06 +01:00 |
|
Irmen de Jong
|
3a7a7091c0
|
update some docs
|
2024-11-23 21:01:18 +01:00 |
|
Irmen de Jong
|
906b137a7c
|
renamed 'string' module to 'strings' for consistency
|
2024-11-23 15:51:38 +01:00 |
|
Irmen de Jong
|
54fccec7d7
|
now also support using defer inside if statements
|
2024-11-12 00:11:19 +01:00 |
|
Irmen de Jong
|
3ba1d00a7c
|
add unit test for @dirty variables
|
2024-11-09 13:31:54 +01:00 |
|
Irmen de Jong
|
64164c1c72
|
changed @initonce to @dirty and meaning is now: not initialized at all.
|
2024-11-08 22:05:31 +01:00 |
|
Irmen de Jong
|
9864abd393
|
romsub keyword is now extsub
|
2024-11-06 22:14:53 +01:00 |
|
Irmen de Jong
|
cb47e2c149
|
documented the romsub bank additions
|
2024-11-03 20:39:44 +01:00 |
|
Irmen de Jong
|
a231872821
|
tip for using aliases for the virtual registers r0-r15
|
2024-11-02 22:09:20 +01:00 |
|
Irmen de Jong
|
a82f211f9a
|
added alias statement
|
2024-10-28 00:36:10 +01:00 |
|
Irmen de Jong
|
28b383f888
|
docs and syntax for @alignxxx and %align
|
2024-10-27 00:47:52 +02:00 |
|
Irmen de Jong
|
326eab3dd1
|
unit test for defer, describe defer and if expression in docs
|
2024-10-22 22:19:49 +02:00 |
|
Irmen de Jong
|
e9edffa9f0
|
remove support for array-to-array assignments (other than initialization of variable declaration)
Just use an explicit sys.memcopy(src, dest, sizeof(dest)) or assign array members individually.
|
2024-10-13 20:02:43 +02:00 |
|
Irmen de Jong
|
7a0eaf3148
|
Remove array initialization by single value.
New compiler and kotlin version.
|
2024-10-13 04:31:56 +02:00 |
|
Irmen de Jong
|
8d9bc2f5ff
|
fixing all sorts of things about assigning arrays to arrays
|
2024-10-12 12:33:46 +02:00 |
|
Irmen de Jong
|
5731b79554
|
don't allow problematic string and array assignments anymore, improve error messages.
In certain cases you will need to use string.copy() explicitly to overwrite strings with new strings.
|
2024-10-09 00:51:05 +02:00 |
|
Irmen de Jong
|
4cd7271e30
|
added prog8 vs other languages chapter to the manual
|
2024-09-27 20:19:28 +02:00 |
|
Irmen de Jong
|
699a2bb7ab
|
improved codegen for for loops downto 0
|
2024-09-10 21:33:57 +02:00 |
|
Irmen de Jong
|
2aae1f5e30
|
stricter checks for negative array indexing
|
2024-07-20 22:37:03 +02:00 |
|
Irmen de Jong
|
25f25a8767
|
Get rid of sort() and reverse() builtin functions.
Sort() had too many gotchas and reverse() is kinda redundant you can loop in decreasing order through an array too.
|
2024-07-06 17:07:58 +02:00 |
|
Irmen de Jong
|
bbf621a8c4
|
doc
|
2024-06-29 13:39:08 +02:00 |
|
Irmen de Jong
|
0dc50a93a4
|
added @nozp variable flag
|
2024-05-21 21:53:58 +02:00 |
|
Irmen de Jong
|
56f41d5e34
|
docs about multi-assign
|
2024-03-28 23:24:14 +01:00 |
|
Irmen de Jong
|
ba1e907c79
|
fix divmod; out args are written to and should be potential constants
|
2024-03-26 22:04:44 +01:00 |
|
markjreed
|
647af34f5b
|
fix: tweak divmod() doc (#131)
* fix: adjust naming on divmod parameters to match standard mathematical terminology; clarify description
* fix: wording
* fix: wording
|
2024-03-26 22:00:55 +01:00 |
|
Irmen de Jong
|
a5a918df84
|
update docs about boolean type
|
2024-03-12 18:54:56 +01:00 |
|
Irmen de Jong
|
9aea2b22c4
|
doc improvement, fixes #120
|
2024-01-30 19:07:18 +01:00 |
|
Irmen de Jong
|
1c55a6c6dc
|
shortcutting part one
|
2023-12-30 03:54:12 +01:00 |
|
Irmen de Jong
|
a0594cbce3
|
const optimizer now knows about a bunch of library functions, such as math.*
|
2023-12-28 20:14:13 +01:00 |
|
Irmen de Jong
|
078bfefe41
|
clarify scoped names a bit more
|
2023-12-28 16:36:29 +01:00 |
|