mirror of
https://github.com/curioustorvald/tsvm.git
synced 2026-06-09 06:34:04 +09:00
antialiased font
This commit is contained in:
11
assets/emittest.js
Normal file
11
assets/emittest.js
Normal file
@@ -0,0 +1,11 @@
|
||||
con.clear();
|
||||
con.move(1,1);
|
||||
for (let i = 0; i < 2048; i++) {
|
||||
if (i < 1024) con.color_pair(239, 0); else con.color_pair(0, 239);
|
||||
|
||||
let cx = (i%80)+1;
|
||||
let cy = ((i/80)|0)+1;
|
||||
//serial.printerr(cx+","+cy);
|
||||
con.move(cy,cx);
|
||||
con.addch(i%256);
|
||||
}
|
||||
@@ -549,7 +549,7 @@ bStatus.builtin = {
|
||||
|
||||
let varname = asgnObj.asgnVarName
|
||||
// check for variable name collision (e.g. 10 K=1TO10 \n 20 FOR I=K should work but 20 FOR K=K must not)
|
||||
if (bStatus.vars[varname] !== undefined)) throw lang.dupDef(lnum, varname);
|
||||
if (bStatus.vars[varname] !== undefined) throw lang.dupDef(lnum, varname);
|
||||
|
||||
// assign new variable
|
||||
bStatus.vars[varname] = asgnObj.asgnValue
|
||||
|
||||
Reference in New Issue
Block a user