summaryrefslogtreecommitdiffstatshomepage
path: root/src/regtests/jedutil/jeds/18cv8/pal16l2-to-peel18cv8.jed
blob: e4aba1f137836b817696746df886fb4fd5afa2ce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104

 JEDEC PEEL file Translated from: PAL16L2     Mon 10-8-2012  22:42:40
                                  PA
*QP20
*QF2696
*F0
 *
N Output Pin 19  *
L0000 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0036 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0072 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0108 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0144 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0180 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0216 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0252 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Output Pin 18  *
L0288 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0324 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0360 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0396 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0432 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0468 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0504 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0540 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Output Pin 17  *
L0576 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0612 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0648 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0684 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0720 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0756 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0792 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L0828 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Output Pin 16  *
L0864 0111 0111 0111 0111 0111 0111 1011 0111 1111  *
L0900 1111 1111 1111 1111 1111 1111 1111 1111 0111  *
L0936 1101 1111 1111 1111 1111 1111 1111 1111 1111  *
L0972 1111 1111 1111 1111 1111 1111 1111 1111 1101  *
L1008 1111 1111 1111 1111 1111 1111 1111 1110 1111  *
L1044 1111 1111 1111 1111 1111 1111 1110 1111 1111  *
L1080 1111 1111 1111 1110 1111 1111 1111 1111 1111  *
L1116 1111 1110 1110 1111 1111 1111 1111 1111 1111  *
 
N Output Pin 15  *
L1152 0111 0111 0111 1011 0111 0111 0111 0111 1111  *
L1188 1111 1111 1111 1111 1111 1111 1111 1111 1011  *
L1224 1110 1111 1111 1111 1111 1111 1111 1111 1111  *
L1260 1111 1111 1111 1111 1111 1111 1111 1111 1110  *
L1296 1111 1111 1111 1111 1111 1111 1111 1101 1111  *
L1332 1111 1111 1111 1111 1111 1111 1101 1111 1111  *
L1368 1111 1111 1111 1101 1111 1111 1111 1111 1111  *
L1404 1111 1101 1101 1111 1111 1111 1111 1111 1111  *
 
N Output Pin 14  *
L1440 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1476 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1512 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1548 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1584 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1620 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1656 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1692 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Output Pin 13  *
L1728 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1764 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1800 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1836 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1872 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1908 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1944 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L1980 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Output Pin 12  *
L2016 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2052 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2088 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2124 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2160 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2196 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2232 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2268 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Output Enable 19,18,...12  *
L2304 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2340 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2376 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2412 1111 1111 1111 1111 1111 1111 1111 1111 1111  *
L2448 1111 1111 1111 1111 1111 1111 1111 1111 1111  *
L2484 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2520 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2556 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
 
N Sync Preset, Async Clear, Macrocell 19,18,...12  *
L2592 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2628 0000 0000 0000 0000 0000 0000 0000 0000 0000  *
L2664 1011 1011 1011 1011 1011 1011 1011 1011  *
 
