HARDWARE/SYNC-SCROLLER BY THE ONE OF VECTOR/PHALANX
@atari
Published in
atari
· 3 years ago
... W,OLD_VBL MOVE.L $120.W,OLD_TB *** SET MFP SETTINGS AND VECTORS *** CLR.B $FFFFFA1B.W ; TIMER B CONTROL CLR.B $FFFFFA09.W ; INTERRUPT ENABLE B MOVE.L #TimerB,$120.W ; TIMER B VECTOR MOVE.B #1,$FFFFFA07.W ; INTERRUPT ENABLE A MOVE.B #1,$FFFFFA13.W ; INTERRUPT MASK A CLR.B $FFFFFA15.W ; INTERRUPT MASK B MOVE.B #255,$FFFFFA21.W ; TIMER B DATA MOVE.B #8,$FFFFFA1B.W ; TIMER B CONTROL MOVE.L #VBL,$70.W ; VBL VECTOR MOVE.L #BSS_START,TEMP_SCREEN MOVE.W #$2300,SR WAIT_FOR_SYNC TST.B VSYNC BEQ WAIT_FOR_SYNC MOVE.B #0,$FFFF8260.W ; SET LOW RESOLUTION MOVE.B #2,$FFFF820A.W ; SET 50 HZ BRA MAIN **************** *** VBL-ROUT *** **************** VBL: MOVEM.L D0 ...