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 :)

2


3

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

Go to the command line and type load #new


1

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


3

@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.



[Please log in to post a comment]