newRPL - build 1255 released! [updated to 1299]
|
01-03-2018, 04:10 AM
(This post was last modified: 01-03-2018 04:15 AM by Claudio L..)
Post: #73
|
|||
|
|||
RE: newRPL - build 1001 released!
(01-03-2018 12:31 AM)BarryMead Wrote: Anyone: I was experimenting with SDSTO and SDRCL on the calculator with an sdcard installed. I was also experimenting with saving and loading of SaveAs and Open on the emulator. The emulator saves files in an .nrpb format, which is not compatible with the SDRCL of the calculator. If you put one of these .nrpb files onto an sdcard There's 2 file formats: .nrpl is for RPL objects, and .nrpb is for backup files. Backup files are more than objects, they have the entire directory structure, settings, flags, and are generated by xxARCHIVE/xxRESTORE (here xx=either SD or USB). The New/Open/Save options in the File menu work on entire calculators and use backup files, 100% compatible with xxARCHIVE. For individual objects the menu Stack can "Open file to level 1" and "Save level 1 as..." which uses files .nrpl fully compatible with SDSTO/SDRCL. (01-03-2018 12:31 AM)BarryMead Wrote: I was wondering if there is any way The menu Hardware has the option to insert an SD card image. The image is exactly that: the image of a FAT formatted filesystem. You can easily get one from a real SD card, using the 'dd' command (on Linux that is, just clarifying for other people). Code: dd if=/dev/sdX of=~/myfile.img bs=1MB status=progress where /dev/sdX has to be replaced with the device of your real SD card. The image file has to be inserted/ejected from the simulator just like an SD card in the real calculator. (01-03-2018 12:31 AM)BarryMead Wrote: I know that whatever you have on one If you want to get files out of the image, just mount it in Linux and it magically becomes the directory you are requesting. On some desktops mounting an image is a couple of clicks, on others a matter of "mount -o loop ...". [a side note for other people: on Windows I use a free program called OSFMount by Passmark to mount images] Writing directly to a directory in the host would bypass the filesystem driver in newRPL, and defeats the purpose of debugging and testing it. This way it was more useful to me for development, and more realistic as far as the simulation. I agree from a final user perspective having to mount/unmount an image seems like an unnecessary chore. EDIT: By the way, writing directly to a directory is exactly what those 2 options in the Stack menu do, they are actually SDSTO/SDRCL but directly to the host, in the same way that the "Remote USBARCHIVE..." and "Remote USBRESTORE..." are working directly on the host, bypassing the simulator entirely. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 17 Guest(s)