On the ANSI and Generic Console, inverse printing goes like this (from the ansivt52.c sample):
Code: Select all
printf("%cpInverse On%cqInverse off\n",27,27);
2. If a system does not support inverse characters, shall we avoid printing the control characters \p and \q? Or should z88dk take care of this by not printing these characters? Currently, on some of these targets these unwanted characters appear and on some they don't.
3. If a target supports both the Generic and ANSI console, should the inverse printing behaviour be the same on both consoles? And if it is not (i.e. if it works only on one of them, or if control characters appear on one console but not on the other), is this a bug that we should report to the z88dk team?
Here is a list of targets that according to my tests support inverse printing:
Casio FP-1100 (*)
NEC PC-6001 Mk2
Toshiba Pasopia 7
Z9001 (works with Generic Console, ANIS/VT100 shows control characters)
ZX81 (inverse printing using captial letters)
(*) The Casio FP-1100 ansivt52.c screenshot on the wiki page is outdated, here is a new one:
And according to my tests, these targets do not seem to support inverse printing:
NCR Decision Mate V