[Oberon] FPGA - Boot over serial line
Jörg
joerg.straube at iaeth.ch
Fri Oct 13 16:40:24 CEST 2017
I mean OSG.Decode (
Jörg
Am 13.10.17, 16:36 schrieb "Jörg" <joerg.straube at iaeth.ch>:
ORG.Decode is the same as ORTool.DecObj in ProjectOberon
Jörg
Am 13.10.17, 16:09 schrieb "Oberon im Auftrag von Tomas Kral" <oberon-bounces at lists.inf.ethz.ch im Auftrag von thomas.kral at email.cz>:
On Thu, 12 Oct 2017 17:42:34 +0200
Tomas Kral <thomas.kral at email.cz> wrote:
> ORP.Compile @ ORG.Decode ORX.WriteFile BootLoad.rsc "prom.mem"
So is `OSG.Decode' provided by Oberon-0 compiler.
I have coded simplified `ORX.WriteFile' in shell
for the host computer. It does not do all it should, but I hope carries
the idea?
#!/bin/sh
# ORX.WriteFile
# (c)tcat 13.10.2017
i=0; echo -n > prom.mem
while read hex; do
echo $hex >> prom.mem
i=$((i+1))
done < prom0.mem
j=$i; while [ $j -lt 512 ]; do
echo 00000000 >> prom.mem
j=$((j+1))
done
# eof
--
Tomas Kral <thomas.kral at email.cz>
--
Oberon at lists.inf.ethz.ch mailing list for ETH Oberon and related systems
https://lists.inf.ethz.ch/mailman/listinfo/oberon
More information about the Oberon
mailing list