Irmen de Jong
63cba4825a
doc tweaks
2026-02-26 01:44:36 +01:00
Irmen de Jong
093be9f2dd
sys.push(), sys.pop() etc etc are now builtin functions again push() pop() to avoid storing value in temporary variables
...
this means that all of the syslib.p8 library files no longer contain all those stack related asmsubs
2026-02-21 02:11:34 +01:00
Irmen de Jong
77f0cf8e89
defer stack doc and better error message for invalid range syntax
2026-02-16 23:00:50 +01:00
Irmen de Jong
3f181b0ede
allow alias to blocks
2026-02-10 22:51:05 +01:00
Andrew Gillham
2bd74b8c44
Add an index and set some non-ASCII fonts to improve the resulting pdf. ( #210 )
...
* Add an index and set some non-ASCII fonts to improve the resulting pdf.
* Fix coroutines index interfering with code block
* Add genindex which is needed to get a link to the html index.
2026-01-30 22:03:40 +01:00
Irmen de Jong
78d6d2d59a
breaking change: renamed R0R1_32 etc combined register parameters to just R0R1, R2R3, etc etc (_32 suffix is removed to make it more consistent with the other existing register names)
2026-01-07 21:56:16 +01:00
Irmen de Jong
e74162671a
clarify doc, fix possible poke() ast rewrite error
2026-01-02 19:11:57 +01:00
Irmen de Jong
6ad435df1f
mention main block size restriction
2025-12-22 05:28:55 +01:00
Irmen de Jong
a64f27c6b0
add cx16.r0r1sl, cx16.r2r3sl, ... that memory-map signed longs on the virtual registers
2025-11-25 21:13:03 +01:00
Irmen de Jong
314e7f5691
doc updates
2025-11-10 23:42:29 +01:00
Irmen de Jong
9c2bcab4a5
fix more ptr/long issues
2025-10-28 23:08:12 +01:00
Irmen de Jong
7027304597
put some upper bounds on more internal compiler loops
2025-10-23 20:37:44 +02:00
Irmen de Jong
f5ce744748
undo the math crc param optimization that now causes the footgun warning when you import math. + doc fix about arithmetic expressions
2025-10-14 00:31:29 +02:00
Irmen de Jong
7e26ecb0b6
allow 'then' in if-expressions to separate condition and result value
2025-10-10 23:26:53 +02:00
Irmen de Jong
71ffbe2ba7
document the long type
2025-10-04 22:33:43 +02:00
Irmen de Jong
ad0c767ea8
%breakpoint! introduced to place after an assignment to make it parse correctly
2025-09-20 00:46:15 +02:00
Irmen de Jong
a8bede17b2
fix defer() with the arena allocator ("return values are evaluated before the defer is executed")
2025-09-17 23:59:32 +02:00
Irmen de Jong
79419a98d0
add if-expression versions for the conditionals if_cc, if_cs, if_vc etc
2025-09-11 01:57:30 +02:00
Irmen de Jong
b52cee3154
use RST chapter notation to attempt to fix PDF chapters
2025-08-28 21:19:16 +02:00
Irmen de Jong
4ccd7f9f3a
improve docs about recursion
2025-07-29 22:49:24 +02:00
Irmen de Jong
9f6106452e
revert & to untyped pointer, added && for typed pointer address-of
2025-07-07 16:17:07 +02:00
Irmen de Jong
c2bf9024f8
start writing docs about structs and pointers, update syntax files with ^^
2025-06-18 19:00:18 +02:00
Irmen de Jong
b5d1575823
added boolean typed versions of the cx16.r0-r15 virtual registers
2025-06-18 00:05:10 +02:00
Irmen de Jong
e8795859c5
added sorting library for target virtual
...
added sorting routines that sort a values array together with the keys array
optimized gnomesort a little
2025-06-07 19:42:40 +02:00
Irmen de Jong
31c1bf8bc5
added on..goto/call statement
2025-05-11 21:37:44 +02:00
Irmen de Jong
78b1076110
some more software links
2025-05-11 19:39:20 +02:00
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