changeset 98:8eaa265ee292

C139 boot re setup using the new arm7dis
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Mon, 31 Mar 2014 00:43:15 +0000
parents fb5ea2758482
children 3bd695d9b2b4
files .hgignore compal/Makefile
diffstat 2 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/.hgignore	Sun Mar 30 23:32:26 2014 +0000
+++ b/.hgignore	Mon Mar 31 00:43:15 2014 +0000
@@ -12,6 +12,8 @@
 ^arm7dis/armdis$
 ^arm7dis/thumbdis$
 
+^compal/c139-boot\.
+
 ^mpffs/mpffs-cat$
 ^mpffs/mpffs-dbgls$
 ^mpffs/mpffs-ls$
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/compal/Makefile	Mon Mar 31 00:43:15 2014 +0000
@@ -0,0 +1,18 @@
+C139=	c139-boot.90.04.bin
+GEN=	c139-boot.dis16 c139-boot.dis32 c139-boot.hex
+ARMDIS=	../arm7dis/armdis
+THUMBDIS=../arm7dis/thumbdis
+
+all:	${GEN}
+
+c139-boot.dis16:	${C139} ${THUMBDIS}
+	${THUMBDIS} ${C139} > $@
+
+c139-boot.dis32:	${C139} ${ARMDIS}
+	${ARMDIS} ${C139} > $@
+
+c139-boot.hex:	${C139}
+	hd ${C139} > $@
+
+clean:
+	rm -f ${GEN}