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

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

Added addresses.

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