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

@@ -1,8 +1,10 @@
; 2018-04-13, Jede (jede@oric.org)
;
;
; 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!
.export _cputc, _cputcxy, cputdirect, display_conio
.export CHARCOLOR, OLD_CHARCOLOR, BGCOLOR, OLD_BGCOLOR