[Oberon] ORX.WriteFile

Andreas Pirklbauer andreas_pirklbauer at yahoo.com
Thu Oct 17 11:46:46 CEST 2019


Oh cool, this is ORC.WriteFile right there on a Linux command line..

- - -

USAGE: orx [decode] > [prom.mem]
# echo -n > prom.mem
i=0; while read hex; do
  hex=$( echo $hex | sed s'/[ ]*[0-9]*[ \t]*\([0-9A-F]*\).*/\1/' )
  echo $hex # >> prom.mem
  i=$((i+1))
done < $1

j=$i; while [ $j -lt 512 ]; do
  echo 00000000 # >> prom.mem
  j=$((j+1))
done

# eof


More information about the Oberon mailing list