;*********************************************************************** ;*********** *********** ;*********** *********** ;*********** DSP Sample Program *********** ;*********** to test Amiga DSP-Replay under interrupt *********** ;*********** *********** ;*********** *********** ;*********** By Simplet / FATAL DESIGN *********** ;*********** *********** ;*********************************************************************** HSR equ $ffe9 ; Host Status Register HRX equ $ffeb ; Host Receive Register HTX equ $ffeb ; Host Transmit Register ; Host Status Register Bit Flags HRDF equ 0 ; Host Receive Data Full HTDE equ 1 ; Host Transmit Data Empty ; The P56 Loader jumps here : org p:$0 jmp m5 registers too, I don't save them org p:$191 Start ; ; Main Loop ; move #Reelle,r0 move #C_Re,r1 move #C_Im,r2 move #Imaginaire,r4 Loop jclr #4,b move X:(r0),x0 Y:(r4),y0 Pixel_Loop mpy x0,x0,a mac y0,y0,a asl a asl a jes (2^2/4) ? mpy x0,x0,a mac -y0,y0,a X:(r1),x1 asl a asl a add x1,a X:(r2),x1 mpy x0,y0,a a,x0 rep #<3 asl a add x1,a #>1,x1 add x1,b #>32,x1 cmp x1,b a,y0 jlt