1 | /*
|
---|
2 | ============================================================================
|
---|
3 | hwdefs.h -- Buchla 700 I/O addresses defined in hwdefs.s
|
---|
4 | Version 12 -- 1988-08-15 -- D.N. Lynx Crowe
|
---|
5 | ============================================================================
|
---|
6 | */
|
---|
7 |
|
---|
8 | #pragma once
|
---|
9 |
|
---|
10 | #include "stdint.h"
|
---|
11 |
|
---|
12 | /* hardware addresses */
|
---|
13 |
|
---|
14 | extern uint16_t io_fpu[];
|
---|
15 | extern uint8_t io_time[];
|
---|
16 | extern uint8_t io_lcd;
|
---|
17 | extern uint8_t io_ser;
|
---|
18 | extern uint8_t io_midi;
|
---|
19 | extern uint8_t io_disk;
|
---|
20 | extern uint8_t io_tone;
|
---|
21 | extern uint8_t io_leds;
|
---|
22 | extern uint8_t io_kbrd;
|
---|
23 | extern uint8_t lcd_a0;
|
---|
24 | extern uint8_t lcd_a1;
|
---|
25 |
|
---|
26 | extern uint16_t io_vreg[];
|
---|
27 | extern uint16_t io_vraw[];
|
---|
28 | extern uint16_t io_vram[];
|
---|
29 |
|
---|
30 | /* video memory allocations */
|
---|
31 |
|
---|
32 | extern uint16_t v_regs[];
|
---|
33 | extern uint16_t v_odtab[][4];
|
---|
34 | extern uint16_t v_actab[];
|
---|
35 | extern uint16_t v_ct0[];
|
---|
36 | extern uint16_t v_gt1[];
|
---|
37 | extern uint16_t v_score[];
|
---|
38 | extern uint16_t v_cgtab[];
|
---|
39 |
|
---|
40 | extern uint16_t v_curs0[];
|
---|
41 | extern uint16_t v_curs1[];
|
---|
42 | extern uint16_t v_curs2[];
|
---|
43 | extern uint16_t v_curs3[];
|
---|
44 | extern uint16_t v_curs4[];
|
---|
45 | extern uint16_t v_curs5[];
|
---|
46 | extern uint16_t v_curs6[];
|
---|
47 | extern uint16_t v_curs7[];
|
---|
48 | extern uint16_t v_tcur[];
|
---|
49 | extern uint16_t v_kbobj[];
|
---|
50 | extern uint16_t v_lnobj[];
|
---|
51 | extern uint16_t v_win0[];
|
---|
52 | extern uint16_t v_cur[];
|
---|
53 |
|
---|
54 | /* stuff in the depths of the bios */
|
---|
55 |
|
---|
56 | extern int16_t fc_sw;
|
---|
57 | extern int32_t fc_val;
|
---|