#include "common.h" //#link "common.c" #include #define SCROLL_TOP 0 #define SCROLL_ROWS 10 byte scroll_x = 0; // x scroll position // return the next character on the right side // for a given row char get_char_for_row(byte row) { return '0' + row; } void draw_right_column() { // get the top-right corner address of scroll area word addr = SCRNADR(0x400, 39, SCROLL_TOP); byte row; // draw one character per row for (row=0; row