mirror of
https://github.com/holub/mame
synced 2025-04-23 00:39:36 +03:00
(MESS) pencil2 : fixed cassette interface, system marked as working [Robbbert]
Also, added more known software to xml. Info found on the back of the box.
This commit is contained in:
parent
eeddbd3b97
commit
cfd4f09676
@ -5,14 +5,34 @@
|
||||
<!--
|
||||
|
||||
Undumped known carts
|
||||
|
||||
~~~~~~~~~~~~~~~~~~~~
|
||||
SD-BASIC V1.0
|
||||
Le Jardin Magique (PEN-701)
|
||||
Le Plongeur a la Recherche du Tresor (PEN-702) / Treasure Hunter
|
||||
Alien Invader
|
||||
Big Foot Chase
|
||||
Parashooter
|
||||
Pinball
|
||||
Robot Killer
|
||||
Smurf
|
||||
Space Squadron
|
||||
Space Vulture
|
||||
Super Bug
|
||||
Zaxxon
|
||||
|
||||
Undumped known floppies
|
||||
~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Basic Computer
|
||||
Data Base
|
||||
Payroll
|
||||
|
||||
Undumped known cassettes
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
Cheque Book Balance
|
||||
Data Base
|
||||
Household Expenses
|
||||
Reminder Calendar
|
||||
|
||||
-->
|
||||
|
||||
|
||||
|
@ -9,6 +9,19 @@
|
||||
|
||||
Computer kindly donated for MESS by Ian Farquhar.
|
||||
|
||||
Accessories:
|
||||
- PEN-216 : 16k RAM expansion
|
||||
- PEN-264 : 64k RAM expansion
|
||||
- PEN-511 : Data Cassette Recorder
|
||||
- ??? : Printer
|
||||
- ??? : Floppy Disk Drive (5.25)
|
||||
- ??? : Floppy Disk Controller
|
||||
- ??? : RS-232C Serial Interface
|
||||
- PEN-8xx : Various software on Cassette or Floppy Disk
|
||||
- ??? : Game Controller (joystick and 14 buttons)
|
||||
- PEN-7xx : Various software in Cartridge format
|
||||
- PEN-430 : Modem
|
||||
|
||||
Information found by looking inside the computer
|
||||
------------------------------------------------
|
||||
Main Board PEN-002 11-50332-10
|
||||
@ -56,7 +69,6 @@ but is banked out of view of a BASIC program.
|
||||
|
||||
|
||||
ToDo:
|
||||
- Cassette isn't working
|
||||
- Joysticks (no info)
|
||||
|
||||
****************************************************************************/
|
||||
@ -96,6 +108,7 @@ private:
|
||||
virtual void machine_start();
|
||||
int m_centronics_busy;
|
||||
int m_centronics_ack;
|
||||
bool m_cass_state;
|
||||
required_device<cpu_device> m_maincpu;
|
||||
required_device<centronics_device> m_centronics;
|
||||
required_device<cassette_image_device> m_cass;
|
||||
@ -135,7 +148,7 @@ ADDRESS_MAP_END
|
||||
|
||||
READ8_MEMBER( pencil2_state::porte2_r)
|
||||
{
|
||||
return (m_cass->input() > 0.1);
|
||||
return (m_cass->input() > 0.1) ? 0xff : 0x7f;
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( pencil2_state::port10_w )
|
||||
@ -145,7 +158,8 @@ WRITE8_MEMBER( pencil2_state::port10_w )
|
||||
|
||||
WRITE8_MEMBER( pencil2_state::port30_w )
|
||||
{
|
||||
m_cass->output( BIT(data, 0) ? -1.0 : +1.0);
|
||||
m_cass_state ^= 1;
|
||||
m_cass->output( m_cass_state ? -1.0 : +1.0);
|
||||
}
|
||||
|
||||
WRITE8_MEMBER( pencil2_state::port80_w )
|
||||
@ -323,4 +337,4 @@ ROM_END
|
||||
/* Driver */
|
||||
|
||||
/* YEAR NAME PARENT COMPAT MACHINE INPUT STATE INIT COMPANY FULLNAME FLAGS */
|
||||
COMP( 1983, pencil2, 0, 0, pencil2, pencil2, driver_device, 0, "Hanimex", "Pencil II", GAME_NOT_WORKING )
|
||||
COMP( 1983, pencil2, 0, 0, pencil2, pencil2, driver_device, 0, "Hanimex", "Pencil II", 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user