• Re: What's happening to Comp.Sys.Sinclair and Acorn?

    From Anssi Saari@3:770/3 to Jan van den Broek on Mon Oct 30 21:28:34 2023
    Jan van den Broek <balglaas@dds.nl> writes:

    But to get a bit on-topic, here is a Basic-program:
    10 poke 53280,0:poke 53281,0
    20 s$="acgt"
    30 c$=chr$(28)+chr$(30)+chr$(31)+chr$(158)
    40 r=1+int(rnd(0)*4)
    50 print mid$(c$,r,1);mid$(s$,r,1);
    60 goto 40

    Pretty cool.

    So what's a convenient command line way to get from an ascii basic
    listing to a prg inside a d64 image? After some looking I used tok64 and
    c1541.

    Second place was bastext to t64 and then to d64 via c1541 but I was
    weirded out since it seems the only binary output bastext is willing to
    do is a t64 file. And while c1541 should handle those, it didn't in this
    case.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andreas Kohlbach@3:770/3 to Anssi Saari on Mon Oct 30 19:08:08 2023
    On Mon, 30 Oct 2023 21:28:34 +0200, Anssi Saari wrote:

    Jan van den Broek <balglaas@dds.nl> writes:

    But to get a bit on-topic, here is a Basic-program:
    10 poke 53280,0:poke 53281,0
    20 s$="acgt"
    30 c$=chr$(28)+chr$(30)+chr$(31)+chr$(158)
    40 r=1+int(rnd(0)*4)
    50 print mid$(c$,r,1);mid$(s$,r,1);
    60 goto 40

    Pretty cool.

    I was also about to type it into the VICE emulator.

    So what's a convenient command line way to get from an ascii basic
    listing to a prg inside a d64 image? After some looking I used tok64 and c1541.

    Second place was bastext to t64 and then to d64 via c1541 but I was
    weirded out since it seems the only binary output bastext is willing to
    do is a t64 file. And while c1541 should handle those, it didn't in this case.

    So no image created?

    I'll write it down then at the weekend and type it into the C64 (emulated
    in VICE). Can upload the image to my web server for others then.
    --
    Andr *can wait to see what it does* eas

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Robert Roland@3:770/3 to ank@spamfence.net on Tue Oct 31 00:30:45 2023
    On Mon, 30 Oct 2023 19:08:08 -0400, Andreas Kohlbach
    <ank@spamfence.net> wrote:

    I was also about to type it into the VICE emulator.

    You do know that you can simply paste it into the Vice window?

    (On the Windows version, at least)
    --
    RoRo

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Anssi Saari@3:770/3 to Andreas Kohlbach on Tue Oct 31 13:00:51 2023
    Andreas Kohlbach <ank@spamfence.net> writes:

    So no image created?

    If I was unclear, not by the bastext + c1541 combo. No issue with tok64
    and c1541.

    I just wanted the image so I could run it in some browser based emulator
    which takes d64 images.

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andreas Kohlbach@3:770/3 to Anssi Saari on Tue Oct 31 22:50:23 2023
    On Tue, 31 Oct 2023 13:00:51 +0200, Anssi Saari wrote:

    Andreas Kohlbach <ank@spamfence.net> writes:

    So no image created?

    If I was unclear, not by the bastext + c1541 combo. No issue with tok64
    and c1541.

    Sorry, I don't know what these are. Thought some disk emulators.

    I was able to paste in the BASIC code into VICE and run it. Beautiful:
    the C64 creates life. :-)

    Anyway, I was able to "save it on tape" and created an *tap image. If interested I can upload it to my web server.
    --
    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andreas Kohlbach@3:770/3 to Robert Roland on Tue Oct 31 22:33:10 2023
    On Tue, 31 Oct 2023 00:30:45 +0100, Robert Roland wrote:

    On Mon, 30 Oct 2023 19:08:08 -0400, Andreas Kohlbach
    <ank@spamfence.net> wrote:

    I was also about to type it into the VICE emulator.

    You do know that you can simply paste it into the Vice window?

    (On the Windows version, at least)

    I didn't know!. Thank you!
    --
    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Andreas Kohlbach@3:770/3 to Anssi Saari on Tue Oct 31 22:33:05 2023
    On Tue, 31 Oct 2023 13:00:51 +0200, Anssi Saari wrote:

    Andreas Kohlbach <ank@spamfence.net> writes:

    So no image created?

    If I was unclear, not by the bastext + c1541 combo. No issue with tok64
    and c1541.

    Sorry, I don't know what these are. Thought some disk emulators.
    --
    Andreas

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)