Author Topic: Crashing in live shell  (Read 216 times)

Astrosynthesist

  • Newbie
  • *
  • Posts: 25
    • View Profile
Crashing in live shell
« on: April 24, 2017, 02:16:31 PM »
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:
Code: [Select]
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:
Code: [Select]
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:
Code: [Select]
while 1
call MoveSprite(0,50)
call MoveSprite(1,50)^C

Vectrex32

  • Administrator
  • Full Member
  • *****
  • Posts: 104
    • View Profile
Re: Crashing in live shell
« Reply #1 on: April 24, 2017, 08:50:07 PM »
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

  • Newbie
  • *
  • Posts: 25
    • View Profile
Re: Crashing in live shell
« Reply #2 on: April 24, 2017, 09:42:53 PM »
Awesome, and it's a lot of fun so no worries!