Previous 15994 Revisions Next

r15139 Friday 11th May, 2012 at 11:14:44 UTC by Robbbert
UK101 - Added new boot rom which allows basic to work. Added the missing Reset key. Added notes.
[src/mess/drivers]osi.c

src/mess/drivers/osi.c
r15138r15139
176176
177177*/
178178
179/* Notes added 2012-05-11 [Robbbert]
180    General
181    - Added F1 key to toggle the sound on 'sb2m600b', to silence the awful screech.
182    - Added F3 key to simulate the RESET / BREAK key on the real keyboard.
183    - These machines only uses uppercase input. Shift-Lock must be on at all times.
184    - At boot you get a screen DCWM or similar:
185      D = boot from floppy
186      C = Cold boot & start BASIC
187      W = Warm boot (don't use after turning on the machine) jump to 0000.
188      M = Monitor (only options are to read/modify memory, Go, Load a tape).
189    - The corrupt error messages in Basic are normal and are documented in the user
190      manual. It's not a bug.
191
192    Compukit UK101
193    - The Monitor ROM that had always been there is for a 32x32 screen. I assume it
194      was the prototype referred to in the first Practical Electronics construction
195      article. Also, the keyboard doesn't work in Basic.
196    - I found a working rom in another emulator, this runs fine on the 64x16 screen.
197    - But, the proper rom that came with the kit needs to be found.
198    - The proper rom (and the prototype) allow you to boot from floppy, but this is
199      not normally fitted. It appears that it would work the same as in the other
200      systems in this driver.
201
202*/
203
204
179205#include "includes/osi.h"
180206
181207/* Sound */
r15138r15139
223249
224250READ8_MEMBER( sb2m600_state::keyboard_r )
225251{
252   if (ioport("Reset")->read())
253      machine().device(M6502_TAG)->reset();
254
226255   static const char *const keynames[] = { "ROW0", "ROW1", "ROW2", "ROW3", "ROW4", "ROW5", "ROW6", "ROW7" };
227256
228257   UINT8 data = 0xff;
r15138r15139
240269{
241270   m_keylatch = data;
242271
243   discrete_sound_w(m_discrete, NODE_01, (data >> 2) & 0x0f);
272   if (ioport("Sound")->read())
273      discrete_sound_w(m_discrete, NODE_01, (data >> 2) & 0x0f);
244274}
245275
246276WRITE8_MEMBER( uk101_state::keyboard_w )
r15138r15139
448478   AM_RANGE(0x0000, 0x1fff) AM_RAMBANK("bank1")
449479   AM_RANGE(0xa000, 0xbfff) AM_ROM
450480   AM_RANGE(0xd000, 0xd3ff) AM_RAM AM_SHARE("video_ram")
451   AM_RANGE(0xdf00, 0xdf00) AM_MIRROR(0x03ff) AM_READ(keyboard_r) AM_WRITE(keyboard_w)
481   AM_RANGE(0xd400, 0xd7ff) AM_NOP  // bios sets this to spaces at boot
482   AM_RANGE(0xdc00, 0xdfff) AM_READ(keyboard_r) AM_WRITE(keyboard_w)
452483   AM_RANGE(0xf000, 0xf000) AM_MIRROR(0x00fe) AM_DEVREADWRITE("acia_0", acia6850_device, status_read, control_write)
453484   AM_RANGE(0xf001, 0xf001) AM_MIRROR(0x00fe) AM_DEVREADWRITE("acia_0", acia6850_device, data_read, data_write)
454485   AM_RANGE(0xf800, 0xffff) AM_ROM
r15138r15139
573604   PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_3) PORT_CHAR('3') PORT_CHAR('#')
574605   PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_2) PORT_CHAR('2') PORT_CHAR('\"')
575606   PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_KEYBOARD) PORT_CODE(KEYCODE_1) PORT_CHAR('1') PORT_CHAR('!')
607
608   PORT_START("Sound")
609   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_CODE(KEYCODE_F1) PORT_TOGGLE
610
611   PORT_START("Reset")
612   PORT_BIT( 0x01, IP_ACTIVE_HIGH, IPT_KEYBOARD) PORT_NAME("RESET") PORT_CODE(KEYCODE_F3) PORT_CHAR(UCHAR_MAMEKEY(F3))
576613INPUT_PORTS_END
577614
578615static INPUT_PORTS_START( uk101 )
r15138r15139
855892   ROM_LOAD( "basus02.ic10",  0xa800, 0x0800, CRC(0039ef6a) SHA1(1397f0dc170c16c8e0c7d02e63099e986e86385b) )
856893   ROM_LOAD( "basuk03.ic11",  0xb000, 0x0800, CRC(0d011242) SHA1(54bd33522a5d1991086eeeff3a4f73c026be45b6) )
857894   ROM_LOAD( "basuk04.ic12",  0xb800, 0x0800, CRC(667223e8) SHA1(dca78be4b98317413376d69119942d692e39575a) )
858   ROM_LOAD( "monuk02.ic13",  0xf800, 0x0800, CRC(04ac5822) SHA1(2bbbcd0ca18103fd68afcf64a7483653b925d83e) )
895   // This monitor came from another emulator and works well on the 64x16 screen
896   ROM_LOAD( "monuk02.ic13",  0xf800, 0x0800, CRC(e5b7028d) SHA1(74f0934014fdf83d33c8d3579e562b53c0683270) )
897   // This monitor is for a 32x32 screen, and could be the prototype referred to in Practical Electronics
898   //ROM_LOAD( "monuk02.ic13",  0xf800, 0x0800, CRC(04ac5822) SHA1(2bbbcd0ca18103fd68afcf64a7483653b925d83e) )
859899
860900   ROM_REGION( 0x800, "chargen", 0 )
861901   ROM_LOAD( "chguk101.ic41", 0x0000, 0x0800, CRC(fce2c84a) SHA1(baa66a7a48e4d62282671ef53abfaf450b888b70) )
r15138r15139
878918
879919/* System Drivers */
880920
881//    YEAR  NAME        PARENT  COMPAT  MACHINE   INPUT      INIT   COMPANY            FULLNAME
882COMP( 1978, sb2m600b,   0,      0,      osi600,   osi600,    0,      "Ohio Scientific", "Superboard II Model 600 (Rev. B)", GAME_NOT_WORKING)
883//COMP( 1980, sb2m600c, 0,          0,      osi600c,  osi600,    0,     "Ohio Scientific", "Superboard II Model 600 (Rev. C)", GAME_NOT_WORKING)
884COMP( 1980, c1p,   sb2m600b,   0,      c1p,     osi600,    c1p,   "Ohio Scientific", "Challenger 1P Series 2", GAME_NOT_WORKING)
885COMP( 1980, c1pmf,   sb2m600b,   0,      c1pmf,     osi600,    c1p,   "Ohio Scientific", "Challenger 1P MF Series 2", GAME_NOT_WORKING)
886COMP( 1979, uk101,   sb2m600b,   0,      uk101,     uk101,     0,    "Compukit",        "UK101", GAME_NOT_WORKING | GAME_NO_SOUND)
921//    YEAR  NAME      PARENT    COMPAT    MACHINE   INPUT      INIT   COMPANY            FULLNAME
922COMP( 1978, sb2m600b, 0,        0,        osi600,   osi600,    0,   "Ohio Scientific", "Superboard II Model 600 (Rev. B)", GAME_NOT_WORKING)
923//COMP( 1980, sb2m600c, 0,        0,        osi600c,  osi600,    0,   "Ohio Scientific", "Superboard II Model 600 (Rev. C)", GAME_NOT_WORKING)
924COMP( 1980, c1p,      sb2m600b, 0,        c1p,      osi600,    c1p, "Ohio Scientific", "Challenger 1P Series 2", GAME_NOT_WORKING)
925COMP( 1980, c1pmf,    sb2m600b, 0,        c1pmf,    osi600,    c1p, "Ohio Scientific", "Challenger 1P MF Series 2", GAME_NOT_WORKING)
926COMP( 1979, uk101,    sb2m600b, 0,        uk101,    uk101,     0,   "Compukit",        "UK101", GAME_NOT_WORKING | GAME_NO_SOUND_HW)

Previous 15994 Revisions Next


© 1998-2018 The MESS Team