|
|
1.1 root 1: #pragma once
2:
3: #ifndef __DIMENSION_H__
4: #define __DIMENSION_H__
5:
6: #define ENABLE_DIMENSION 0
7: #define ND_SLOT 2
8:
9: #if ENABLE_DIMENSION
10:
11: Uint32 nd_slot_lget(Uint32 addr);
12: Uint16 nd_slot_wget(Uint32 addr);
13: Uint8 nd_slot_bget(Uint32 addr);
14: void nd_slot_lput(Uint32 addr, Uint32 l);
15: void nd_slot_wput(Uint32 addr, Uint16 w);
16: void nd_slot_bput(Uint32 addr, Uint8 b);
17:
18: Uint32 nd_board_lget(Uint32 addr);
19: Uint16 nd_board_wget(Uint32 addr);
20: Uint8 nd_board_bget(Uint32 addr);
21: void nd_board_lput(Uint32 addr, Uint32 l);
22: void nd_board_wput(Uint32 addr, Uint16 w);
23: void nd_board_bput(Uint32 addr, Uint8 b);
24: Uint8 nd_board_cs8get(Uint32 addr);
25:
26: extern Uint8 ND_ram[64*1024*1024];
27: extern Uint8 ND_rom[128*1024];
28: extern Uint32 ND_vram_off;
29: extern Uint8 ND_vram[4*1024*1024];
30:
31: void dimension_init(void);
32: void dimension_uninit(void);
33: void nd_i860_init();
34: void nd_i860_uninit();
35: void i860_Run(int nHostCycles);
36: void i860_reset();
37: void i860_tick(bool inter);
38: void nd_start_debugger(void);
39: void nd_set_speed_hack(int state);
40:
41: #define ND_LOG_IO_RD LOG_NONE
42: #define ND_LOG_IO_WR LOG_NONE
43:
44: #endif
45:
46: #endif /* __DIMENSION_H__ */
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.