commanderx16 / x16-demo

73 stars 29 forks source link

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

Open mobluse opened 5 years ago

mobluse commented 5 years ago

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.

SerErris commented 4 years ago

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.