megadrive_test2

changeset 12:54caa2b214ca tip

TMSS code
author John Tsiombikas <nuclear@member.fsf.org>
date Wed, 26 Dec 2018 04:39:09 +0200
parents 302bcd73edc4
children
files src/startup.s
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line diff
     1.1 --- a/src/startup.s	Sat Jun 24 03:47:37 2017 +0300
     1.2 +++ b/src/startup.s	Wed Dec 26 04:39:09 2018 +0200
     1.3 @@ -7,6 +7,10 @@
     1.4  start:
     1.5  	jsr disable_intr
     1.6  
     1.7 +	| write SEGA to 0xa14000 to convience the TMSS to run us
     1.8 +	move.l 0x100, %d0
     1.9 +	move.l %d0, 0xa14000
    1.10 +
    1.11  	| copy .data section from ROM to RAM
    1.12  	move.l #_data_lma, %a0
    1.13  	move.l #_data_start, %a1