Crashing in live shell

Started by Astrosynthesist, April 24, 2017, 02:16:31 PM

Previous topic - Next topic

Astrosynthesist

v1.14
Boot Vectrex32, hit ^C to enter live shell
I noted that if I'm in the middle of creating a while loop in the live shell, such as:
move = 122
while 1
call MoveSprite(-50,0)
call TextSprite(move

And then I realize I forgot something so I break to get out of it:
move = 122
while 1
call MoveSprite(-50,0)
call TextSprite(move^C

I usually have to hit enter for the break to register.
Then the very next command I enter soft crashes the Vectrex 32.
(The two I've tried are print(move), print(), and call MoveSprite(50,0), all of which crash the Vectrex32.
It then reboots to the standard menu (no errors output on terminal)
Then I once had it crash again and reboot without even connecting to the shell.

From the testing I've done, this happens in these circumstances but it's hard to make happen using any general commands. It might involve function calls as this also works:
while 1
call MoveSprite(0,50)
call MoveSprite(1,50)^C

Vectrex32

I've found and fixed these problems (having to hit Enter after Ctrl+C, and crashing when trying to execute a command). The fixes will be in version 1.15.

Thank you, Astrosynthesist, for all the great work you're doing!

- Bob

Astrosynthesist

Awesome, and it's a lot of fun so no worries!