28 Jan
2017
28 Jan
'17
5:49 p.m.
On Sat, Jan 28, 2017 at 2:10 PM, Evan Koblentz via vcf-midatlantic < vcf-midatlantic@lists.vintagecomputerfederation.org> wrote:
1. Is the comment in line 110 incorrect, or is the code incorrect? 110 IF B1<127 THEN T(1)=0:GOSUB 1215: REM TURNS OFF BIT 2
Yes, typo in the remark.
No that's the digit value if binary bit# 1 which equals 2 that's a reminder to know what decimal value is being used by the Poke For when the array that hold the Binary# gets converted to Decimal# for the Poke instruction the array has 8 bits, 0- 7 when you convert Binary to decimal, that refers to the Digit value ie, [using fixed width here] Bit # 7 6 5 4 3 2 1 0 Digit Value 1 2 6 3 1 8 4 2 6 8 4 2 1