Jump to content
  • 0

Error in return from BASIC GET statement?


Justin Baldock
 Share

Question

Hi, just a quick query if people are seeing same as me.

10 GET A
20 PRINT A
30 GOTO 10
RUN
-48
-48
-48
....

If I do the same on a C64 I get "0" instead of "-48". So I think this value is wrong... but I am wondering if I am missing something?

I've had a poke around the ROM source. I think basic/code7.s line 50 has the start of it but my assembly is rubbish. 

Should I log an issue in GitHub for it?

Edited by Justin Baldock
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

Please review our Terms of Use