i am using a trackloader and need to switch IRQs for music playback...
sorry to ask dumb questions...
am I right that on the VIC a VBL is not triggered as IRQ/NMI? So everything is timer based?
when using stable rasterline routines (which use the 2 double timer) and I exit that part to load the next... how do I setup back the "standard" values and bits to run properly the IRQ for music while loading? talking about $0314/$0315...
I do
wait for rasterline #154
SEI
LDA #<22150
STA $9125
lda #>22150
STA $9126
lda #<music_IRQ
sta $0314
lda #>music_IRQ
sta $0315
cli
and what is the key to $0318/$0319 NMI? how is that handled properly? would be make sense to use NMI for music?
it's kind of confusing
IRQ / VBL / trackloader
Moderator: Moderators
Re: IRQ / VBL / trackloader
what loader is it that you are using? generally for a demo type of thing, you need a "irq loader" which will work even if an irq is running (and then you just do it, you dont have to switch to original irq when running or whatever). on the other hand when using a "normal" loader, you cant play music while loading, as the loader itself would disable/enable the irq in undefined periods.
I'm just a Software Guy who has no Idea how the Hardware works. Don't listen to me.