projects
/
YACASL2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc4c4e8
)
SVC 2の動作を、領域の最後まで文字を出力するよう修正
author
j8takagi
<j8takagi@nifty.com>
Sat, 13 Feb 2010 17:24:44 +0000
(
02:24
+0900)
committer
j8takagi
<j8takagi@nifty.com>
Sat, 13 Feb 2010 17:24:44 +0000
(
02:24
+0900)
src/exec.c
patch
|
blob
|
history
diff --git
a/src/exec.c
b/src/exec.c
index
4851aea
..
c102d32
100644
(file)
--- a/
src/exec.c
+++ b/
src/exec.c
@@
-39,12
+39,9
@@
void svcout()
setcerr(203, NULL); /* SVC output - out of Comet II memory */
return;
}
- if((w = memory[GR[1]+i]) == '\0') {
- break;
- }
/* 「文字の組」の符号表に記載された文字と、改行(CR)/タブを表示 */
/* それ以外の文字は、「.」で表す */
- if((
w
>= 0x20 && w <= 0x7E) || w == 0xA || w == '\t') {
+ if((
(w = memory[GR[1]+i])
>= 0x20 && w <= 0x7E) || w == 0xA || w == '\t') {
putchar((char)w);
} else {
putchar('.');