does any one know what address i can call in the OS to do
1) Reset VBI
2) Reset DLI
or reset any other interrupts without going throug the warmstart routine ($E477)
Nie jesteś zalogowany. Proszę się zalogować lub zarejestrować.
Ice-T 2.8.0 Najlepszy terminal VT-100/ANSI na Atari 8-bit z nowymi funkcjami
Rozpoznaj: POKEY czy emulacja? Nowe wyzwanie z wykorzystaniem SUBcarta i nagrań dźwiękowych.
Anty *AJEK Copy 1.5 Nowa wersja kopiera Speedy 2700 z optymalizacjami i obsługą błędów
Yoomp! trafia na Atari ST Kultowa gra z Atari XL/XE przeniesiona na ST z nowym trybem gry
ANTY *AJEK COPY 1.4 Nowa wersja narzędzia do kopiowania zabezpieczonych plików Speedy 2700
atari.area forum » Software, Gry - 8bit » OS Calls routines
Strony 1
Zaloguj się lub zarejestruj by napisać odpowiedź
does any one know what address i can call in the OS to do
1) Reset VBI
2) Reset DLI
or reset any other interrupts without going throug the warmstart routine ($E477)
you mean deactivate?
I'm afraid you have to save old values of vectors of page 2 somewhere in memory and restore these manualy later.
yes i mean diactivate.
lda $10 ; save irqens
sta irqen.sav
lda #$00
sta $d40e ; disable NMI
sta $10 ; disable IRQ
sta $d20e
You enable inerrupts this way:
jsr $e46b ; enable NMI (VBL only)
lda irqen.sav ; enable IRQ
sta $10
sta $s20e
what is irqen.sav?, what address is it?
i did find out that to disable vbi calls i need to set the vbi call routine to the original
LDY #<$E462
LDX #>$E462
LDA #$07
JSR $E45C
what is irqen.sav?, what address is it?
This is your own label and its address may be everywhere.
To disable VBL you don't need to set its address. Only when you've changed it and want to restore the original. This one you shown is the second phase of VBI. If you want to set the first one you have to load $06 to accumulator.
Strony 1
Zaloguj się lub zarejestruj by napisać odpowiedź
atari.area forum » Software, Gry - 8bit » OS Calls routines
Wygenerowano w 0.019 sekund, wykonano 40 zapytań