Page 2 of 2

Re: CX16 Programming and Coding in C Guide/Tutorial

Posted: Wed Jul 05, 2023 6:50 pm
by mobluse
It says
Latest Emulator Download (r42)
Download the r42 or r41 version of the emulator.
But we are on R43 since May 17. How does the examples work in R43?

Re: CX16 Programming and Coding in C Guide/Tutorial

Posted: Fri Jul 07, 2023 3:36 pm
by mwiedmann
Seems to be fine with r43. I haven't run them all but there were no breaking changes that would (should?) effect anything in the repo.

Re: CX16 Programming and Coding in C Guide/Tutorial

Posted: Sun Aug 06, 2023 12:32 am
by 10?CHR$(147)
Hi, I'm running the score code sample in Chapter 19 and it appears to be reading HIGH.BIN properly but not saving. Any thoughts?
2023-08-05.png
2023-08-05.png (26.14 KiB) Viewed 4605 times
The only change I made to the code was to add the following line after the cbm_k_save call to see if there was an error code.

Code: Select all

printf("cbm_k_readst() = %c\n", cbm_k_readst());

Re: CX16 Programming and Coding in C Guide/Tutorial

Posted: Mon Aug 21, 2023 11:58 pm
by mwiedmann
Sorry...been away. Interesting. I just tried it again and its _seems_ to work. I tried it with r42 and r43 of the emulator. I'm on a MAC. It could be something with the "@" filename prefix needed to overwrite the file? I had to learn that from someone as it doesn't seem to be documented. Maybe there is a caveat to that?