1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-01 13:41:34 +00:00

added declarations for scroll(), savevecs() and restvecs()

git-svn-id: svn://svn.cc65.org/cc65/trunk@115 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2000-06-23 21:36:21 +00:00
parent 294854ff13
commit 04539c46aa

View File

@ -98,6 +98,16 @@ extern void __fastcall__ setcolor (unsigned char color_reg, unsigned char hu
extern void __fastcall__ setcolor_low (unsigned char color_reg, unsigned char color_value);
extern unsigned char __fastcall__ getcolor (unsigned char color_reg);
/* other screen functions */
extern void __fastcall__ scroll (signed char numlines);
/* numlines > 0 scrolls up */
/* numlines < 0 scrolls down */
/* misc. functions */
extern void save_vecs(void); /* save system vectors */
extern void rest_vecs(void); /* restore system vectors */
/* Define hardware */
#include <_gtia.h>
#define GTIA (*(struct __gtia_write*)0xD000)