[Coco] pasting text into emulated coco session on xroar?

Joel Rees joel.rees at gmail.com
Fri Jan 26 16:07:52 EST 2018


2018/01/27 0:28 "rietveld rietveld" <rietveldh at hotmail.com>:
>
> What if u set cocodir as your default viewer for. Dsk's.     U would open
the. Dsk then open the program.  This display s the code.   Copy and paste
the code to word.   Modify as need then Re copy to your clipboard,    go
back to cocodir and manually remove/modify Un needed code.   Paste your
modified code from word.   Then close the. dsk
>

imgtool gets stuff in and out of a ECB disk image okay.

But my Forth doesn't know a .dsk from a clot of bytes, and wants its stuff
relative to the first sector of the disk.

I was able to restore a truncated image using dd (unix utility). Works
nicely if the clots of source line up nicely in 1024 byte chunks. Three of
my partial images, for some reason I truncated lines by collapsing spaces
to linefeeds. In one case, there was only one chunk, so I can fudge. In the
others, there are several, so fudging just won't work.

> Sent from my BlackBerry Passport Red Edition.
>   Original Message
> From: Joel Rees
> Sent: Friday, January 26, 2018 9:53 AM
> To: CoCoList for Color Computer Enthusiasts
> Reply To: CoCoList for Color Computer Enthusiasts
> Subject: Re: [Coco] pasting text into emulated coco session on xroar?
>
>
> 2018/01/26 23:35 "rietveld rietveld" <rietveldh at hotmail.com>:
> >
> > Use a program like cocodir to open a. Dsk then copy from your clipboard.
>  Save. Dsk. Then mount and open
> >
>
> That won't work for what I'm doing. I have used imgtool from mame to copy
> the binary I'm running, which is a Forth interpreter I built a long time
> ago, and now I need to get source into a Forth session. I used dd to get a
> lot of this done, but what I need most to move over requires converting
> newline terminated source into source without newlines. I can write a C
> program to do the conversion for some of what I have, but the final target
> is going to be really messy to do that way. It would be much more
> convenient and less liable to error to just copy and paste.
> > Sent from my BlackBerry Passport Red Edition.
> >   Original Message
> > From: Joel Rees
> > Sent: Friday, January 26, 2018 9:26 AM
> > To: CoCoList for Color Computer Enthusiasts
> > Reply To: CoCoList for Color Computer Enthusiasts
> > Subject: [Coco] pasting text into emulated coco session on xroar?
> >
> >
> > I've asked before and didn't get an answer I liked, so I'll try again.
> Does
> > anyone know of a way to paste text into an emulated coco session on
xroar?
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
> >
> > --
> > Coco mailing list
> > Coco at maltedmedia.com
> > https://pairlist5.pair.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco
>
> --
> Coco mailing list
> Coco at maltedmedia.com
> https://pairlist5.pair.net/mailman/listinfo/coco


More information about the Coco mailing list