Add comments to the cputs() and cputc() sources about the former relying on

the latter not to clobber ptr1.
This commit is contained in:
Kugel Fuhr
2025-07-04 11:20:35 +02:00
parent 29f7ab3809
commit 947eecb65c
23 changed files with 50 additions and 1 deletions

View File

@@ -5,6 +5,8 @@
; void cputcxy (unsigned char x, unsigned char y, char c);
; void cputc (char c);
;
; Important note: The implementation of cputs() relies on the cputc() function
; not clobbering ptr1. Beware when rewriting or changing this function!
.include "atari5200.inc"