]> git.sur5r.net Git - cc65/blob - libsrc/osic1p/extra/screen-s3-32x28.s
Macro-based implementation of screen layout configuration modules.
[cc65] / libsrc / osic1p / extra / screen-s3-32x28.s
1 ;
2 ; Implementation of screen-layout related functions for Superboard ///
3 ;
4
5         .include        "../osiscreen.inc"
6
7 S3_SCR_BASE     := $D000        ; Base of Superboard /// video RAM
8 S3_VRAM_SIZE    = $0400         ; Size of Superboard /// video RAM (1 kB)
9 S3_SCR_WIDTH    = $20           ; Screen width
10 S3_SCR_HEIGHT   = $1C           ; Screen height
11 S3_SCR_FIRSTCHAR = $80          ; Offset of cursor position (0, 0) from base
12                                 ; of video RAM
13 S3_SCROLL_DIST  = $20           ; Memory distance for scrolling by one line
14
15 osi_screen_funcs S3_SCR_BASE, S3_VRAM_SIZE, S3_SCR_FIRSTCHAR, \
16                         S3_SCR_WIDTH, S3_SCR_HEIGHT, S3_SCROLL_DIST