source: buchla-68k/include/hwdefs.h@ cdb0f36

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

Volatile ISR variables.

  • Property mode set to 100644
File size: 2.4 KB
Line 
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
14extern volatile uint16_t io_fpu[]; /* 0x180000 */
15extern volatile uint8_t io_time[]; /* 0x3a0001 */
16extern volatile uint8_t io_lcd; /* 0x3a4001 */
17extern volatile uint8_t io_ser; /* 0x3a8001 */
18extern volatile uint8_t io_midi; /* 0x3ac001 */
19extern volatile uint8_t io_disk; /* 0x3b0001 */
20extern volatile uint8_t io_tone; /* 0x3b4001 */
21extern volatile uint8_t io_leds; /* 0x3b8001 */
22extern volatile uint8_t io_kbrd; /* 0x3bc001 */
23extern volatile uint8_t lcd_a0; /* io_lcd + 0 */
24extern volatile uint8_t lcd_a1; /* io_lcd + 2 */
25
26extern volatile uint16_t io_vreg[]; /* 0x200000 Video registers after setup */
27extern volatile uint16_t io_vraw[]; /* 0x200400 Video registers after reset */
28extern volatile uint16_t io_vram[]; /* 0x200000 Video RAM */
29
30/* video memory allocations, bank 0 */
31
32extern volatile uint16_t v_regs[]; /* 0x200000 Video registers */
33extern volatile uint16_t v_odtab[][4]; /* 0x200080 Object Descriptor Table */
34extern volatile uint16_t v_actab[]; /* 0x200100 Access Table */
35extern volatile uint16_t v_ct0[]; /* 0x200400 */
36extern volatile uint16_t v_gt1[]; /* 0x200518 */
37extern volatile uint16_t v_score[]; /* 0x202000 Score */
38extern volatile uint16_t v_cgtab[]; /* 0x21e000 Character Generator */
39
40/* video memory allocations, bank 1 */
41
42extern volatile uint16_t v_curs0[]; /* 0x200400 ULE cursor */
43extern volatile uint16_t v_curs1[]; /* 0x200480 ULO cursor */
44extern volatile uint16_t v_curs2[]; /* 0x200500 URE cursor */
45extern volatile uint16_t v_curs3[]; /* 0x200580 URO cursor */
46extern volatile uint16_t v_curs4[]; /* 0x200600 LLE cursor */
47extern volatile uint16_t v_curs5[]; /* 0x200680 LLO cursor */
48extern volatile uint16_t v_curs6[]; /* 0x200700 LRE cursor */
49extern volatile uint16_t v_curs7[]; /* 0x200780 LRO cursor */
50extern volatile uint16_t v_tcur[]; /* 0x200800 Typewriter */
51extern volatile uint16_t v_kbobj[]; /* 0x200b40 Keyboard */
52extern volatile uint16_t v_lnobj[]; /* 0x201240 Line */
53extern volatile uint16_t v_cur[]; /* 0x201940 Underline cursor */
54extern volatile uint16_t v_win0[]; /* 0x204000 Window 0 */
55
56/* stuff in the depths of the bios */
57
58extern volatile int16_t fc_sw;
59extern volatile int32_t fc_val;
Note: See TracBrowser for help on using the repository browser.