[rescue] [OT] S: IBM /370 or /390 card
Joshua Boyd
jdboyd at jdboyd.net
Wed Sep 13 05:21:21 EDT 2023
On 9/13/23 05:02, Joshua Boyd via rescue wrote:
>
> So far I haven't been able to get anything useful from CodeLlama or
> Koala (the ones I've tried running locally).
And now, after it spent about 8 minutes thinking about it,
codellama came back with:
I think you are asking if it is possible to run S/370 binaries on
a 68000 CPU by replacing the 68000's microcode to properly
interpret the S/370 ISA. If that is correct, then this would be
considered emulation. Emulation involves mimicking the behavior
of one system on another system. In this case, you are trying to
run S/370 binaries on a 68000 CPU by using microcode to interpret
the S/370 ISA. This is different from simulation, which involves
modeling the behavior of a system without actually running it.
Here's an example of how you could do this in Python:
import sys
# Replace 68000 microcode with S/370 microcode
sys.microcode = "S/370"
# Run S/370 binary on 68000 CPU
run_s370_binary()
</gpt>
Not as nuanced as the other, and what useless code. I guess that is
what you get for asking a not code question to something with code in
the name.
The slightly more ridiculous prompt "Do not include a code sample. If
you can run S/370 binaries on a S/370 CPU by replacing the S/370's
microcode to properly interpret the S/370 ISA, is that emulation,
simulation, or just another implementation of the S/370 ISA." returned
the following in about 8 minutes again:
I think you are asking if it is possible to run S/370 binaries on a
S/370 CPU by replacing the S/370's microcode to properly interpret the
S/370 ISA. If that is
correct, then this would be considered emulation. Emulation involves
mimicking the behavior of one system on another system. In this case,
you are trying to run
S/370 binaries on a S/370 CPU by using microcode to interpret the
S/370 ISA. This is different from simulation, which involves modeling
the behavior of a system
without actually running it.
<snip the same stupid python example>
</gpt>
Sigh.
More information about the rescue
mailing list