Irmen de Jong
|
ca3e4b161b
|
add Amiga boing ball example, plus more pet syslib definitions, and pet diskio beginnings
|
2026-01-19 22:47:58 +01:00 |
|
Irmen de Jong
|
4971ebd41f
|
pet32: added floats support!
|
2026-01-18 23:32:19 +01:00 |
|
Irmen de Jong
|
e2276f000c
|
fix alias issue when it targeted multi variable declaration
|
2026-01-18 19:48:37 +01:00 |
|
Irmen de Jong
|
520a12194e
|
cx16: add new X16Edit rom entrypoint x16edit_loadfile_options2() that also takes starting line number
|
2026-01-18 19:10:06 +01:00 |
|
Irmen de Jong
|
a385412e70
|
smaller floats.internal_long_to_float()
|
2026-01-17 20:38:30 +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
|
d477e9b2bd
|
pet32: added VIA registers (in 'pet' namespace) and petsnd module to play sound.
|
2026-01-16 00:15:04 +01:00 |
|
Irmen de Jong
|
e3bb09d2a1
|
diskio: case insensitive file/dir listings only on CX16 target, and based on ISO encoding
|
2026-01-14 23:12:12 +01:00 |
|
Irmen de Jong
|
112bce0ac0
|
cx16: added ISO lowercase and uppercase routines to strings module
|
2026-01-14 22:07:24 +01:00 |
|
Irmen de Jong
|
620793011e
|
way faster long to float conversion routine, fixes #202
|
2026-01-13 22:55:37 +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
|
8c4944d703
|
optimized long and float copying through pointers
|
2026-01-12 00:19:21 +01:00 |
|
Irmen de Jong
|
f5fbb5f930
|
implement some missing float copy
|
2026-01-11 22:06:21 +01:00 |
|
Irmen de Jong
|
40ce40db32
|
irq doc
|
2026-01-11 19:00:37 +01:00 |
|
Irmen de Jong
|
5cd175d54f
|
optimize successive additions/subtractions and multiplications (with const) into just a single add/sub, mul
optimize var = simpleexpression | var += expression --> var = simpleexpression + expression (for any augmented operator)
|
2026-01-11 01:30:04 +01:00 |
|
Irmen de Jong
|
b51e116b63
|
optimize expression: uwordvar + 256 and variants to only manipulate msb
|
2026-01-10 22:50:33 +01:00 |
|
Irmen de Jong
|
5c7ac0efb7
|
IR: remove broken loadi/storei optimization
|
2026-01-10 22:23:01 +01:00 |
|
Irmen de Jong
|
34b228cfca
|
fix peek/poke error with const offset
|
2026-01-10 20:58:16 +01:00 |
|
Irmen de Jong
|
2b26952044
|
better error
|
2026-01-10 19:06:59 +01:00 |
|
Irmen de Jong
|
db38c27224
|
optimized peeks with a ubyte variable offset
|
2026-01-10 00:22:39 +01:00 |
|
Irmen de Jong
|
560013e58b
|
optimized pokes with a ubyte variable offset
|
2026-01-09 22:36:04 +01:00 |
|
Irmen de Jong
|
cdb41f4352
|
better errors when multiplying string or array with bogus value
|
2026-01-09 18:43:41 +01:00 |
|
Irmen de Jong
|
f69b293b7f
|
optimized some more cases of poke and peek
|
2026-01-09 02:57:12 +01:00 |
|
Irmen de Jong
|
d4bf0bf5b7
|
optimized simple cases of pokel()
|
2026-01-09 01:21:11 +01:00 |
|
Irmen de Jong
|
8c6a95f5e2
|
optimized simple cases of v = peekl()
|
2026-01-08 23:37:06 +01:00 |
|
Irmen de Jong
|
6301a8b040
|
optimize msb(long<<8/16/24) into single byte accesses (skip the whole shift)
|
2026-01-08 22:38:07 +01:00 |
|
Irmen de Jong
|
daa9b40883
|
optimize lsb(long>>8/16/24) into single byte accesses (skip the whole shift)
|
2026-01-08 03:21:57 +01:00 |
|
Irmen de Jong
|
aa045bb383
|
optimized certain word and long shifts to get the lsb/msb
|
2026-01-08 02:45:09 +01:00 |
|
Irmen de Jong
|
9d7049a659
|
optimized long>>8, long>>16, long>>24
|
2026-01-08 00:31:39 +01:00 |
|
Irmen de Jong
|
bbfb2eb367
|
optimized longvar = lptr^^
|
2026-01-07 23:30:35 +01:00 |
|
Irmen de Jong
|
447271f3f2
|
implemented missing byte ptr assignment
|
2026-01-07 22:42:53 +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
|
2913fa47b2
|
fix pointer assignment TODO
|
2026-01-07 00:31:06 +01:00 |
|
Irmen de Jong
|
d6e4175e21
|
fix msb(a+b), lsb(a+b)
|
2026-01-07 00:20:49 +01:00 |
|
Irmen de Jong
|
3a0add60fd
|
optimize msb(lsw(longvar)) into @(&longvar+1)
|
2026-01-06 22:58:45 +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
|
75156f7dbd
|
fix optimized long comparison against 0
|
2026-01-05 19:08:56 +01:00 |
|
Irmen de Jong
|
9827be0047
|
optimize sgn(integer) comparisons
|
2026-01-05 18:33:26 +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
|
6028cc49ab
|
simplify when into if-else, if possible
|
2026-01-04 19:39:38 +01:00 |
|
Irmen de Jong
|
23d3fb96b9
|
improved parsing rule of constdecl
|
2026-01-02 23:36:55 +01:00 |
|
Irmen de Jong
|
51503e054a
|
IR: improve use of loadfield for msb/lsb of struct fields
|
2026-01-02 22:10:10 +01:00 |
|
Irmen de Jong
|
18ba25d6a4
|
IR: optimize double ADD/SUB
|
2026-01-02 20:24:35 +01:00 |
|
Irmen de Jong
|
2290308e06
|
fix invalid 6502 instructions in math.diff. Fixes #203
|
2026-01-02 01:08:50 +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
|
50b8cae519
|
sys.save_prog8_internals() now also correctly saves the SCRATCH_PTR temp var. Moved a bunch of common sys routines into separate shared_sys_functions.p8 module file
|
2025-12-31 12:10:04 +01:00 |
|
Irmen de Jong
|
3a74931a61
|
c128: added c128.fast() and c128.slow() to enable/disable the CPU's 2 MHz mode.
Also added c128.is80(), set80(), set40() to check and set 40/80 column screen mode
|
2025-12-30 23:53:58 +01:00 |
|
Irmen de Jong
|
d386343fe7
|
fix romable error check for arrays
|
2025-12-30 02:26:01 +01:00 |
|