Irmen de Jong
ee492a1e9a
some more optimized swap() code paths
2026-01-28 00:07:10 +01:00
Irmen de Jong
cb44e76626
swap
2026-01-25 19:14:05 +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
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
07bb5c36bd
avoid fallback JSR peek for common case pointer+offset
2025-10-11 04:45:03 +02:00
Irmen de Jong
396fcbc927
implement missing long typecasts
2025-10-07 17:46:10 +02:00
Irmen de Jong
50fecbcebe
c64 sprite multiplexer WIP
2025-09-24 21:11:08 +02:00
Irmen de Jong
09d1cb6925
fix crash when indexing on a label or subroutine name
...
working on multiplexer
2025-09-23 20:07:52 +02:00
Irmen de Jong
f6dbeb1f63
working on a more complex c64 sprite multiplexer
2025-09-22 21:58:12 +02:00
Irmen de Jong
c4b9bdd33f
proper pointer array initializer size checking, nicer sprite movement in simplemultiplexer
2025-09-22 20:07:38 +02:00
Irmen de Jong
68e0d5f1b5
add sys.set_rasterline on c64 and c128 targets as well (cx16 already had it)
2025-09-21 01:36:43 +02:00
Irmen de Jong
4939e3df55
add sys.update_rasterirq, more robust sei/cli handling, added simple c64 sprite multiplexer example
2025-09-21 00:28:33 +02:00
Irmen de Jong
19f19f3880
doc and opening borders
2025-09-20 21:44:48 +02:00
Irmen de Jong
0285a4cce1
avoid needless pointer arithmetic multiplication by struct size 1
2025-08-27 21:50:09 +02:00
Irmen de Jong
65e34d4989
stricter types for & operator (address-of), and fix invalid recursive subroutine flagging related to struct definition
2025-05-17 11:32:54 +02:00
Irmen de Jong
d0909d7810
added diskio.loadlib() convenience function to load library blobs
2025-03-24 22:35:34 +01:00
Irmen de Jong
06ca68a625
add drivenumber to fileselector config
2025-02-02 23:09:27 +01:00
Irmen de Jong
10b9162dc5
improving fileselector
2024-12-30 21:34:03 +01:00
Irmen de Jong
78c71bbf0e
adding file selector example
2024-12-30 00:00:31 +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
906b137a7c
renamed 'string' module to 'strings' for consistency
2024-11-23 15:51:38 +01:00
Irmen de Jong
e514eeba17
added c64.banks() and c64.getbanks() and c64 banking example
2024-11-04 20:14:30 +01:00
Irmen de Jong
40ce7725a1
cleanup c64 sprite examples
2024-10-26 21:36:11 +02:00
Irmen de Jong
03412cacba
added examples/cx16/balloonflight.p8
2024-10-13 00:51:07 +02:00
Irmen de Jong
1a6b95b388
house cleaning
2024-10-10 20:46:18 +02:00
Irmen de Jong
1d1d6b3d98
tweak c64 balloonflight example etc.
2024-09-22 13:20:12 +02:00
Irmen de Jong
731132d4b3
check number of result values in return statements
2024-04-05 02:13:31 +02:00
Irmen de Jong
98acff802f
better checking for number of return values
...
assignment optimization if return register already is the same as the assignment target
2024-04-04 23:47:33 +02:00
Irmen de Jong
92527b4c1d
examples: add ==0 or !=0 to expressions that depend on implicit conversion from byte to bool
2024-03-02 23:19:18 +01:00
Irmen de Jong
6bc079c7b7
more asm symbol prefixing: variables with p8v_, subroutines with p8s_ etc
...
labels with p8l_ . All this to avoid symbol clashes in the generated assembly code.
Everything got its own distinguishing prefix so we're done with it once and for all and have only 1 breaking change moment.
2023-12-20 22:20:59 +01:00
Irmen de Jong
08ac459a41
breaking change: sys.set_irq() and sys.set_rasterirq() no longer have useKernal parameter! The irq handler routine must return a boolean instead in the A register.
...
When it returns true it means run the system IRQ handler afterwards. When it returns false, the system handler is NOT ran afterwards.
2023-11-21 23:22:53 +01:00
Irmen de Jong
b500a0d477
c64: added a couple of routines that calculate the correct memory locations for video ram and sprite pointers etc. based on current VIC-II memory setup.
...
the examples with sprites, now use it.
2023-09-08 21:27:38 +02:00
Irmen de Jong
31458ffd81
examples cleanup and improving c64 graphics module (shift bitmap to higher ram area)
2023-09-05 20:39:12 +02:00
Irmen de Jong
9fca978725
optimized plasma examples even more
2023-09-05 00:23:50 +02:00
Irmen de Jong
eb018ae660
code optimization for bytearray[x] +/- bytearray[y]
...
use adc array,y or sbc array,y instead of tempvar
2023-09-04 23:01:53 +02:00
Irmen de Jong
7e5a9474fe
improve plasma example
2023-09-04 20:35:43 +02:00
Irmen de Jong
9314c346da
-target option is now required; c64 no longer the default
2023-06-03 19:14:45 +02:00