Hey all,
I've been playing around with the YAZE implementation of CP/M, and have written a few simple programs. Now I'm trying to use BDOS function 9 to print a $-terminated string. The program assembles and runs, and I can see the terminated string in the hex dump, but when I make the call, it prints the string and then a bunch of garbage characters. The really odd thing is that it doesn't print the last character before the $ delimiter; for example:
"Hello, World!$" prints as "Hello, World" followed by garbage
"Hello, World$" prints as "Hello, Worl" followed by garbage
I think that for some reason, the CCP isn't seeing the $ delimiter (hence the garbage), but I can't figure out why, since it is correct in the hex dump. And I have NO idea why the last printable character doesn't print, regardless of string length.
Thanks in advance for any help.
KKat
P.S. I believe YAZE emulates v. 3.1; haven't written a program to check the version myself yet, though
I've been playing around with the YAZE implementation of CP/M, and have written a few simple programs. Now I'm trying to use BDOS function 9 to print a $-terminated string. The program assembles and runs, and I can see the terminated string in the hex dump, but when I make the call, it prints the string and then a bunch of garbage characters. The really odd thing is that it doesn't print the last character before the $ delimiter; for example:
"Hello, World!$" prints as "Hello, World" followed by garbage
"Hello, World$" prints as "Hello, Worl" followed by garbage
I think that for some reason, the CCP isn't seeing the $ delimiter (hence the garbage), but I can't figure out why, since it is correct in the hex dump. And I have NO idea why the last printable character doesn't print, regardless of string length.
Thanks in advance for any help.
KKat
P.S. I believe YAZE emulates v. 3.1; haven't written a program to check the version myself yet, though