no disk for web version

2

GAMELEGEND 2022-12-15 22:44 (Edited)

So, I was wondering about the disk file and why there is not one for the web version and found this comment by Timo

"Keep in mind in LowRes NX a "disk" is just a way to edit ROM entries of other programs. So inside of your program you would probably still use PEEK to access the ROM data.
You cannot access real files outside of LowRes NX's virtual world."

so, I'm guessing that there is a virtual disk and I know that there is an actual disk file that I'm guessing the fantasy console copies data over to from the virtual disk, correct?

so, if that is correct, I'm wondering if that is why there is no disk for the web version because if data got saved to the virtual disk nothing would get saved to the actual disk file or if data got saved to an actual disk file, then data from the actual disk file would have to be wrote to the program that the user wants to run or maybe that there would be no way to access that actual disk file

I don't know that much about web development but is that why there is no disk for the web version


was8bit 2022-12-16 04:28 (Edited)

If I am correct, disk and randomize timer and persistent memory will not work on web version... as well as gamepad buttons do not work on web version ...


GAMELEGEND 2022-12-16 04:38

a while ago I thought something weird was going on with the randomness on the web version.


SP4CEBAR 2022-12-16 12:03

From my recent testing I found that the "no disk" on the web version behaves identical to an empty disk: it can hold data, and it has default ROM entries


GAMELEGEND 2022-12-16 13:58

interesting


GAMELEGEND 2022-12-16 14:10 (Edited)

You press ctrl + r to reload the program but you can't do that on the web version.

would "no disk" or this "no disk" get wiped if you reloaded the program?
but I'm guessing that the program can be reloaded with code, right? or at least do that same things that happen when you reload a program.


SP4CEBAR 2022-12-16 14:21

doesn't ctrl + r also reload the web page, in that case, it probably gets wiped


GAMELEGEND 2022-12-16 14:34

that's what I was thinking


Timo 2022-12-16 19:03

Adding “disks” to the web player would be a bit more complicated: every user should have their own disk for each program, otherwise one user could create something and another one could break it again.

But anyway, the main task for a tool is usually to edit data for your own programs, but you cannot write programs on the website.

I see tools on the website more like demo/test versions. If you like them, you can download them and use them locally.


Timo 2022-12-16 19:05

Actually from my point of view more sense would make support for persistent memory in the web player per user, for high scores or game states.

(But then I would need some spare time to develop it)


GAMELEGEND 2022-12-16 19:15

ah I see


GAMELEGEND 2022-12-16 19:21 (Edited)

"You cannot access real files outside of LowRes NX's virtual world"

So LowRes NX's virtual world can't access files outside of its virtual world but can files outside of the virtual world access the virtual world.

is that how data get wrote to the disk.nx file?

I don't know that much about fantasy consoles, so I really don't see any other way to do it

unless it kept track of everyplace where the user clicked and wrote data to disk.nx depending on what the user did.


Timo 2022-12-16 21:05

LowRes NX is a native application, so it can access normal files. “Disk.nx” is just a normal file. But for the NX programs the application simulates the special environment.


GAMELEGEND 2022-12-16 21:11

wow fantasy consoles are so interesting


Log in to reply.