source: buchla-68k/ram/vtyper.x@ 8c8b4e5

Last change on this file since 8c8b4e5 was 8c8b4e5, checked in by Thomas Lopatic <thomas@…>, 7 years ago

More volatile hardware accesses.

  • Property mode set to 100644
File size: 1.2 KB
Line 
1/*
2 =============================================================================
3 vtyper.c -- external declarations
4 =============================================================================
5*/
6
7#pragma once
8
9#include "stdint.h"
10
11typedef void (*vtchar)(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
12typedef void (*vtcurs)(void);
13
14/*
15 =============================================================================
16 external variables
17 =============================================================================
18*/
19
20extern int8_t vtlin1[];
21extern int8_t vtlin2[];
22extern int8_t vtlin3[];
23
24/*
25 =============================================================================
26 external functions
27 =============================================================================
28*/
29
30extern void vtcxupd(void);
31extern void vtcyupd(void);
32extern void vtdisp(volatile uint16_t *obj, uint16_t fg, uint16_t bg, int16_t row, int16_t col, int8_t *buf);
33extern void vtsetup(volatile uint16_t *obj, vtchar dsp, int16_t col, int8_t *ptr, int16_t tr, int16_t tc, vtcurs adv, vtcurs bsp, vtcurs cup, vtcurs cdn, vtcurs stop, uint16_t fg, uint16_t bg);
34extern int16_t vtyper(void);
Note: See TracBrowser for help on using the repository browser.