File:  [Isaki's NoNo m68k/m88k emulator] / nono / hd64180 / merge.sh
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed Apr 29 17:05:43 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

cat ops_00.cpp.new \
    ops_cb.cpp.new \
    ops_dd.cpp.new \
    ops_dd_cb.cpp.new \
    ops_ed.cpp.new > ops.cpp.new
php ../util/merge_ops/merge_ops.php ops.cpp.new hd64180ops.cpp > ops.new
mv_if ops.new hd64180ops.cpp
php ../util/merge_ops/merge_ops.php ops.cpp.new hd64180disasm.cpp > dis.new
mv_if dis.new hd64180disasm.cpp

mv_if ops.h.new hd64180ops.h
mv_if switch_00.inc.new hd64180switch_00.inc
mv_if switch_cb.inc.new hd64180switch_cb.inc
mv_if switch_dd.inc.new hd64180switch_dd.inc
mv_if switch_dd_cb.inc.new hd64180switch_dd_cb.inc
mv_if switch_ed.inc.new hd64180switch_ed.inc

unix.superglobalmegacorp.com

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