megadrive_test1

diff src/startup.s @ 6:862f8a034cae

expanding the megadrive code
author John Tsiombikas <nuclear@member.fsf.org>
date Sat, 11 Feb 2017 08:56:42 +0200
parents 54739a11be66
children 8253942b0a1a
line diff
     1.1 --- a/src/startup.s	Wed Feb 01 14:40:19 2017 +0200
     1.2 +++ b/src/startup.s	Sat Feb 11 08:56:42 2017 +0200
     1.3 @@ -2,6 +2,7 @@
     1.4  	.extern main
     1.5  
     1.6  	.global start
     1.7 +	.global halt_cpu
     1.8  start:
     1.9  	| copy .data section from ROM to RAM
    1.10  	move.l #_data_lma, %a0
    1.11 @@ -24,4 +25,5 @@
    1.12  	bne.s 0b
    1.13  1:
    1.14  	jsr main
    1.15 +halt_cpu:
    1.16  	stop #0x2700