How to paste into EDIT from clipboard

Chat about anything CX16 related that doesn't fit elsewhere
Post Reply
dvanaria
Posts: 7
Joined: Sun Aug 02, 2020 3:51 am

How to paste into EDIT from clipboard

Post 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?
User avatar
ahenry3068
Posts: 1136
Joined: Tue Apr 04, 2023 9:57 pm

Re: How to paste into EDIT from clipboard

Post 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.
dvanaria
Posts: 7
Joined: Sun Aug 02, 2020 3:51 am

Re: How to paste into EDIT from clipboard

Post 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.
User avatar
ahenry3068
Posts: 1136
Joined: Tue Apr 04, 2023 9:57 pm

Re: How to paste into EDIT from clipboard

Post 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.
mortarm
Posts: 299
Joined: Tue May 16, 2023 6:21 pm

Re: How to paste into EDIT from clipboard

Post 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?
Post Reply