9 hours ago, borgar said:
generally I find Prog8 to be a nice and simple language to work in. Since we are working closer to "the metal" than I normally do I think the simple types and limited syntax makes perfect sense. I especially like how easy it's to integrate in assembly functions with the Prog8 code.
Thanks, I am glad it is proving to be useful for others too in the way I intended it.
9 hours ago, borgar said:
I've already mentioned the issue with variables only used in assembly being optimized away. I'd prefer to have these in the Prog8 part of the code for a few reasons.
As long as you're not using zeropage locations you should be just fine by "inlining" .byte or .word statements in your asm blocks to reserve some variables space:
%asm {{
lda variable
rts
variable .byte 99
}}
I'm still considering a feature of some sort to mark variables to not optimize them away as unused, though.
9 hours ago, borgar said:
constants being removed in assembly output
This hasn't been the case anymore since the 6.5-beta version at least, so you may want to upgrade to that (or even better the recently published 7.0-beta version)
9 hours ago, borgar said:
debugging a bit more of a hassle
Yeah I'm not sure if prog8 compiler can be of any help for this for the Cx16 emulator. It does output symbol and breakpoint lists for the Vice C64 emulator, but these are useless for the cx16 emulator.
Thanks for the feedback!