XRoar Paste feature
Posted: Mon May 22, 2023 9:20 am
When trying out a Dragon program someone posted on their website I copied the text and then tried to paste it into an XRoar Dragon 32 screen. I was hoping it would just go in as if I was typing it but alas it does not.
I found a quick solution that's not quite so obvious. I pasted the text into a text editor on my PC and saved it as a example.bas
Then from the command prompt I typed;
which auto runs the program which is nice.
Or I can just load it in as if I was typing it in;
then LIST or RUN or EDIT perhaps
It would be cool if Paste worked and it would even be quite handy if the XRoar file menu allowed -load-text. Currently it only mounts a tape file.
I must complement the comprehensive command line options because that allows the creation desktop and menu shortcuts on the PC so that the Dragon 32 and CoCo3 programs I use become 'Apps'. There was a certain skill set I had when my Dragon was always on my desk. I could boot up and immediately write a little bit of code to try something. Things have moved on but having XRoar two clicks away makes it practical to use those old skills.
I found a quick solution that's not quite so obvious. I pasted the text into a text editor on my PC and saved it as a example.bas
Then from the command prompt I typed;
Code: Select all
xroar -run ./example.bas
Or I can just load it in as if I was typing it in;
Code: Select all
xroar -load-text ./example.bas
It would be cool if Paste worked and it would even be quite handy if the XRoar file menu allowed -load-text. Currently it only mounts a tape file.
I must complement the comprehensive command line options because that allows the creation desktop and menu shortcuts on the PC so that the Dragon 32 and CoCo3 programs I use become 'Apps'. There was a certain skill set I had when my Dragon was always on my desk. I could boot up and immediately write a little bit of code to try something. Things have moved on but having XRoar two clicks away makes it practical to use those old skills.