summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2018-01-24 00:51:23 +1100
committer Vas Crabb <vas@vastheman.com>2018-01-24 00:51:23 +1100
commit7168abee36c2d2eec90401bf1c962927b04b8bcc (patch)
tree2700743b017c9a8fcca2419a4514b9636da37f35 /src/mame
parent30add0e06447036dc9441045eabd9abced3313ef (diff)
do you user-defined literal? also some more notes on the digital scale (nw)
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/drivers/intellec4.cpp4
-rw-r--r--src/mame/drivers/osborne1.cpp2
-rw-r--r--src/mame/drivers/sartorius.cpp28
3 files changed, 29 insertions, 5 deletions
diff --git a/src/mame/drivers/intellec4.cpp b/src/mame/drivers/intellec4.cpp
index 94a9e61e16f..d8941c8edd5 100644
--- a/src/mame/drivers/intellec4.cpp
+++ b/src/mame/drivers/intellec4.cpp
@@ -1040,7 +1040,7 @@ private:
----------------------------------*/
MACHINE_CONFIG_DERIVED(mod4_state::mod4, intellec4)
- MCFG_CPU_ADD("maincpu", I4004, 5185000. / 7)
+ MCFG_CPU_ADD("maincpu", I4004, 5.185_MHz_XTAL / 7)
MCFG_I4004_ROM_MAP(intellec4_rom)
MCFG_I4004_RAM_MEMORY_MAP(intellec4_ram_memory)
MCFG_I4004_ROM_PORTS_MAP(intellec4_rom_ports)
@@ -1231,7 +1231,7 @@ private:
----------------------------------*/
MACHINE_CONFIG_DERIVED(mod40_state::mod40, intellec4)
- MCFG_CPU_ADD("maincpu", I4040, 5185000. / 7)
+ MCFG_CPU_ADD("maincpu", I4040, 5.185_MHz_XTAL / 7)
MCFG_I4040_ROM_MAP(intellec4_rom)
MCFG_I4040_RAM_MEMORY_MAP(intellec4_ram_memory)
MCFG_I4040_ROM_PORTS_MAP(intellec4_rom_ports)
diff --git a/src/mame/drivers/osborne1.cpp b/src/mame/drivers/osborne1.cpp
index af193acedee..3c1b133d9b7 100644
--- a/src/mame/drivers/osborne1.cpp
+++ b/src/mame/drivers/osborne1.cpp
@@ -98,7 +98,7 @@ TODO:
#include "softlist.h"
-#define MAIN_CLOCK XTAL(15'974'400)
+static constexpr XTAL MAIN_CLOCK = 15.9744_MHz_XTAL;
static ADDRESS_MAP_START( osborne1_mem, AS_PROGRAM, 8, osborne1_state )
diff --git a/src/mame/drivers/sartorius.cpp b/src/mame/drivers/sartorius.cpp
index 5a51008117a..c37dfdde36f 100644
--- a/src/mame/drivers/sartorius.cpp
+++ b/src/mame/drivers/sartorius.cpp
@@ -2,8 +2,9 @@
/*
Sartorius 3733 digital scale
- Visible ICs:
- * Intel D4040 CPU
+ Mainboard:
+ * 4194.304 kHz crystal
+ * Intel D4040 4-bit CPU
* Intel D4289 8-bit memory controller
* 2 * Intel P4002-1 (64+16)*4 RAM (sockets for 2 * Intel P4002-2 unpopulated)
* 2 * 2708 1k*8 ROM labelled "129/0" and "129/1"
@@ -11,15 +12,38 @@
* Intersil IM6561AIJN 256*4 CMOS RAM
* RCA CD4007AE dual complementary pair plus inverter
* National Semicondictor CD4049CN hex inverting buffer
+ * Intel P4201A clock generator
* 4 * Motorola MC14099B 8-bit addressable latch
* 2 * RCA CD4052BE 2-channel 4:1 analog switch
+ Display board (connects to mainboard via 28-pin edge connector):
+ * MM74C42 1-of-10 decoder
+ * RCA CD4071BE Quad 2-input OR gate
+ * RCA CD4011BE Quad 2-input NAND gate
+ * RCA CD4055BE BCD to 7-segment decoder with high-voltage outputs
+ * 12 TO-92 transistors near the MM74C42 and CD4071BE
+ * 7 TO-92 transistors near the CD4011BE
+ * 7 TO-92 transistors near the CD4055BE
+
Front panel has a digital display, an "R" button for switching between
300g and 3kg ranges, and a T button for zeroing. Rear panel has a
three-position rotary switch to select between standalone operation and
data acquisition modes, and a 50-pin micro ribbon connector for data
communication.
+ The vacuum fluorescent display has seven 7-segment digits, each of
+ which can be followed by a . (stop) or , (comma) for digit grouping or
+ decimal point. The last digit can also show the vulgar fraction ½
+ using the G segment as the fraction bar and additional 1 and 2 segments
+ (these could potentially be used independently as well). To the right
+ of the least significant digit, the display can show % (percent) or g
+ (lowecase G). To the legt of the leftmost digit, the display has,
+ from top to bottom, + (plus), - (minus), and a small circle.
+
+ Strangely, the P4201A clock generator IC is a long way from the
+ crystal. The mode pin is tied to Vss, putting it in divide-by-seven
+ mode.
+
No dates or other ASCII strings in program ROM. IC date codes up to
1978.
*/