Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should have releases of demos & try to keep POKEs compatible with C64 #85

Open
mobluse opened this issue Nov 19, 2019 · 1 comment
Open

Comments

@mobluse
Copy link
Contributor

mobluse commented Nov 19, 2019

The POKEs in BASIC demos have been updated to the release after r34 of x16emu, and it means they don't work in r34. E.g. POKE 713 needs to be POKE 646 in r34.

It would be good to have releases of the demos too, e.g. x16-demo-r34.zip, since they are connected to a particular release of the x16emu, and the demos should be independent of the operating system. In Windows one might need the Ubuntu Linux app or Cygwin to build.

I think one should avoid to change the POKEs compared to C64. Some addresses might need to change, but the most popular POKE addresses I think should remain, because then it will be easier for elderly C64 programmers to transition to CX16. The most popular POKE addresses are probably those mentioned in the C64 manual. Obviously some POKE addresses can't be kept because the hardware is different and some are replaced by other VPOKE addresses.

@mobluse mobluse changed the title POKEs in BASIC have been updated to release after r34 of x16emu Should have releases of demos & try to keep POKEs compatible with C64 Jan 21, 2020
@SerErris
Copy link
Contributor

I think the BASIC demos on X16 shall use BASIC commands instead of POKEs whereever possible. So instead of using POKEs to change the color (because there was no BASIC command in C64) use the COLOR instruction. And so on. The X16 has a much better BASIC then the C64 and the demos are not meant to get backported to C64, but instead to understand how to program the X16. Just my 2ct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants