Jump to content
  • 0

Last Cursor Location (Assembly)


DusanStrakl
 Share

Question

11 answers to this question

Recommended Posts

  • 0
1 hour ago, DusanStrakl said:

I tried it before and it looked like it was not working, now I tried it again and it works but it puts positions in opposite registers, Y returns column and X returns row number. That confused me before. It does the same thing when setting the coordinates.

 

16 minutes ago, SlithyMatt said:

Sounds like a bug. You should report it on the ROM repo: https://github.com/commanderx16/x16-rom/issues

No bug, that's actually how that's supposed to work, apparently.

https://www.c64-wiki.com/wiki/PLOT_(KERNAL)

Link to comment
Share on other sites

  • 0
56 minutes ago, DusanStrakl said:

I tried it before and it looked like it was not working, now I tried it again and it works but it puts positions in opposite registers, Y returns column and X returns row number. That confused me before. It does the same thing when setting the coordinates.

Sounds like a bug. You should report it on the ROM repo: https://github.com/commanderx16/x16-rom/issues

Link to comment
Share on other sites

  • 0

This tutorial says they are supposed to be switched, too: http://retro64.altervista.org/blog/very-basic-basic-plotting-characters-screen-c64-and-vic-20/

I guess that means that my usual reference is not 100% correct. :classic_sad:

This OCR scan of an original CBM programming guide also says they should be switched, so it looks like there is no bug, for sure.

Edited by SlithyMatt
Link to comment
Share on other sites

  • 0
  • Super Administrators
43 minutes ago, StephenHorn said:

And I pretty much got the push notification from that immediately, even though I'd left the site open and idle for some hours. So that seems to work well. 🙂

That's good. It also supports push on mobile. 👍

  • Like 1
Link to comment
Share on other sites

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