No idea if this is actually a bug or a conscious design choice, but the MAINCNT timer isn't frozen while you're in the menu. One would assume that being on the menu completely suspends the BASIC VM, but in this case it doesn't. Running from the viewer appears to reset the VM as well, but it must not; MAINCNT is still the same as it would be.
MAINCNT counts while you're on the Top Menu.
Root / SmileBASIC Bug Reports / [.]
snail_Created:
Yeah, that makes sense I guess.
I use the term VM loosely. It's sort-of simulating a BASIC machine, isn't it? It consists of 2MB code memory per slot, a 128KB stack and a 8MB heap. The code is compiled on runtime and executed by an interpreter. So in this sense, it's kinda like a virtual machine.