Closed zeldin closed 2 months ago
I wonder if this is the only place where byteorder matters... one would assume that the rest of the code should also be riddled by this.
Most of it looks ok, since it uses macros like INT32 which are portable. The other suspicious place I found was the magic
check in fpgajtag_main()
, but that is dead code anyway since xflag
and mflag
are always 0.
Without this fix
m65 -q
did not work on my Talos II because it didn't read out the idcode correctly. With the fixm65 -q
works fine and runs the bitstream.