INTL 3:770/1 3:770/3
REPLYADDR anssi.saari@usenet.mail.kapsi.fi
REPLYTO 3:770/3.0 UUCP
MSGID: 2c6e49d9
REPLY: e87d6b6b
PID: SoupGate-Win32 v1.05
Jan van den Broek 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)
SEEN-BY: 1/19 123 15/0 16/0 18/200 19/10 37 90/1 105/81 106/201 123/130
SEEN-BY: 123/131 129/305 132/174 142/104 153/757 7715 154/10 203/0
SEEN-BY: 218/700 840 220/70 221/1 6 360 226/17 30 227/114 229/110
SEEN-BY: 229/112 113 206 275 307 317 400 426 428 470 664 700 230/0
SEEN-BY: 240/5832 266/512 267/800 280/5003 282/1038 291/111 301/1
SEEN-BY: 305/3 317/3 320/119 219 319 2119 322/0 757 325/304 326/101
SEEN-BY: 335/364 341/66 342/19 200 396/45 423/81 460/58 633/280 712/848
SEEN-BY: 770/1 3 100 340 772/210 220 230 5020/400 5058/104 5075/35
PATH: 770/3 1 218/840 221/6 1 320/219 229/426
|