Commit Graph

  • caa991e478 IR: remove redundant add when pointer dereferencing master Irmen de Jong 2026-03-08 21:28:56 +01:00
  • f9767a5b1b cx16: added sys.waitirq() that just does a WAI like waitvsync() but it is explicit about its behavior Irmen de Jong 2026-03-08 18:05:43 +01:00
  • 3b68741208 replace indexed pointer deref expressions with peek(ptr+index) Irmen de Jong 2026-03-08 12:29:41 +01:00
  • b8ef64139a avoid always including profile support routine in resulting asm Irmen de Jong 2026-03-08 03:16:07 +01:00
  • 1ad9e0fc46 implement missing struct field array indexing and faulty pointer dereferencing Irmen de Jong 2026-03-08 00:03:36 +01:00
  • ce244906ef added wavfile and adpcm library modules (adpcm only on X16) Irmen de Jong 2026-03-07 03:10:11 +01:00
  • 63ab79157f optimize palette module routines slightly to no longer use vaddr() fix unused symbol warnings in bcd library module Irmen de Jong 2026-03-05 03:09:54 +01:00
  • 9ac0cfd14c fix palette.fade_step_colors() for color indexes >=128 Irmen de Jong 2026-03-05 03:05:19 +01:00
  • 02c544bb62 fix cx16.getlfs() and add diskio.reuse_last_drive() update cx16images.py to use improved quantization Irmen de Jong 2026-03-04 22:31:41 +01:00
  • 998d1ad446 IR: storezi now also takes an immediate offset argument, optimized some code gen to utilize that offset better insteads of doing separate ADDs Irmen de Jong 2026-03-04 00:21:09 +01:00
  • 89e38c6d42 IR: loadfield/storefield are now just loadi/storei Irmen de Jong 2026-03-03 20:55:00 +01:00
  • a326c6f079 adding multivalue vardecls and assignments Irmen de Jong 2026-03-02 22:58:06 +01:00
  • acf70d68ca todo Irmen de Jong 2026-03-02 02:54:16 +01:00
  • 17850d3bc1 fix certain long initialization type error Irmen de Jong 2026-03-02 02:14:31 +01:00
  • d03e49a92f implemented 6502 long loops with step >1 Irmen de Jong 2026-03-01 03:05:30 +01:00
  • 62c5b531c5 implemented 6502 long loops with step 1 or -1 Irmen de Jong 2026-03-01 01:59:26 +01:00
  • 8911f58bd2 fix IR long comparisons (used in for loops for instance) Irmen de Jong 2026-03-01 01:45:07 +01:00
  • da6e47d422 fix IR long comparisons (used in for loops for instance) Irmen de Jong 2026-03-01 01:17:22 +01:00
  • 10d80d0274 tinyc64 custom config: move SCRATCH_PTR to $04+$05, from $9b+$9c because $9b is used by JiffyDOS. see #217 Irmen de Jong 2026-02-28 23:19:57 +01:00
  • 23b9a2792d C64: move SCRATCH_PTR to $04+$05, from $9b+$9c because $9b is used by JiffyDOS. Fixes #217 Irmen de Jong 2026-02-28 22:55:30 +01:00
  • 0a52cd2cee changed math.crc16() to now also take an initvalue and xorout value, to make it more flexible in calculating various variants of CRC16 checksums Irmen de Jong 2026-02-28 18:13:00 +01:00
  • fedf342cee fix interned string problem with -profiling Irmen de Jong 2026-02-28 16:19:47 +01:00
  • 2bafc161d6 attempt to fix doc Irmen de Jong 2026-02-27 23:03:14 +01:00
  • d0c5e35f0a attempt to fix doc Irmen de Jong 2026-02-27 22:56:58 +01:00
  • 859a02fb0a adding profiling instrumentation support Irmen de Jong 2026-02-27 01:55:53 +01:00
  • 2a53dbc1f3 tweaks Irmen de Jong 2026-02-27 01:55:53 +01:00
  • 63cba4825a doc tweaks Irmen de Jong 2026-02-26 01:44:36 +01:00
  • 08e3652924 sgn() can look directly at msb if arg is a variable Irmen de Jong 2026-02-24 22:11:50 +01:00
  • 10796c09c7 cleanup weiord multi-return type handling more Irmen de Jong 2026-02-24 21:42:44 +01:00
  • a3cbf4c3db fix divmod doc Irmen de Jong 2026-02-23 22:01:59 +01:00
  • bdbdf6e5cd add lmh(longvalue) builtin function that returns the low, mid, hi (=bank) bytes of a long symboldumps now also contain the builtin functions Irmen de Jong 2026-02-23 21:30:39 +01:00
  • 1b5dd980df optimize result register cases for mklong() and mkword() Irmen de Jong 2026-02-23 01:38:18 +01:00
  • f6b59c6832 optimize some result register cases for peekw() Irmen de Jong 2026-02-22 22:52:38 +01:00
  • fe8d904792 fixing result register assignment from builtin functions Irmen de Jong 2026-02-22 00:37:25 +01:00
  • 9736ac19d1 implementing multiple return values for builtin functions Irmen de Jong 2026-02-13 00:16:40 +01:00
  • 14abc1f0b7 clarify compiler errors output Irmen de Jong 2026-02-22 03:22:20 +01:00
  • effc7f1b56 optimize and fix diskio.status_code() also for C64 and PET Irmen de Jong 2026-02-21 11:07:57 +01:00
  • 093be9f2dd sys.push(), sys.pop() etc etc are now builtin functions again push() pop() to avoid storing value in temporary variables Irmen de Jong 2026-02-21 00:59:42 +01:00
  • 9aff85f08a optimize diskio.status_code() size Irmen de Jong 2026-02-20 20:39:11 +01:00
  • f2077cb56f sqrt_long() no longer allocates a bunch of zeropage variables Irmen de Jong 2026-02-20 01:21:02 +01:00
  • 2a9ac45cad diskio: make f_open, f_open_w, and exists to read the command channel for success status rather than depending on flaky ST Irmen de Jong 2026-02-18 02:05:47 +01:00
  • e15452b110 doc Irmen de Jong 2026-02-17 21:49:35 +01:00
  • a64b586a43 Merge branch 'swap-statement' Irmen de Jong 2026-02-17 21:00:43 +01:00
  • 2613d45cd5 swap() is now a statement instead of a builtin function call Irmen de Jong 2026-02-13 01:16:12 +01:00
  • c25fbbccfb update kotlin to 2.3.10 Irmen de Jong 2026-02-17 16:33:21 +01:00
  • 77f0cf8e89 defer stack doc and better error message for invalid range syntax Irmen de Jong 2026-02-16 23:00:50 +01:00
  • 74ca190ce0 long args call convention is to pass via parameter variable not R14R15 Irmen de Jong 2026-02-15 17:28:59 +01:00
  • 6a0b22bb64 implement sqrt(long) Irmen de Jong 2026-02-15 17:11:31 +01:00
  • 07be7f0154 fix long argument @R0R1 register usage in regular subroutines Irmen de Jong 2026-02-15 14:49:15 +01:00
  • d1383813d2 version 12.1.1 v12.1.1 Irmen de Jong 2026-02-13 01:16:12 +01:00
  • 3bd2064c3a mention empty file issue Irmen de Jong 2026-02-12 22:10:53 +01:00
  • f95f568319 fix mflpt5 overflow error message Irmen de Jong 2026-02-12 02:29:10 +01:00
  • 5eb873b722 conv.str2long() added. alias problems detected. Irmen de Jong 2026-02-11 22:51:50 +01:00
  • 3f181b0ede allow alias to blocks Irmen de Jong 2026-02-10 22:37:07 +01:00
  • d6c8fc0c61 alias refactorings Irmen de Jong 2026-02-09 23:58:32 +01:00
  • 709ced1bca alias test program, replace alias chains Irmen de Jong 2026-02-06 22:57:23 +01:00
  • 3b16d08246 arrays can contain pointers too Irmen de Jong 2026-02-10 21:03:07 +01:00
  • b9a6deea25 implement ror / rol on ptr expressions Irmen de Jong 2026-02-08 20:35:49 +01:00
  • 099514a2c0 Fix error output file path: Encode to URI (#214) Andy De George 2026-02-06 13:09:58 -08:00
  • ed02b84f7d micro optimization for containment checks in compiler Irmen de Jong 2026-02-06 01:22:13 +01:00
  • 7d6e67e251 fix numeric type error when comparing undefined symbols Irmen de Jong 2026-02-04 23:55:08 +01:00
  • 4aa364925d todo Irmen de Jong 2026-02-01 01:09:04 +01:00
  • e5ae9ad4e0 Add PET 80 column support. (#211) v12.1 Andrew Gillham 2026-02-02 16:02:01 -06:00
  • 6329388a4e skeleton Irmen de Jong 2026-01-31 19:39:43 +01:00
  • ac851a35bc implement FREADUY on pet, so that ubyte to float now works Irmen de Jong 2026-01-31 19:31:26 +01:00
  • bc0d6453ae revert Irmen de Jong 2026-01-30 23:40:45 +01:00
  • 8c65e0a537 attempt to create index in latex pdf Irmen de Jong 2026-01-30 23:38:26 +01:00
  • d415cf356f attempt to create index in latex pdf Irmen de Jong 2026-01-30 23:33:54 +01:00
  • 2bd74b8c44 Add an index and set some non-ASCII fonts to improve the resulting pdf. (#210) Andrew Gillham 2026-01-30 15:03:40 -06:00
  • 88b48f58c9 fix string init error about string multiplication. fixes #209 Irmen de Jong 2026-01-30 17:36:48 +01:00
  • 75accf4059 release 12.1 Irmen de Jong 2026-01-28 23:40:55 +01:00
  • c3f9959891 fixed invalid replacement in optimization of if-statement. better replacement errors. fixes #208 Irmen de Jong 2026-01-28 22:44:44 +01:00
  • ee492a1e9a some more optimized swap() code paths Irmen de Jong 2026-01-27 22:51:07 +01:00
  • 415f0fb071 pet: added bunch more diskio routines like directory(), delete(), rename() and list_filenames() Irmen de Jong 2026-01-26 23:30:33 +01:00
  • 8e7bf4227b pet: added diskio.save() and save_raw() Irmen de Jong 2026-01-26 22:32:46 +01:00
  • d2b743c296 pet: added diskio.load() and load_raw() Irmen de Jong 2026-01-26 02:37:10 +01:00
  • cb44e76626 swap Irmen de Jong 2026-01-25 19:14:05 +01:00
  • b2983e912d swap longs now uses R14+R15 as temporary storage instead of R0+R1 Irmen de Jong 2026-01-25 17:02:47 +01:00
  • 10ae42ed59 suggest import for undefined block symbols, update github links Irmen de Jong 2026-01-25 05:39:06 +01:00
  • 5cbd4aafcc strings: added next_token() which mimicks C's strtok() routine Irmen de Jong 2026-01-25 00:09:52 +01:00
  • 4aa326d5ca diskio: added lf_start_list_having_prefix() strings: added split() Irmen de Jong 2026-01-24 22:26:59 +01:00
  • 39b1bbcf58 pet32: added more missing routines in textio like column(), row() Irmen de Jong 2026-01-24 19:10:42 +01:00
  • 4661d3bada implement simple array element swap() Irmen de Jong 2026-01-24 17:33:58 +01:00
  • ab98f4a5e2 fix charset encoding error with merge. Fixes #207 Irmen de Jong 2026-01-24 16:12:53 +01:00
  • b99b054a09 cx16: add missing extapi16 call numbers tweak swap(long,long) and swap(ptr^^, ptr^^) Irmen de Jong 2026-01-24 03:45:11 +01:00
  • 5d5ad8a70e fix void/nonvoid assign target issue Irmen de Jong 2026-01-24 01:11:30 +01:00
  • 9a5edeebbc upgrade to kotlin 2.3.0 Irmen de Jong 2026-01-24 00:29:45 +01:00
  • 3fb45a611a make math.gcd() use swap() builtin Irmen de Jong 2026-01-23 23:52:45 +01:00
  • 2e0db6f211 add swap() builtin for optimized value swaps without the need for a temporary variable Irmen de Jong 2026-01-23 23:15:52 +01:00
  • 51ac096a31 add a -warnimplicitcasts compiler option Irmen de Jong 2026-01-23 03:06:53 +01:00
  • dfad83650d add math.gcd() Irmen de Jong 2026-01-22 23:30:00 +01:00
  • 492cd686a0 avoid invalid pointer arithmetic in joined expresssions. Fixes #206 Irmen de Jong 2026-01-22 22:20:30 +01:00
  • 561e05a764 decent error message for unsupported struct instance expressions. Fixes #205 Irmen de Jong 2026-01-22 02:47:44 +01:00
  • f56037142b added petgfx module for pet32, c64, c128 for petscii block characters drawing (double resolution) Irmen de Jong 2026-01-21 01:05:37 +01:00
  • a41cb60328 pet: working boingball example, implement floats.GIVUAYFAY cx16: improved floats.GIVUAYFAY to no longer depend on magic zp locations Irmen de Jong 2026-01-19 23:05:19 +01:00
  • ca3e4b161b add Amiga boing ball example, plus more pet syslib definitions, and pet diskio beginnings Irmen de Jong 2026-01-19 22:47:58 +01:00
  • 4971ebd41f pet32: added floats support! Irmen de Jong 2026-01-18 23:32:19 +01:00
  • e2276f000c fix alias issue when it targeted multi variable declaration Irmen de Jong 2026-01-18 19:48:37 +01:00
  • 520a12194e cx16: add new X16Edit rom entrypoint x16edit_loadfile_options2() that also takes starting line number Irmen de Jong 2026-01-18 18:37:59 +01:00
  • 6c61e1e5e8 fix alias target scoping problem Irmen de Jong 2026-01-17 21:39:39 +01:00