Driver:c128d: Difference between revisions

From MAMEDEV Wiki
(Added How to start in single Monitor)
(Added warning about UI enabled/disabled mode for the unsuspecting newbie)
Line 58: Line 58:
mame c128dp
mame c128dp
</code>
</code>
==== Dual Screen (40 and 80 column displays at the same time) ====
==== Dual Screen (40 and 80 column displays at the same time) ====
MAME will bring up the system:
MAME will bring up the system, the default MAME configuration has both available screens activated at the first boot without addidtinall parameters:
 
'''CAUTION:''' MAME Home Computer emulation always starts in GUI disabled mode - all keyboard inputs are delegated and managed by the emulated system - as such there is no possibility to exit the emulation in this mode until you swicth to '''UI enabled Mode''''[[#Useful Keyboard Shortcuts ]]


[[File:c128d_dualscreen.png|200px| c128 and c128d after powerup in default MAME configuration ]]
[[File:c128d_dualscreen.png|200px| c128 and c128d after powerup in default MAME configuration ]]

Revision as of 17:33, 17 February 2023

Commodore c128 and c128d devices

This page explains working with the MAME emulation of the Commodore 128 and the desktop verion 128d (MAME devices c128 and c128d) - for which this page was started, but both are identical except for the minor difference of the internal drive in the desktop version

* Short excerp from C64-Wiki

Commodore 128d with orignal package box
Commodore 128d with orignal package box

The C128D is a C128 but with an integrated power supply and 1571 disk (DOS 3.1) housed in a sheet-metal case and with an external keyboard. It features C64 / 128 KERNALs on a 32 Kbyte ROM and has 64 Kbytes of V-RAM.

It has three modes:

  1. C128 mode with BASIC 7.0 (default on power up)
  2. C64 mode with BASIC 2 (activated by typing GO64 or by resetting with the C= {Std Mame Layout ALT-Key} 'key depressed)
  3. CP/M mode with CP/M 3.0+ (after booting from CP/M system diskette)

Some Short Notes for running the Commodore 128d in Mame

MAME emulates both an 80 column display and the common 40 column display, due to the fact that the c128d was capable of running a dual monitor setup MAME will boot the system with both monitors online

Everything written here can be applied to the c128 device in MAME as well, as these machines are practically the same hardware (excxept for differences in revisions) plus the internal disk drive on the desktop version


Basic MAME keyboard shortcuts for C128d

Useful Keyboard Shortcuts

While using MAME it is always good to have these ready, note that inside the emulation the keys are not recognised by Mame until you enable UI mode (default on <Scroll Lk> )!

Keyboard Shortcuts
Key Description (UI enabled Mode!)
<Scroll Lock> Switch UI enabled/disabled
<ESC> Exit Mame
<F3> Soft Reset
<TAB> Open/Close Mame Menu
P Pause Emulation
Key Description (UI disabled Mode!)
<ALT> <C=>
<F6> <TAB>
<F11> 40/80 Display

Start the 128d in MAME with command line

For NTSC version start with mame c128d and for the pal version you use mame c128dp

Dual Screen (40 and 80 column displays at the same time)

MAME will bring up the system, the default MAME configuration has both available screens activated at the first boot without addidtinall parameters:

CAUTION: MAME Home Computer emulation always starts in GUI disabled mode - all keyboard inputs are delegated and managed by the emulated system - as such there is no possibility to exit the emulation in this mode until you swicth to UI enabled Mode'#Useful Keyboard Shortcuts

c128 and c128d after powerup in default MAME configuration

Single Screen (40 Column display)

As a historic sidenote I should menttion that the most common configuration the owners started with in the 80's was a single screen setup, since pc monitors were kind of expensive at that time. To start the machine in MAME with the single 40 column Screen that was most often used, you start mame with mame c128d -view "Screen 1 Standard" c128 and c128d in 40 Column Single Monitor Setup

To get a list of all variants, you enter mame c128 -listclones

As of MAME 0.251 the current list of clones available is

mame c128 -listclones
Name:            Clone of:
c128_de          c128
c128_se          c128
c128cr           c128
c128d            c128
c128d81          c128
c128dcr          c128
c128dcr_de       c128
c128dcr_se       c128
c128dcrp         c128
c128dp           c128

Confirmed working (MAME 0.251)

Currently I am trying to gather a listing about what works in Mame, and what is bugged right now, this list will grow continually

  • CPM 3.0