view fcdev3b-hacks/src/romvecs-insert.S @ 656:9c42614e0a5e

Luna R2D: support D-Sample B&W mode too
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 07 May 2020 23:19:27 +0000
parents 8d9298e0823a
children
line wrap: on
line source

	.text
	.code	32
	.globl	_entry

_entry:	adr	r0, vectors
	ldmia	r0, {r1-r7}
	mov	r0, #0x800000
	stmia	r0, {r1-r7}
	ldr	pc, jumpaddr

vectors:
	.word	0x4000
	.word	0x4004
	.word	0x4008
	.word	0x400C
	.word	0x4010
	.word	0x4014
	.word	0x4018
jumpaddr:
	.word	0x4058