summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/octane.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/octane.cpp')
-rw-r--r--src/mame/drivers/octane.cpp64
1 files changed, 64 insertions, 0 deletions
diff --git a/src/mame/drivers/octane.cpp b/src/mame/drivers/octane.cpp
new file mode 100644
index 00000000000..e6a0247b357
--- /dev/null
+++ b/src/mame/drivers/octane.cpp
@@ -0,0 +1,64 @@
+// license:BSD-3-Clause
+// copyright-holders:Ryan Holtz
+/**********************************************************************
+
+ SGI Octane workstation skeleton driver
+
+ To Do: Everything
+
+ Memory map:
+ 1fc00000 - 1fc7ffff Boot ROM
+
+**********************************************************************/
+
+#include "emu.h"
+#include "cpu/mips/mips3.h"
+
+#define ENABLE_ENTRY_GFX (1)
+
+#define LOG_UNKNOWN (1 << 0)
+#define LOG_ALL (LOG_UNKNOWN)
+
+#define VERBOSE (LOG_UNKNOWN)
+#include "logmacro.h"
+
+class octane_state : public driver_device
+{
+public:
+ octane_state(const machine_config &mconfig, device_type type, const char *tag)
+ : driver_device(mconfig, type, tag)
+ , m_maincpu(*this, "maincpu")
+ {
+ }
+
+ void octane(machine_config &config);
+
+protected:
+ void mem_map(address_map &map);
+
+ required_device<r5000be_device> m_maincpu;
+};
+
+void octane_state::mem_map(address_map &map)
+{
+ map(0x1fc00000, 0x1fc7ffff).rom().region("user1", 0);
+}
+
+static INPUT_PORTS_START( octane )
+INPUT_PORTS_END
+
+void octane_state::octane(machine_config &config)
+{
+ R5000BE(config, m_maincpu, 50000000*4); // NOTE: Wrong - should be R10000BE!
+ m_maincpu->set_icache_size(32768); // Unknown CPU cache size
+ m_maincpu->set_dcache_size(32768);
+ m_maincpu->set_addrmap(AS_PROGRAM, &octane_state::mem_map);
+}
+
+ROM_START( octane )
+ ROM_REGION32_BE( 0x80000, "user1", 0 )
+ ROMX_LOAD( "ip30prom.rev4.9.bin", 0x000000, 0x080000, CRC(10bafb52) SHA1(de250875c608add63749d3f9fb81a82cb58c3586), ROM_GROUPDWORD )
+ROM_END
+
+// YEAR NAME PARENT COMPAT MACHINE INPUT CLASS INIT COMPANY FULLNAME FLAGS
+COMP( 1997, octane, 0, 0, octane, octane, octane_state, empty_init, "Silicon Graphics Inc", "Octane (Version 6.5 Rev 4.9 05/22/03)", MACHINE_NOT_WORKING | MACHINE_NO_SOUND )