summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/m90.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/m90.c')
-rw-r--r--src/mame/drivers/m90.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/mame/drivers/m90.c b/src/mame/drivers/m90.c
index ea0ccf38d0c..c31cc861b3e 100644
--- a/src/mame/drivers/m90.c
+++ b/src/mame/drivers/m90.c
@@ -122,23 +122,23 @@ ADDRESS_MAP_END
static ADDRESS_MAP_START( main_cpu_io, ADDRESS_SPACE_IO, 16 )
AM_RANGE(0x00, 0x01) AM_WRITE(m72_sound_command_w)
- AM_RANGE(0x00, 0x01) AM_READ_PORT("P1_P2")
+ AM_RANGE(0x00, 0x01) AM_READ_PORT("P1_P2")
AM_RANGE(0x02, 0x03) AM_WRITE(m90_coincounter_w)
- AM_RANGE(0x02, 0x03) AM_READ_PORT("SYSTEM")
+ AM_RANGE(0x02, 0x03) AM_READ_PORT("SYSTEM")
AM_RANGE(0x04, 0x05) AM_WRITE(quizf1_bankswitch_w)
- AM_RANGE(0x04, 0x05) AM_READ_PORT("DSW")
- AM_RANGE(0x06, 0x07) AM_READ_PORT("P3_P4")
+ AM_RANGE(0x04, 0x05) AM_READ_PORT("DSW")
+ AM_RANGE(0x06, 0x07) AM_READ_PORT("P3_P4")
AM_RANGE(0x80, 0x8f) AM_WRITE(m90_video_control_w)
ADDRESS_MAP_END
static ADDRESS_MAP_START( dynablsb_cpu_io, ADDRESS_SPACE_IO, 16 )
AM_RANGE(0x00, 0x01) AM_WRITE(m72_sound_command_w)
- AM_RANGE(0x00, 0x01) AM_READ_PORT("P1_P2")
+ AM_RANGE(0x00, 0x01) AM_READ_PORT("P1_P2")
AM_RANGE(0x02, 0x03) AM_WRITE(m90_coincounter_w)
- AM_RANGE(0x02, 0x03) AM_READ_PORT("SYSTEM")
-// AM_RANGE(0x04, 0x05) AM_WRITE(unknown_w) /* dynablsb: write continuosly 0x6000 */
+ AM_RANGE(0x02, 0x03) AM_READ_PORT("SYSTEM")
+// AM_RANGE(0x04, 0x05) AM_WRITE(unknown_w) /* dynablsb: write continuosly 0x6000 */
AM_RANGE(0x04, 0x05) AM_READ_PORT("DSW")
- AM_RANGE(0x06, 0x07) AM_READ_PORT("P3_P4")
+ AM_RANGE(0x06, 0x07) AM_READ_PORT("P3_P4")
AM_RANGE(0x80, 0x8f) AM_WRITE(m90_video_control_w)
// AM_RANGE(0x90, 0x91) AM_WRITE(unknown_w)
ADDRESS_MAP_END
00; font-weight: bold } /* Punctuation.Marker */ .highlight .w { color: #f8f8f8 } /* Text.Whitespace */ .highlight .mb { color: #0000cf; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000cf; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000cf; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000cf; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000cf; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #4e9a06 } /* Literal.String.Affix */ .highlight .sb { color: #4e9a06 } /* Literal.String.Backtick */ .highlight .sc { color: #4e9a06 } /* Literal.String.Char */ .highlight .dl { color: #4e9a06 } /* Literal.String.Delimiter */ .highlight .sd { color: #8f5902; font-style: italic } /* Literal.String.Doc */ .highlight .s2 { color: #4e9a06 } /* Literal.String.Double */ .highlight .se { color: #4e9a06 } /* Literal.String.Escape */ .highlight .sh { color: #4e9a06 } /* Literal.String.Heredoc */ .highlight .si { color: #4e9a06 } /* Literal.String.Interpol */ .highlight .sx { color: #4e9a06 } /* Literal.String.Other */ .highlight .sr { color: #4e9a06 } /* Literal.String.Regex */ .highlight .s1 { color: #4e9a06 } /* Literal.String.Single */ .highlight .ss { color: #4e9a06 } /* Literal.String.Symbol */ .highlight .bp { color: #3465a4 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #000000 } /* Name.Function.Magic */ .highlight .vc { color: #000000 } /* Name.Variable.Class */ .highlight .vg { color: #000000 } /* Name.Variable.Global */ .highlight .vi { color: #000000 } /* Name.Variable.Instance */ .highlight .vm { color: #000000 } /* Name.Variable.Magic */ .highlight .il { color: #0000cf; font-weight: bold } /* Literal.Number.Integer.Long */
/*
 * vccs.c
 *
 */


#include "netlist/devices/net_lib.h"

NETLIST_START(vccs)

    CLOCK(clk, 1000) // 1000 Hz
    SOLVER(Solver, 48000)
    PARAM(Solver.ACCURACY, 1e-6)


    VCCS(VV)
    PARAM(VV.G, 100000)  // typical OP-AMP amplification
    RES(R1, 10000)
    RES(R2, 1)
    RES(R3, 1000)

    NET_C(clk, R1.1)
    NET_C(R1.2, VV.IN)
    NET_C(R2.1, VV.OP)
    NET_C(R3.1, VV.IN)
    NET_C(R3.2, VV.OP)
    NET_C(R2.2, GND)
    NET_C(VV.ON, GND)
    NET_C(VV.IP, GND)
    LOG(logX, VV.OP)
    LOG(logY, clk)

NETLIST_END()