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
d2b743c296
pet: added diskio.load() and load_raw()
2026-01-26 02:38:40 +01:00
Irmen de Jong
5cbd4aafcc
strings: added next_token() which mimicks C's strtok() routine
2026-01-25 00:09:52 +01:00
Irmen de Jong
4aa326d5ca
diskio: added lf_start_list_having_prefix()
...
strings: added split()
2026-01-24 22:42:54 +01:00
Irmen de Jong
2e0db6f211
add swap() builtin for optimized value swaps without the need for a temporary variable
2026-01-23 23:17:10 +01:00
Irmen de Jong
dfad83650d
add math.gcd()
2026-01-23 00:03:13 +01:00
Irmen de Jong
f56037142b
added petgfx module for pet32, c64, c128 for petscii block characters drawing (double resolution)
2026-01-22 02:17:04 +01:00
Irmen de Jong
4971ebd41f
pet32: added floats support!
2026-01-18 23:32:19 +01:00
Irmen de Jong
823f1cd6e2
strings: removed ncompare
2026-01-17 17:29:21 +01:00
Irmen de Jong
3009ddaaab
strings: adding compare_nocase and compare_nocase_iso
2026-01-17 17:01:34 +01:00
Irmen de Jong
d774bad2b4
docs for new case routines
2026-01-15 22:06:05 +01:00
Irmen de Jong
cb4ffaa028
added case-insensitive pattern matcher strings.pattern_match_nocase()
...
added various case-insensitive versions of the file and directory listing routines in diskio (the ones that take an optional pattern)
2026-01-13 01:33:46 +01:00
Irmen de Jong
bbfb2eb367
optimized longvar = lptr^^
2026-01-07 23:30:35 +01:00
Irmen de Jong
bc4470aeda
remove bsb() again - too confusing?
2026-01-06 22:39:04 +01:00
Irmen de Jong
97dade3655
fix setmsb() on long types
2026-01-06 22:11:58 +01:00
Irmen de Jong
54f23387d0
added bsb(long) builtin function that returns the bank byte of the long value (bits 16-23)
2026-01-06 20:56:03 +01:00
Irmen de Jong
70d99bebb0
on c64/c128, txt.getclr() now always returns 0-15 (upper 4 bits are cleared). fixes #204
2026-01-05 21:50:38 +01:00
Irmen de Jong
3d20bc13b5
Virtual target: fix strings.right() and strings.slice()
2026-01-04 20:55:02 +01:00
Irmen de Jong
82693cc3ee
optimized lsb(msb(longvar)) which grabs the bank byte from a long
2026-01-01 21:39:34 +01:00
Irmen de Jong
46dffcfb96
cx16: sysinit now explicitly makes vera border color also black (0)
2025-12-28 17:18:43 +01:00
Irmen de Jong
d9ffb10eb5
added psg2 module (cx16 only)
2025-12-25 01:22:38 +01:00
Irmen de Jong
314e7f5691
doc updates
2025-11-10 23:42:29 +01:00
Irmen de Jong
da31465b7f
added the missing smallstack to buffers module
2025-11-10 00:21:13 +01:00
Irmen de Jong
45dde856c6
upgrade to kotlin 2.2.21
2025-11-02 20:08:59 +01:00
Irmen de Jong
e1ccef4e89
sort the library routines better, updated result of crc32 benchmark
2025-11-02 16:58:49 +01:00
Irmen de Jong
4d3f0ec223
sizeof(string) is now defined
2025-11-01 21:19:30 +01:00
Irmen de Jong
0cd8c4f87e
add strings.ncopy and nappend (length limited)
2025-10-31 21:22:15 +01:00
Irmen de Jong
b02a8ed954
strings can no longer be assigned by-value. Use strings.copy() instead. Fixes #189
2025-10-31 19:22:40 +01:00
Irmen de Jong
6a70fb0480
deal with invalid sqrt results (negative argument), allow sqrt of longs (like floats)
2025-10-21 21:01:03 +02:00
Irmen de Jong
68066acdec
changed (and fixed) msb(long) and lsb(long)
2025-10-13 21:34:03 +02:00
Irmen de Jong
9a37eb9146
save A and Y when storing longs
2025-10-13 02:12:07 +02:00
markjreed
c873fac0dc
feat: point doc source links to matching version ( #179 )
...
* feat: point doc source links to matching version
* fix: formatting, remove debug
2025-10-09 20:03:46 +02:00
Irmen de Jong
f85ccd837d
tweak conv.str_l() so that it properly reuses the conv.string_out buffer
2025-10-08 22:33:03 +02:00
Irmen de Jong
961095bfec
fix output path for shadow jar
2025-10-04 23:31:52 +02:00
Irmen de Jong
71ffbe2ba7
document the long type
2025-10-04 22:33:43 +02:00
Irmen de Jong
e63921009c
added math.mul32(), verafx.muls now returns long
2025-10-04 21:54:53 +02:00
Irmen de Jong
db1aa3f257
math.crc32() now returns the crc value as a long
2025-10-04 17:40:49 +02:00
Irmen de Jong
efff74c0f1
added sys.pushl() and sys.popl()
2025-10-04 03:05:50 +02:00
Irmen de Jong
35b921b062
added bcd module for decimal addition and subtraction using BCD mode
2025-10-03 23:36:17 +02:00
Irmen de Jong
2c8b1c2022
moved cx16.cpu_is_65816() to sys.cpu_is_65816(). It know also does proper detection on the C64 and C128 like on the X16, because those two computers can also have this CPU via a SuperCPU expansion.
2025-09-29 21:37:26 +02:00
Irmen de Jong
f6c8e693a5
add offsetof()
2025-09-17 23:30:15 +02:00
Irmen de Jong
6e7fbc6683
fix crash when invalid struct name is used in pointer decl
2025-09-15 20:39:21 +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
82267b3f56
Merge branch 'master' into structs
...
# Conflicts:
# compiler/test/codegeneration/TestVariables.kt
# docs/source/_static/symboldumps/skeletons-c128.txt
# docs/source/_static/symboldumps/skeletons-c64.txt
# docs/source/_static/symboldumps/skeletons-cx16.txt
# docs/source/_static/symboldumps/skeletons-pet32.txt
# docs/source/_static/symboldumps/skeletons-virtual.txt
# docs/source/todo.rst
# examples/test.p8
2025-07-26 12:43:13 +02:00
Irmen de Jong
11186f1dbe
make sure that the virtual target -emu (vm) only runs the actual .p8ir file ( fixes #172 )
...
added emudbg.console_nl()
2025-07-26 11:19:01 +02:00
Irmen de Jong
a9b8fbc6c6
Merge branch 'master' into structs
...
# Conflicts:
# examples/test.p8
2025-07-18 22:37:36 +02:00
Irmen de Jong
ea5deeefbd
new links to Codebase64 website
2025-07-17 23:06:39 +02:00
Irmen de Jong
54d41b7f6f
fixed a[i]^^
2025-07-05 23:54:08 +02:00
gillham
1b420f7fe7
Add a preliminary external custom target for the Foenix F256 family of modern retro computers. ( #171 )
2025-06-29 11:14:34 +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