Irmen de Jong
|
9aff280d10
|
fix monogfx.disc() inaccurracy
|
2025-10-05 23:03:53 +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
|
557b12668d
|
implement print_ulhex(long, prefix)
|
2025-10-03 01:22:24 +02:00 |
|
Irmen de Jong
|
a2b9d78cf3
|
start with introducing LONG datatype (32 bits signed integer)
|
2025-10-03 01:22:24 +02:00 |
|
Irmen de Jong
|
8d6f3301c8
|
conv.any2uword() return values have been changed to be more useful and convenient
now returns both the actual value and the number of characters, and the return values for the virtual target now matches the others.
|
2025-09-30 20:44:02 +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
|
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
|
33470c47fc
|
last changes to virtual diskio to make untyped pointers typed
|
2025-07-21 22:13:36 +02:00 |
|
Irmen de Jong
|
63f7b87572
|
Merge branch 'master' into structs
|
2025-07-21 22:11:34 +02:00 |
|
Irmen de Jong
|
e2901cca1b
|
fix virtual diskio save_raw()
|
2025-07-21 22:10:50 +02:00 |
|
Irmen de Jong
|
ce8006992a
|
changing virtual diskio to use typed pointers
|
2025-07-21 22:10:04 +02:00 |
|
Irmen de Jong
|
0b5413ad83
|
Merge branch 'master' into structs
# Conflicts:
# docs/source/todo.rst
# examples/test.p8
|
2025-07-21 20:53:06 +02:00 |
|
Irmen de Jong
|
dd7adde387
|
fix virtual diskio.f_write
|
2025-07-21 20:52:11 +02:00 |
|
Irmen de Jong
|
23058b51a1
|
started changing libs to typed pointers
|
2025-07-21 20:50:33 +02:00 |
|
Irmen de Jong
|
bd72eaad4c
|
Merge branch 'refs/heads/master' into structs
# Conflicts:
# examples/test.p8
|
2025-06-18 17:53:20 +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
|
59387b2ae8
|
Merge branch 'master' into structs
# Conflicts:
# docs/source/todo.rst
# examples/test.p8
|
2025-06-07 20:28:23 +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
|
bebe60b687
|
fix compiler crash on for x in wordvar, add sys.get_as_returnaddress()
|
2025-06-05 16:10:40 +02:00 |
|
Irmen de Jong
|
f8722faa4e
|
Merge branch 'master' into structs
# Conflicts:
# examples/test.p8
|
2025-06-03 21:15:19 +02:00 |
|
Irmen de Jong
|
d067fa4b73
|
added strings.find_eol()
|
2025-06-03 21:09:44 +02:00 |
|
Irmen de Jong
|
d28f154f1c
|
Merge branch 'master' into structs
# Conflicts:
# examples/test.p8
# parser/src/main/antlr/Prog8ANTLR.g4
|
2025-06-01 17:53:41 +02:00 |
|
Irmen de Jong
|
a87f2640d3
|
fixed signed byte comparisons in case of overflowing values
|
2025-06-01 14:01:25 +02:00 |
|
Irmen de Jong
|
112ca3cc53
|
allow sizeof(&thing), add sys.SIZEOF_POINTER
|
2025-05-29 15:58:29 +02:00 |
|
Irmen de Jong
|
3b1b0985c1
|
make sizeof(float) work, so you don't have to use sys.SIZEOF_FLOAT anymore etc.
define sys.SIZEOF_FLOAT in terms of sizeof(float)
|
2025-05-29 12:38:03 +02:00 |
|
Irmen de Jong
|
9da430ffeb
|
vm: more complete V-flag handling. somd doc and todo updates.
|
2025-05-23 18:58:14 +02:00 |
|
Irmen de Jong
|
7eb079050c
|
fix strings.hash() on 6502 CPU's. NOTE: now takes string pointer in AY instead of R0 on all platforms
|
2025-05-01 22:47:43 +02:00 |
|
Irmen de Jong
|
532d719089
|
more optimal math.randrange() routines
|
2025-04-24 04:04:14 +02:00 |
|
Irmen de Jong
|
e375f6afce
|
fix diskio.f_read() returning 1 less than the actual size read.
fix diskio.f_read_all() more robust error status end of loop checking.
|
2025-04-21 05:02:16 +02:00 |
|
Irmen de Jong
|
9e694c0337
|
doc
|
2025-04-18 21:11:27 +02:00 |
|
Irmen de Jong
|
0ab98033b5
|
add rom-compatible random number routines
|
2025-04-14 22:04:11 +02:00 |
|
Irmen de Jong
|
8b08895d0f
|
also add strings.ncompare() to virtual lib
|
2025-03-09 14:33:31 +01:00 |
|
Irmen de Jong
|
e3e5bff7bb
|
add missing sprites benchmark module
|
2025-03-06 19:39:55 +01:00 |
|
Irmen de Jong
|
4db6859f3f
|
IR: strict register pool type assignment, 1 unique type per register + verification during IR writing
|
2025-01-03 04:18:16 +01:00 |
|
Irmen de Jong
|
10b9162dc5
|
improving fileselector
|
2024-12-30 21:34:03 +01:00 |
|
Irmen de Jong
|
76b29aa629
|
fixed register reuse and types on syscall interface
|
2024-12-30 00:00:31 +01:00 |
|
Irmen de Jong
|
529ea5bf58
|
added coroutines library and multitasking example. Added sys.push_returnaddress().
|
2024-12-26 00:57:39 +01:00 |
|
Irmen de Jong
|
3850e1dbb5
|
Merge branch 'better-ir'
|
2024-12-24 21:23:57 +01:00 |
|
Irmen de Jong
|
91cde072e0
|
added txt.t256c() on the cx16 to turn 256 color tile mode on or off
|
2024-12-24 12:10:02 +01:00 |
|
Irmen de Jong
|
2ca4aed566
|
IR: prefix immediate values with '#' for human readability reasons (no technical reason)
|
2024-12-24 09:35:10 +01:00 |
|
Irmen de Jong
|
580e786952
|
change math.crc32 to the same algorithm as pkzip/zlib uses (ISO-HDLC). Add math.crc32_end_result(). Fix a parse error in profiler.py script.
|
2024-12-22 09:19:54 +01:00 |
|
Irmen de Jong
|
c0ae35b3a3
|
tweaks, bump version 11.0
|
2024-12-22 06:34:17 +01:00 |
|
Irmen de Jong
|
379d241a0d
|
various library modules now also use regular asm symbol prefixing rules: buffers, compression, cx16logo, test_stack.
|
2024-12-21 06:34:55 +01:00 |
|
Irmen de Jong
|
565973c520
|
diskio read & write routines now always reset the io channels back to the defaults before returning
This means you don't have to call CLRCHN yourself anymore inbetween if you want to do screen output or keyboard input while a file is open
|
2024-12-03 23:46:07 +01:00 |
|
Irmen de Jong
|
feb8aa435e
|
monogfx, gfx_lores, gfx_hires now all uses 8kb stack from buffers module; no more broken flood fills. fill() has an extra byte parameter now where you need to pass in the ram bank to use for the stack. (not on virtual target)
|
2024-11-29 21:28:34 +01:00 |
|
Irmen de Jong
|
857d2eefca
|
added floats.interpolate(), math.interpolate(), and LERP example
|
2024-11-24 10:00:21 +01:00 |
|
Irmen de Jong
|
906b137a7c
|
renamed 'string' module to 'strings' for consistency
|
2024-11-23 15:51:38 +01:00 |
|
Irmen de Jong
|
4958463e75
|
moved floats.MIN/MAX to sys.MIN_FLOAT/MAX_FLOAT
added txt.print_f as alias to floats.print
|
2024-11-22 00:46:23 +01:00 |
|