Irmen de Jong
|
1ca3f64bf0
|
libraries: add ==0 or !=0 to expressions that depend on implicit conversion from byte to bool
|
2024-03-02 23:19:20 +01:00 |
|
Irmen de Jong
|
813007a5d8
|
adjusted options of library modules
|
2023-12-29 22:21:44 +01:00 |
|
Irmen de Jong
|
2b8f613a00
|
added %option ignore_unused to suppress warnings about unused vars and subs in that module/block.
Also improved error for invalid directive.
|
2023-12-26 23:37:59 +01:00 |
|
Irmen de Jong
|
0d44492086
|
push,pushw,pop and popw are no longer built-in functions but regular routines in sys
|
2023-12-26 14:47:31 +01:00 |
|
Irmen de Jong
|
1b2296ad5b
|
move cx16 irq examples to new API, fix some bugs in the handler
|
2023-11-22 23:25:39 +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
|
2d7ebff8e9
|
fix shadowing warnings in asm and library code
|
2023-08-29 11:00:53 +02:00 |
|
Irmen de Jong
|
cad18b8a3a
|
uniform symbol prefixing with p8_
|
2023-07-02 06:15:02 +02:00 |
|
Irmen de Jong
|
9896bc110e
|
fix some split array issues in 6502 codegen
|
2023-05-28 22:49:33 +02:00 |
|
Irmen de Jong
|
544acd1e35
|
Merge branch 'v8_maintenance'
|
2023-05-28 22:30:52 +02:00 |
|
Irmen de Jong
|
6e07602d77
|
fix psg initial envelope maxvol setting
|
2023-05-28 22:30:34 +02:00 |
|
Irmen de Jong
|
8bffd7672d
|
added sys.irqsafe_set_irqd()/irqsafe_clear_irqd()
|
2023-05-22 21:13:20 +02:00 |
|
Irmen de Jong
|
f9926beeef
|
fix cx16.psg irq issue
|
2023-05-04 00:16:24 +02:00 |
|
Irmen de Jong
|
e1b89494d0
|
tiny psg improvement to avoid clicks more on changing freq or envelope, added cx16.vpoke_mask()
|
2023-04-26 22:45:32 +02:00 |
|
Irmen de Jong
|
cd8e7f3912
|
psg comment
|
2023-04-24 01:23:03 +02:00 |
|
Irmen de Jong
|
50604c25c2
|
remove obsolete comments, updated links and docs.
|
2023-04-23 15:13:53 +02:00 |
|
Irmen de Jong
|
a296d26328
|
api change: renamed cx16.push/pop_vera_context() to save/restore_vera_context()
this better reflects its capability because it doesn't use a stack, only a single buffer
|
2023-04-17 23:37:15 +02:00 |
|
Irmen de Jong
|
a878c9a61d
|
add some documentation to the psg module
|
2022-08-19 22:17:23 +02:00 |
|
Irmen de Jong
|
35af53828a
|
fix endless loop in optimizer, fix cx16 register clobbering in psg interrupt handler, fix crash on certain arrays, fix undefined symbol when it's in another imported module
|
2022-07-13 18:42:06 +02:00 |
|
Irmen de Jong
|
c51c1da618
|
psg micro optimizations
|
2022-07-03 11:55:13 +02:00 |
|
Irmen de Jong
|
ea2812f50f
|
add max volume to psg envelope
|
2022-07-03 11:26:56 +02:00 |
|
Irmen de Jong
|
3ec05709d5
|
convert the sounds in cx16 tehtriz to use the psg module instead
|
2022-07-03 01:40:29 +02:00 |
|
Irmen de Jong
|
4bdac7404a
|
added sustain to psg envelope
|
2022-07-03 00:55:25 +02:00 |
|
Irmen de Jong
|
064d412ec8
|
added cx16.push_vera_context() and cx16.pop_vera_context() for use in irq handlers
|
2022-07-02 23:13:00 +02:00 |
|
Irmen de Jong
|
7fff4f249d
|
optimize msb(cx16.r0) -> cx16.r0H, lsb(cx16.r0) -> cx16.r0L
|
2022-07-02 21:38:22 +02:00 |
|
Irmen de Jong
|
7a3745f642
|
psg tweaks
|
2022-07-02 20:33:40 +02:00 |
|
Irmen de Jong
|
f8658f6afa
|
precalc vera freq to not use floating point math anymore
|
2022-07-02 19:40:18 +02:00 |
|
Irmen de Jong
|
223b725a10
|
psg abstraction and attack/release envelope
|
2022-07-02 18:47:12 +02:00 |
|