home *** CD-ROM | disk | FTP | other *** search
- ; ==========================================
- ; Amiga boot program
- ; ==========================================
-
- even
-
- lea $80000-4,sp
-
- move.l 4,a6 ; set super
- jsr -150(a6)
-
- move.w #$7fff,custom+$9a
- move.w #$7fff,custom+$96
- move.w #$2700,sr
-
- move.l #31,d0
- lea colour0,a0
- clear_cols
- clr.w (a0)+
- dbra d0,clear_cols
-
- lea precieve_start,a0
- lea $80000-1024,a1
- move.l #(precieve_end-precieve_start)-1,d0
- relocate_1
- move.b (a0)+,(a1)+
- dbra d0,relocate_1
- jmp $80000-1024
-
- precieve_start
- move.l #coper_list-precieve_start,d0
- add.l #$80000-1024,d0
- wait_frame
- cmp.b #255,custom+6 ; wait for frame
- bne wait_frame
-
- ; lea my_stack,sp
- ; move.w #$2700,sr
- ; move.w #$7fff,custom+$9a
- ; move.w #$7fff,custom+$96
- ; move.w #$c030,custom+$9a
- ; move.w #$83c0,custom+$96
- ; move.l #coper_list,cop1lch
- move.l d0,cop1lch
- move.w copjmp1,d0
-
- lea program,a0
- lea $18400,a1
- move.l #86000,d0
- .relocate
- ; move.b (a0),colour0
- move.b (a0)+,(a1)+
- subq.l #1,d0
- bne .relocate
-
- jmp $1841c
-
-
- even
-
- coper_list
- dc.w $00e0,$0007,$000e2,$6000
- dc.w $00e4,$0007,$000e6,$6000+8000
- dc.w $00e8,$0007,$000ea,$6000+16000
- dc.w $00ec,$0007,$000ee,$6000+24000
- dc.w $00f0,$0007,$000f2,$6000+32000
- dc.w $ffff,$fffe
-
- ds.b 64
- my_stack
-
- even
-
- include ram:equates.s
-
- precieve_end
-
-
- even
- program
- incbin df0:ghouls.prg
-
- end
-
-