Previous 199869 Revisions Next

r40617 Sunday 6th September, 2015 at 15:19:48 UTC by Felipe CorrĂȘa da Silva Sanches
Adding Unitron APII+ (Teclado Inteligente) as another brazilian apple2 clone (this one has got a dedicated CPU for the "smart keyboard")
[src/mame]mess.lst
[src/mame/drivers]goldstar.c
[src/mess/drivers]apple2.c orao.c
[src/mess/includes]orao.h
[src/mess/machine]orao.c
[src/osd/modules/render]drawogl.c

trunk/src/mame/drivers/goldstar.c
r249128r249129
17411741   PORT_INCLUDE( cmv4_service )
17421742
17431743   PORT_START("DSW1")
1744   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )           PORT_DIPLOCATION("DSW1:1")  /* OK */
1744   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unused ) )   PORT_DIPLOCATION("DSW1:1")  /* OK */
17451745   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
17461746   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1747   PORT_DIPNAME( 0x02, 0x02, "Hopper Out Switch" )         PORT_DIPLOCATION("DSW1:2")  /* OK */
1747   PORT_DIPNAME( 0x02, 0x02, "Hopper Out Switch" ) PORT_DIPLOCATION("DSW1:2")  /* OK */
17481748   PORT_DIPSETTING(    0x02, "Active Low" )
17491749   PORT_DIPSETTING(    0x00, "Active High" )
1750   PORT_DIPNAME( 0x04, 0x00, "Payout Mode" )               PORT_DIPLOCATION("DSW1:3")  /* OK */
1750   PORT_DIPNAME( 0x04, 0x00, "Payout Mode" )       PORT_DIPLOCATION("DSW1:3")  /* OK */
17511751   PORT_DIPSETTING(    0x04, "Payout Switch" )
17521752   PORT_DIPSETTING(    0x00, "Automatic" )
1753   PORT_DIPNAME( 0x08, 0x00, "'7' In Double Up Game" )     PORT_DIPLOCATION("DSW1:4")  /* OK */
1754   PORT_DIPSETTING(    0x08, "Even" )
1755   PORT_DIPSETTING(    0x00, "Loss" )
1756   PORT_DIPNAME( 0x10, 0x00, "Double Up Game Pay Rate" )   PORT_DIPLOCATION("DSW1:5")  /* OK */
1753   PORT_DIPNAME( 0x08, 0x00, "W-UP '7'" )          PORT_DIPLOCATION("DSW1:4")  /* not checked */
1754   PORT_DIPSETTING(    0x08, "Loss" )
1755   PORT_DIPSETTING(    0x00, "Even" )
1756   PORT_DIPNAME( 0x10, 0x00, "W-UP Pay Rate" )     PORT_DIPLOCATION("DSW1:5")  /* OK */
17571757   PORT_DIPSETTING(    0x00, "80%" )
17581758   PORT_DIPSETTING(    0x10, "90%" )
1759   PORT_DIPNAME( 0x20, 0x00, "Double Up Game" )            PORT_DIPLOCATION("DSW1:6")  /* OK */
1759   PORT_DIPNAME( 0x20, 0x00, "W-UP Game" )         PORT_DIPLOCATION("DSW1:6")  /* OK */
17601760   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
17611761   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1762   PORT_DIPNAME( 0xc0, 0xc0, "Bet Max" )                   PORT_DIPLOCATION("DSW1:7,8")    /* OK */
1762   PORT_DIPNAME( 0xc0, 0xc0, "Bet Max" )           PORT_DIPLOCATION("DSW1:7,8")    /* OK */
17631763   PORT_DIPSETTING(    0x00, "8" )
17641764   PORT_DIPSETTING(    0x40, "16" )
17651765   PORT_DIPSETTING(    0x80, "32" )
r249128r249129
17871787
17881788   PORT_INCLUDE( cmv4_dsw5 )
17891789   PORT_MODIFY("DSW5")
1790   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )              PORT_DIPLOCATION("DSW5:1")  /* normally Display of Doll On Demo, but no whores in this set */
1790   PORT_DIPNAME( 0x01, 0x01, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW5:1")  /* normally Display of Doll On Demo, but no whores in this set */
17911791   PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
17921792   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
17931793   /* Coin In Limit OK */
17941794   /* Condition For 3 Kind Of Bonus not checked */
1795   PORT_DIPNAME( 0x20, 0x20, "Show Odds In Double Up Game" )   PORT_DIPLOCATION("DSW5:6")  /* OK */
1796   PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
1797   PORT_DIPSETTING(    0x20, DEF_STR( On ) )
1798   PORT_DIPNAME( 0x40, 0x40, "Skill Stop" )                    PORT_DIPLOCATION("DSW5:7")  /* OK */
1795   PORT_DIPNAME( 0x20, 0x20, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW5:6")  /* normally Display Of Doll At All Fr. Bonus, but no whores in this set */
1796   PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
1797   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1798   PORT_DIPNAME( 0x40, 0x40, "Skill Stop" )        PORT_DIPLOCATION("DSW5:7")  /* OK */
17991799   PORT_DIPSETTING(    0x40, DEF_STR( Off ) )
18001800   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
1801   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )              PORT_DIPLOCATION("DSW5:8")  /* normally Test Mode For Disp. Of Doll, but no whores in this set */
1801   PORT_DIPNAME( 0x80, 0x80, DEF_STR( Unknown ) )  PORT_DIPLOCATION("DSW5:8")  /* normally Test Mode For Disp. Of Doll, but no whores in this set */
18021802   PORT_DIPSETTING(    0x80, DEF_STR( Off ) )
18031803   PORT_DIPSETTING(    0x00, DEF_STR( On ) )
18041804INPUT_PORTS_END
trunk/src/mame/mess.lst
r249128r249129
433433prav8m  // Pravetz 8M
434434uniap2en // 1982 Unitron AP II (in English)
435435uniap2pt // 1982 Unitron AP II (in Brazilian Portuguese)
436uniap2ti // 1982 Unitron AP II+ (Teclado Inteligente)
436437apple2jp  // ??? ???? Apple ][j+
437438apple2e   // Jan 1983 Apple //e
438439apple2euk // Jan 1983 Apple //e (UK)
trunk/src/mess/drivers/apple2.c
r249128r249129
14481448   ROM_LOAD ( "unitron.f0"   , 0x3000, 0x1000, CRC(8e047c4a) SHA1(78c57c0e00dfce7fdec9437fe2b4c25def447e5d))
14491449ROM_END
14501450
1451ROM_START(uniap2ti)
1452   ROM_REGION(0x1000,"gfx1",0)
1453   ROM_LOAD ( "unitron.chr", 0x0000, 0x1000, CRC(7fdd1af6) SHA1(2f4f90d90f2f3a8c1fbea304e1072780fb22e698))
1454
1455   ROM_REGION(0x4000,"maincpu",0)
1456   ROM_LOAD ( "unitron_pt.d0", 0x1000, 0x1000, CRC(311beae6) SHA1(f6379aba9ac982850edc314c93a393844a3349ef))
1457   ROM_LOAD ( "unitron.e0"   , 0x2000, 0x1000, CRC(0d494efd) SHA1(a2fd1223a3ca0cfee24a6afe66ea3c4c144dd98e))
1458   ROM_LOAD ( "unitron.f0"   , 0x3000, 0x1000, CRC(8e047c4a) SHA1(78c57c0e00dfce7fdec9437fe2b4c25def447e5d))
1459
1460   ROM_REGION(0x4000,"keyboard",0)
1461   ROM_LOAD ( "unitron_apii_keyboard.ic3", 0x1000, 0x1000, CRC(311beae6) SHA1(f6379aba9ac982850edc314c93a393844a3349ef))
1462ROM_END
1463
1464
14511465/*
14521466    J-Plus ROM numbers confirmed by:
14531467    http://mirrors.apple2.org.za/Apple%20II%20Documentation%20Project/Computers/Apple%20II/Apple%20II%20j-plus/Photos/Apple%20II%20j-plus%20-%20Motherboard.jpg
r249128r249129
15871601COMP( 1982, maxxi,    apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Polymax",  "Maxxi", MACHINE_SUPPORTS_SAVE )
15881602COMP( 1982, prav82,   apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Pravetz",           "Pravetz 82", MACHINE_SUPPORTS_SAVE )
15891603COMP( 1982, ace100,   apple2,   0,        apple2,      apple2p, driver_device,  0,        "Franklin Computer", "Franklin Ace 100", MACHINE_SUPPORTS_SAVE )
1590COMP( 1982, uniap2en, apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Unitron Eletr??nica", "Unitron AP II (in English)", MACHINE_SUPPORTS_SAVE )
1591COMP( 1982, uniap2pt, apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Unitron Eletr??nica", "Unitron AP II (in Brazilian Portuguese)", MACHINE_SUPPORTS_SAVE )
1604COMP( 1982, uniap2en, apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Unitron Eletronica", "Unitron AP II (in English)", MACHINE_SUPPORTS_SAVE )
1605COMP( 1982, uniap2pt, apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Unitron Eletronica", "Unitron AP II (in Brazilian Portuguese)", MACHINE_SUPPORTS_SAVE )
1606COMP( 198?, uniap2ti, apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Unitron Eletronica", "Unitron AP II+", MACHINE_SUPPORTS_SAVE )
15921607COMP( 1983, agat7,    apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Agat",              "Agat-7", MACHINE_NOT_WORKING) // disk controller ROM JSRs to $FCA8 which is a delay on apple II, illegal instruction crash here :(
15931608// reverse font direction -\/
15941609COMP( 1984, ivelultr, apple2,   0,        apple2p,     apple2p, driver_device,  0,        "Ivasim",            "Ivel Ultra", MACHINE_SUPPORTS_SAVE )
trunk/src/mess/drivers/orao.c
r249128r249129
1414
1515#include "emu.h"
1616#include "cpu/m6502/m6502.h"
17#include "sound/speaker.h"
17#include "sound/dac.h"
1818#include "sound/wave.h"
1919#include "includes/orao.h"
2020#include "imagedev/cassette.h"
r249128r249129
183183
184184   /* audio hardware */
185185   MCFG_SPEAKER_STANDARD_MONO("mono")
186   MCFG_SOUND_ADD("speaker", SPEAKER_SOUND, 0)
187   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.50)
186   MCFG_SOUND_ADD("dac", DAC, 0)
187   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 8.00)
188188   MCFG_SOUND_WAVE_ADD(WAVE_TAG, "cassette")
189189   MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
190190
trunk/src/mess/includes/orao.h
r249128r249129
88
99#ifndef ORAO_H_
1010#define ORAO_H_
11#include "sound/speaker.h"
11#include "sound/dac.h"
1212#include "imagedev/cassette.h"
1313
1414class orao_state : public driver_device
r249128r249129
1919      m_memory(*this, "memory"),
2020      m_video_ram(*this, "video_ram"),
2121      m_maincpu(*this, "maincpu"),
22      m_speaker(*this, "speaker"),
22      m_dac(*this, "dac"),
2323      m_cassette(*this, "cassette"),
24      m_line(*this, "LINE"),
25      m_beep(0)
24      m_line(*this, "LINE")
2625   { }
2726
2827   DECLARE_READ8_MEMBER(orao_io_r);
r249128r249129
3736   required_shared_ptr<UINT8> m_memory;
3837   required_shared_ptr<UINT8> m_video_ram;
3938   required_device<cpu_device> m_maincpu;
40   required_device<speaker_sound_device> m_speaker;
39   required_device<dac_device> m_dac;
4140   required_device<cassette_image_device> m_cassette;
4241   required_ioport_array<20> m_line;
43   UINT8 m_beep;
4442};
4543
4644#endif /* ORAO_H_ */
trunk/src/mess/machine/orao.c
r249128r249129
7474{
7575   if (offset == 0x0800)
7676   {
77      m_speaker->level_w(m_beep);
78      m_beep ^= 1;
77      m_dac->write_unsigned8(data); //beeper
7978   }
8079}
trunk/src/osd/modules/render/drawogl.c
r249128r249129
31173117         GL_CHECK_ERROR_NORMAL();
31183118         glViewport(0.0, 0.0, (GLsizei)texture->rawwidth, (GLsizei)texture->rawheight);
31193119      }
3120
3121      if ( shaderIdx==m_glsl_program_mb2sc )
3120      else if ( shaderIdx==m_glsl_program_mb2sc )
31223121      {
31233122         assert ( m_glsl_program_mb2sc < m_glsl_program_num-1 );
31243123         glPopAttrib(); // glViewport(0.0, 0.0, (GLsizei)window().width, (GLsizei)window().height)


Previous 199869 Revisions Next


© 1997-2024 The MAME Team