C4F82 *
0000
s="o">*this, "line_ram"), m_dsp_ram(*this, "dsp_ram"), m_paletteram(*this, "paletteram"), m_gradram(*this, "gradram"), m_tc0430grw(*this, "tc0430grw"), m_maincpu(*this, "maincpu"), m_audiocpu(*this, "audiocpu"), m_dsp(*this, "dsp"), m_tc0080vco(*this, "tc0080vco"), m_tc0220ioc(*this, "tc0220ioc"), m_yoke(*this, "yokectrl"), m_gfxdecode(*this, "gfxdecode"), m_screen(*this, "screen"), m_palette(*this, "palette") { } /* memory pointers */ required_shared_ptr<uint16_t> m_m68000_mainram; required_shared_ptr<uint16_t> m_line_ram; required_shared_ptr<uint16_t> m_dsp_ram; // Shared 68000/TMS32025 RAM required_shared_ptr<uint16_t> m_paletteram; required_shared_ptr<uint16_t> m_gradram; required_shared_ptr<uint16_t> m_tc0430grw; /* video-related */ taitoair_poly m_q; /* misc */ int m_dsp_hold_signal; /* devices */ required_device<cpu_device> m_maincpu; required_device<cpu_device> m_audiocpu; required_device<cpu_device> m_dsp; required_device<tc0080vco_device> m_tc0080vco; required_device<tc0220ioc_device> m_tc0220ioc; required_device<taitoio_yoke_device> m_yoke; required_device<gfxdecode_device> m_gfxdecode; required_device<screen_device> m_screen; required_device<palette_device> m_palette; std::unique_ptr<bitmap_ind16> m_framebuffer[2]; /* 3d info */ int16_t m_frustumLeft; int16_t m_frustumBottom; int16_t m_eyecoordBuffer[4]; /* homogeneous */ bool m_gradbank; uint16_t m_dsp_test_object_type; int16_t m_dsp_test_or_clip, m_dsp_test_and_clip; int16_t m_dsp_test_x, m_dsp_test_y, m_dsp_test_z; DECLARE_WRITE16_MEMBER(dsp_test_start_w); DECLARE_WRITE16_MEMBER(dsp_test_x_w); DECLARE_WRITE16_MEMBER(dsp_test_y_w); DECLARE_WRITE16_MEMBER(dsp_test_z_w); DECLARE_READ16_MEMBER(dsp_test_point_r); DECLARE_READ16_MEMBER(dsp_test_or_clip_r); DECLARE_READ16_MEMBER(dsp_test_and_clip_r); int16_t m_dsp_muldiv_a_1, m_dsp_muldiv_b_1, m_dsp_muldiv_c_1; DECLARE_WRITE16_MEMBER(dsp_muldiv_a_1_w); DECLARE_WRITE16_MEMBER(dsp_muldiv_b_1_w); DECLARE_WRITE16_MEMBER(dsp_muldiv_c_1_w); DECLARE_READ16_MEMBER(dsp_muldiv_1_r); int16_t m_dsp_muldiv_a_2, m_dsp_muldiv_b_2, m_dsp_muldiv_c_2; DECLARE_WRITE16_MEMBER(dsp_muldiv_a_2_w); DECLARE_WRITE16_MEMBER(dsp_muldiv_b_2_w); DECLARE_WRITE16_MEMBER(dsp_muldiv_c_2_w); DECLARE_READ16_MEMBER(dsp_muldiv_2_r); //bitmap_ind16 *m_buffer3d; DECLARE_WRITE16_MEMBER(system_control_w); DECLARE_READ16_MEMBER(lineram_r); DECLARE_WRITE16_MEMBER(lineram_w); DECLARE_READ16_MEMBER(dspram_r); DECLARE_WRITE16_MEMBER(dspram_w); DECLARE_READ16_MEMBER(dsp_HOLD_signal_r); DECLARE_WRITE16_MEMBER(dsp_HOLDA_signal_w); DECLARE_WRITE16_MEMBER(airsys_paletteram16_w); DECLARE_WRITE16_MEMBER(airsys_gradram_w); DECLARE_READ16_MEMBER(stick_input_r); DECLARE_READ16_MEMBER(stick2_input_r); DECLARE_WRITE8_MEMBER(coin_control_w); DECLARE_WRITE8_MEMBER(sound_bankswitch_w); DECLARE_WRITE16_MEMBER(dsp_flags_w); DECLARE_WRITE16_MEMBER(dma_regs_w); virtual void machine_start() override; virtual void machine_reset() override; virtual void video_start() override; uint32_t screen_update_taitoair(screen_device &screen, bitmap_ind16 &bitmap, const rectangle &cliprect); int draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect ); int draw_sprites( bitmap_ind16 &bitmap, const rectangle &cliprect, int start_offset ); void fb_copy_op(void); void fb_fill_op(void); void fb_erase_op(void); void fill_slope( bitmap_ind16 &bitmap, const rectangle &cliprect, uint16_t header, int32_t x1, int32_t x2, int32_t sl1, int32_t sl2, int32_t y1, int32_t y2, int32_t *nx1, int32_t *nx2 ); void fill_poly( bitmap_ind16 &bitmap, const rectangle &cliprect, const struct taitoair_poly *q ); void airsys(machine_config &config); void DSP_map_data(address_map &map); void DSP_map_program(address_map &map); void airsys_map(address_map &map); void sound_map(address_map &map); };