Removed unused macro in console example
This commit is contained in:
parent
1704e23b4d
commit
acf6dcee48
|
@ -4,8 +4,6 @@
|
||||||
Copies data from stdin to both stdout and stderr.
|
Copies data from stdin to both stdout and stderr.
|
||||||
)
|
)
|
||||||
|
|
||||||
%RTN { JMP2r }
|
|
||||||
|
|
||||||
|10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ]
|
|10 @Console [ &vector $2 &read $1 &pad $5 &write $1 &error $1 ]
|
||||||
|
|
||||||
( init )
|
( init )
|
||||||
|
@ -20,7 +18,6 @@ BRK
|
||||||
|
|
||||||
.Console/read DEI
|
.Console/read DEI
|
||||||
DUP .Console/write DEO
|
DUP .Console/write DEO
|
||||||
.Console/error DEO
|
.Console/error DEO
|
||||||
|
|
||||||
BRK
|
BRK
|
||||||
|
|
||||||
|
|
|
@ -133,7 +133,7 @@ static void
|
||||||
run(Uxn *u)
|
run(Uxn *u)
|
||||||
{
|
{
|
||||||
uxn_eval(u, PAGE_PROGRAM);
|
uxn_eval(u, PAGE_PROGRAM);
|
||||||
while(read(0, &devconsole->dat[0x2], 1) > 0)
|
while(read(0, &devconsole->dat[0x2], 1) > 0)
|
||||||
uxn_eval(u, mempeek16(devconsole->dat, 0));
|
uxn_eval(u, mempeek16(devconsole->dat, 0));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue