🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by prindle Mon, 20 Oct 1986 23:40
C-Power graphics package part 2 of 6 (grafpak.h)
#2353
Author: prindle
Date: Mon, 20 Oct 1986 23:40
27 lines
1487 bytes
From: prindle@NADC

/* Graphics Package Definitions 
** Filename: grafpak.h
*/

#define peek(x)   *((char *)x)
#define poke(x,y) *((char *)x)=y

#define C2DDRA   56578   /* data direct. reg. A */
#define CI2PRA   56576   /* Data port reg. A */
#define COLOR    646     /* Text mode foreground color */
#define COLORMEM 55296   /* Color memory */
#define VICCTL   53265   /* VIC-II Mode Control */
#define VICMC    53270   /* VIC-II Multi-Color Control */
#define VMCSB    53272   /* VIC-II Memory Control Register */

#define RADCON   57.2957795 /* degrees to radians factor */

extern float    aspect;  /* horiz/vert aspect ratio */
extern unsigned gbank;   /* bank number */
extern unsigned gbase;   /* graphics base address */
extern unsigned sbase;   /* screen base address */
extern unsigned gmode;   /* graphics mode */
extern unsigned vbase;   /* VIC-II base address */
extern char     pencolor[];  /* bg,fg,mc1,mc2 */
extern unsigned cur_x,cur_y; /* current x and y coordinates */
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads