Log In  

Some trouble understanding basic functionalities:

-Open Picotron and go to the editor. Type in some code into the blank tab called
main.lua. hit ctrl-s which saves as a cart: untitled.p64.

-Loads fine, runs great. Can change the name later.

-Now I want to create a new, different cart. Go to the desktop and open Files.
Click on the hamburger menu and select New File.

-I enter in myNewFile and it gives filetype not found.

-I enter in myNewFile.p64 and it gives filetype not found

-I enter in myNewFile.lua and it likes that. very good.

-It opens myNewFile.lua as a tab alongside main.lua in the editor.
But when saved, it doesn't save as a .p64 and it cant be loaded obviously.

I've taken to shutting down and restarting in order to start a new cart. What is the correct way to do it?? (v 0.1.0e)

A basic explanation of the mechanics of how this all functions would also be of great interest for anyone up to it. Like, are new files just tabs of whatever is loaded into ram/cart? Is there a way to 'unload' a cart to start fresh without a reboot?

thank you :)

P#145320 2024-04-01 03:10 ( Edited 2024-04-21 03:10)

2

> Is there a way to 'unload' a cart to start fresh without a reboot?

Go to the command line and type load #new

P#145331 2024-04-01 04:41
1

@Snail_God, thanks. I never would have got that without asking. Nothing in the manual... (that I saw anyways)

P#145338 2024-04-01 05:45
2

@camp39 it isn't in the docs because load #new is a utility cart created by a user that essentially just remounts the template cart to /ram/cart.

You can see it posted in the BBS here

It's very handy but I expect there will eventually be a way to accomplish this baked into Picotron.

P#145388 2024-04-01 19:13 ( Edited 2024-04-01 19:14)

[Please log in to post a comment]