• 8 bytes

    From vince@pianoman.cluster.toy@21:1/5 to All on Fri Mar 10 04:04:59 2023
    CALL -151
    B8: 2C EA 20 F4 F3 20 D8 F3
    B8G

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fadden@21:1/5 to vi...@pianoman.cluster.toy on Fri Mar 10 08:17:03 2023
    On Thursday, March 9, 2023 at 8:05:02 PM UTC-8, vi...@pianoman.cluster.toy wrote:
    CALL -151
    B8: 2C EA 20 F4 F3 20 D8 F3
    B8G

    Cute. :-)

    (Note: requires Applesoft.)

    Could have skipped B8/B9 and started with BDG, though that probably makes the patterns less interesting. (You probably want BDG anyway, or it won't work on a IIgs.)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From vince@pianoman.cluster.toy@21:1/5 to fadden on Fri Mar 10 18:22:54 2023
    On 2023-03-10, fadden <thefadden@gmail.com> wrote:

    (Note: requires Applesoft.)

    yes, most of my sizecoding stuff requires Applesoft because there's a lot
    of useful graphics routines in the ROMs. I don't always remember to
    specify as I personally don't come across pre-II+ machines that often.

    Could have skipped B8/B9 and started with BDG, though that probably
    makes the patterns less interesting. (You probably want BDG anyway,
    or it won't work on a IIgs.)

    I didn't think to check on a 65c816, I mostly just checked that the unused opcode was harmless on a 6502 and 65c02. I guess that's the issue on a IIgs?

    I start with B8G as this was a demoscene-style entry and they expect the program to be runnable from a disk with BRUN. It was a bit extra effort
    to find a way to have it fit in 8 bytes but also start execution at
    the load address.

    Vince

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From fadden@21:1/5 to vi...@pianoman.cluster.toy on Fri Mar 10 18:57:05 2023
    On Friday, March 10, 2023 at 10:22:56 AM UTC-8, vi...@pianoman.cluster.toy wrote:
    I didn't think to check on a 65c816, I mostly just checked that the unused opcode was harmless on a 6502 and 65c02. I guess that's the issue on a IIgs?

    $F4 is PEA, which is harmless enough for what you're doing, but it's a 3-byte instruction.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)