Annotation of nono/hd64180/merge.sh, revision 1.1.1.1

1.1       root        1: #!/bin/sh
                      2: #
                      3: # nono
                      4: # Copyright (C) 2024 nono project
                      5: # Licensed under nono-license.txt
                      6: #
                      7: 
                      8: mv_if()
                      9: {
                     10:        local newfile=$1
                     11:        local targetfile=$2
                     12: 
                     13:        if ! cmp -s "$newfile" "$targetfile"; then
                     14:                echo $targetfile
                     15:                mv $newfile $targetfile
                     16:        fi
                     17: }
                     18: 
                     19: php gentable.php
                     20: 
                     21: cat ops_00.cpp.new \
                     22:     ops_cb.cpp.new \
                     23:     ops_dd.cpp.new \
                     24:     ops_dd_cb.cpp.new \
                     25:     ops_ed.cpp.new > ops.cpp.new
                     26: php ../util/merge_ops/merge_ops.php ops.cpp.new hd64180ops.cpp > ops.new
                     27: mv_if ops.new hd64180ops.cpp
                     28: php ../util/merge_ops/merge_ops.php ops.cpp.new hd64180disasm.cpp > dis.new
                     29: mv_if dis.new hd64180disasm.cpp
                     30: 
                     31: mv_if ops.h.new hd64180ops.h
                     32: mv_if switch_00.inc.new hd64180switch_00.inc
                     33: mv_if switch_cb.inc.new hd64180switch_cb.inc
                     34: mv_if switch_dd.inc.new hd64180switch_dd.inc
                     35: mv_if switch_dd_cb.inc.new hd64180switch_dd_cb.inc
                     36: 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.