duskos

dusk os fork
git clone git://git.alexwennerberg.com/duskos
Log | Files | Refs | README | LICENSE

commit a5349884cd7abd3e89b22dfacc4e43e068ea68c4
parent 845679e0d57ba4a8038686f7d065d71a14d6cdf1
Author: Virgil Dupras <hsoft@hardcoded.net>
Date:   Thu,  1 Sep 2022 15:47:19 -0400

cvm: remove stderr

It's not needed any more.

Diffstat:
Mposix/vm.c | 9++-------
1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/posix/vm.c b/posix/vm.c @@ -251,11 +251,6 @@ static void STDOUT() { // op: 14 write(STDOUT_FILENO, &c, 1); } -static void STDERR() { // op: 15 - dword c = ppop(); - write(STDERR_FILENO, &c, 1); -} - static void KEY() { // op: 16 ppush(getc(stdin)); } @@ -917,7 +912,7 @@ static void DRVWR() { // op: 6a static void (*ops[OPCNT])() = { JUMP, CALL, RET, LIT, BYE, BYEFAIL, QUIT, ABORT_, EXECUTE, CELL, NULL, NULL, DOES, SLIT, BR, CBR, - NEXT, NULL, NULL, BOOTRD, STDOUT, STDERR, KEY, DROP, + NEXT, NULL, NULL, BOOTRD, STDOUT, NULL, KEY, DROP, DUP, CDUP, SWAP, OVER, ROT, ROTR, NIP, TUCK, RSADD, RSADDWR, RSADDR, RSADDRWR, SCNT, RCNT, SET16B, SET8B, FETCH, STORE, ADDSTORE, FETCHSTORE, FETCHADD, STOREADD, IFETCHADD, ISTOREADD, @@ -933,7 +928,7 @@ static void (*ops[OPCNT])() = { static char *opnames[OPCNT] = { NULL, NULL, NULL, NULL, "bye", "byefail", "quit", "(abort)", "execute", "(cell)", NULL, NULL, "(does)", "(s)", "(br)", "(?br)", - "(next)", NULL, NULL, "boot<", "(emit)", "stderr", "(key)", "drop", + "(next)", NULL, NULL, "boot<", "(emit)", NULL, "(key)", "drop", "dup", "?dup", "swap", "over", "rot", "rot>", "nip", "tuck", NULL, "r+,", NULL, "r',", "scnt", "rcnt", "16b", "8b", "@", "!", "+!", "@!", "@+", "!+", "@@+", "@!+",