I am in the process of porting over the Famitone code again, this time with NESHLA. I've gotten to the part where I need to basically generate a test piece of music and I've noticed a large large large downside to NESHLA. It seems that I am unable to place arbitrary bytes, and words.
Even less so, you cant seem to have those "static" pointers referencing any sort of label.
Hrm, anyone have a way around this? Having a pre-assembled music binary file from CA65 output isn't really viable as the famitone format relies on pointers to loops buried inside it. Take those out of their element and kerblooey.
Examples:
Valid
Invalid
Oddest part is that it actually sort of gets there but just complains of the variables not being integers. Maybe NESHLA just wasn't fully fleshed out?
Either way, with my experience so far I'm 90% likely to go back to CA65.
Even less so, you cant seem to have those "static" pointers referencing any sort of label.
Hrm, anyone have a way around this? Having a pre-assembled music binary file from CA65 output isn't really viable as the famitone format relies on pointers to loops buried inside it. Take those out of their element and kerblooey.
Examples:
Valid
Code:
byte someRandomVariableSet[] = { $00, $01, $02, $03 }
Invalid
Code:
pointer someRandomPointers[] = { loop1, loop2, loop3 }
byte $01
byte $01
Oddest part is that it actually sort of gets there but just complains of the variables not being integers. Maybe NESHLA just wasn't fully fleshed out?
Either way, with my experience so far I'm 90% likely to go back to CA65.