Hack-a-Day / 2018-Supercon-Badge

Retrocomputing badge for the 2018 Hackaday Superconference
https://hackaday.io/project/161859-2018-hackaday-superconference-badge
MIT License
27 stars 8 forks source link

Default BASIC program triggers stack underflow #17

Closed Roger-random closed 6 years ago

Roger-random commented 6 years ago

Line "25 return" of default BASIC program triggers stack underflow error.

v116p.hex on Belgrade badge

Steps:

  1. At main menu, press '1' to launch Hackaday BASIC
  2. Type "run"
  3. Observe stack underflow error.

default basic stack underflow

jaromir-sukuba commented 6 years ago

This is expected behavior. After returning from four nested subroutines, stack is empty, another return underflows the stack.

I recognize this to be default program in badge. This is my testing program I left there and badge should probably have something more sensible loaded by default.

szczys commented 6 years ago

Yes, I agree we need a default program for BASIC. Any suggestions?

-Mike Szczys Editor in Chief hackaday.com hackaday.io @szczys

On Mon, Oct 29, 2018, 6:29 AM jaromir-sukuba notifications@github.com wrote:

This is expected behavior. After returning from four nested subroutines, stack is empty, another return underflows the stack.

I recognize this to be default program in badge. This is my testing program I left there and badge should probably have something more sensible loaded by default.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Hack-a-Day/2018-Supercon-Badge/issues/17#issuecomment-433877089, or mute the thread https://github.com/notifications/unsubscribe-auth/AAWcRRy1AuC6fQR2vrpxYhQBFFExO11dks5upualgaJpZM4X-rFP .

jaromir-sukuba commented 6 years ago

There is still option of using demo from Belgrade badge.

jaromir-sukuba commented 6 years ago

From 1.17, code contains the previous demo, with url to supercon badge project page.

Roger-random commented 6 years ago

Confirm fixed in v1.18 Confirm updated URL points to the Hackaday.io project page for 2018 Supercon badge