我那时已经把电视上的计时电路做到最小了,只要再用横向和纵向的计数器去驱动存储着字符的内存就可以了。
I already had the TV timing circuits minimized and just had to use the horizontal and vertical counters to drive some memory with the characters stored.
检查每个读取的字符是否为换页符;若是,则增加页计数器。
Check each char read to see whether it is a form feed; if so, increment the page counter.
用于换页定界的页的逻辑大体上相同,只是稍稍简单一些,因为不需要行计数器:使用getc库函数逐个读取字符。
The logic used for form-feed-delimited pages is roughly the same, but slightly simpler, as there is no need for a line counter: Read char by char using the getc library function.
应用推荐