File:  [Isaki's NoNo m68k/m88k emulator] / nono / m680x0 / merge.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:40 2026 UTC (2 months, 3 weeks ago) by root
Branches: MAIN, Isaki
CVS tags: v027, v026, v025, v024, v023, HEAD
nono 1.3.0

#!/bin/sh
#
# nono
# Copyright (C) 2024 nono project
# Licensed under nono-license.txt
#

mv_if()
{
	local newfile=$1
	local targetfile=$2

	if ! cmp -s "$newfile" "$targetfile"; then
		echo $targetfile
		mv $newfile $targetfile
	fi
}

php gentable.php switch10

mv_if ops.h.new m680x0ops.h
mv_if switch.h.new m680x0switch.h

php ../util/merge_ops/merge_ops.php ops.cpp.new m680x0ops.cpp > ops.new
mv_if ops.new m680x0ops.cpp
php ../util/merge_ops/merge_ops.php ops.cpp.new m680x0disasm.cpp > dis.new
mv_if dis.new m680x0disasm.cpp

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.