Added predefined NVR data for VT100

This commit is contained in:
Jeff Parsons 2016-08-09 10:24:15 -07:00
commit 6afc652d30
2 changed files with 20 additions and 3 deletions

View file

@ -17,7 +17,12 @@ indent_style = tab
indent_size = 8 indent_size = 8
trim_trailing_whitespace = true trim_trailing_whitespace = true
[*.{C,H,c,h,xml,xsl}] [*.{C,CPP,H,c,cpp,h}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
[*.{xml,xsl}]
indent_style = tab indent_style = tab
indent_size = 4 indent_size = 4
trim_trailing_whitespace = true trim_trailing_whitespace = true

View file

@ -440,7 +440,19 @@ ChipSet.VT100.INIT = [
ChipSet.VT100.DC011.INIT ChipSet.VT100.DC011.INIT
], ],
[ [
0, 0, 0, 0, new Array(100) 0, 0, 0, 0,
[
0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80,
0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80,
0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80,
0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e80, 0x2e00,
0x2e08, 0x2e8e, 0x2e00, 0x2e50, 0x2e30, 0x2e40, 0x2e20, 0x2e00, 0x2ee0, 0x2ee0,
0x2e51, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000
]
] ]
]; ];
@ -794,7 +806,7 @@ ChipSet.prototype.doNVRCommand = function()
addr = this.getNVRAddr(); addr = this.getNVRAddr();
data = this.aNVRWords[addr]; data = this.aNVRWords[addr];
/* /*
* Since we don't explicitly initialize aNVRWords[], we pretend any uninitialized words contains WORDMASK. * If we don't explicitly initialize aNVRWords[], pretend any uninitialized words contains WORDMASK.
*/ */
if (data == null) data = ChipSet.VT100.NVR.WORDMASK; if (data == null) data = ChipSet.VT100.NVR.WORDMASK;
this.wNVRData = data; this.wNVRData = data;