]> git.sur5r.net Git - cc65/blob - libsrc/osic1p/screen-c1p-24x24.s
Adjusted doc to code.
[cc65] / libsrc / osic1p / screen-c1p-24x24.s
1 ;
2 ; Implementation of screen-layout related functions for Challenger 1P
3 ;
4
5         .include        "osiscreen.inc"
6
7 C1P_SCR_BASE    := $D000        ; Base of C1P video RAM
8 C1P_VRAM_SIZE   = $0400         ; Size of C1P video RAM (1 kB)
9 C1P_SCR_WIDTH   = $18           ; Screen width
10 C1P_SCR_HEIGHT  = $18           ; Screen height
11 C1P_SCR_FIRSTCHAR = $85         ; Offset of cursor position (0, 0) from base
12                                 ; of video RAM
13 C1P_SCROLL_DIST = $20           ; Memory distance for scrolling by one line
14
15 osi_screen_funcs C1P_SCR_BASE, C1P_VRAM_SIZE, C1P_SCR_FIRSTCHAR, \
16                         C1P_SCR_WIDTH, C1P_SCR_HEIGHT, C1P_SCROLL_DIST