Page 1 of 1

How to paste into EDIT from clipboard

Posted: Sun Jun 30, 2024 10:15 pm
by dvanaria
Another embarrasingly newb question: I'm on a Windows 10 machine and trying to cut some BASIC code from a plain-text file (in Notepad on the Windows machine) and paste it into EDIT on the current Commander X16 emulator (version r47).

I know I can paste into the emulator's commandline, but how do I paste something into EDIT?

Re: How to paste into EDIT from clipboard

Posted: Sun Jun 30, 2024 10:39 pm
by ahenry3068
dvanaria wrote: Sun Jun 30, 2024 10:15 pm Another embarrasingly newb question: I'm on a Windows 10 machine and trying to cut some BASIC code from a plain-text file (in Notepad on the Windows machine) and paste it into EDIT on the current Commander X16 emulator (version r47).

I know I can paste into the emulator's commandline, but how do I paste something into EDIT?
Just copy the text file over to the Emulator's file system. Then open it with the X16 Editor. I think the Editor is using it's own keyboard input routines and not the ROM so cut & paste won't work.

Re: How to paste into EDIT from clipboard

Posted: Sun Jun 30, 2024 11:51 pm
by dvanaria
(face palm). I thought the emulator required either a virtual SDcard or real SDcard (plugged into the same machine) in order to save files. I didn't realize you can bypass dealing with SDcards altogether and just write/save both source code files and binary programs in the same directory the emulator lives in.

Thanks, this is by far the easiest method I've found so far to use the emulator to develop BASIC programs.

Re: How to paste into EDIT from clipboard

Posted: Mon Jul 01, 2024 1:39 am
by ahenry3068
dvanaria wrote: Sun Jun 30, 2024 11:51 pm (face palm). I thought the emulator required either a virtual SDcard or real SDcard (plugged into the same machine) in order to save files. I didn't realize you can bypass dealing with SDcards altogether and just write/save both source code files and binary programs in the same directory the emulator lives in.

Thanks, this is by far the easiest method I've found so far to use the emulator to develop BASIC programs.
The only real catch to this is that HOSTFS is unreasonably fast compared to SD-Card. You can get a bit of the wrong idea about what's possible. If your program is File I/O bound it is best to test against an SD-Card image . HOSTFS Is fine for just general development and much more convenient.

Re: How to paste into EDIT from clipboard

Posted: Sun Jul 14, 2024 7:43 pm
by mortarm
ahenry3068 wrote: Sun Jun 30, 2024 10:39 pm Just copy the text file over to the Emulator's file system. Then open it with the X16 Editor. I think the Editor is using it's own keyboard input routines and not the ROM so cut & paste won't work.
If your using the online emulator, where is the HostFS located?