Search found 112 matches

by JohnElliott
Wed 24 Jan, 2018 8:06 pm
Forum: General
Topic: Mouse in GEM for Amstrad 1512
Replies: 4
Views: 4264

Re: Mouse in GEM for Amstrad 1512

Make sure the mouse is configured as 'Amstrad mouse' in the PCEM settings.
by JohnElliott
Tue 16 Jan, 2018 12:06 am
Forum: Development
Topic: Toshiba T1200 emulation
Replies: 6
Views: 7627

Re: Toshiba T1200 emulation

You can configure the T1000 with an XTIDE drive if you'd rather have a conventional hard drive than the ROM drive. Or rather, you could if that didn't crash PCEM. Culprit is line 36 of vid_t1000.c; it's trying to do a device_get_config_int(), but with the XTIDE present it tries to read the setting f...
by JohnElliott
Tue 09 Jan, 2018 9:21 pm
Forum: Merged patches
Topic: Toshiba T1000
Replies: 8
Views: 8913

Re: Toshiba T1000

I've applied the current patch to revision 8329a0b and it's run for over an hour without any lockups, so it looks like your changes fixed it.
by JohnElliott
Mon 25 Dec, 2017 12:19 pm
Forum: General
Topic: How to enable video card not on config mgr list?
Replies: 5
Views: 5195

Re: How to enable video card not on config mgr list?

You can find the correct file at http://www.seasip.info/tmp/8x12.bin -- drop it in the 'roms' folder.
by JohnElliott
Sun 17 Dec, 2017 5:25 pm
Forum: General
Topic: v13.1 released!
Replies: 25
Views: 25051

Re: v13.1 released!

SarahWalker wrote:PCem v13.1 is now available. This is a quick bugfix release, with the following changes from v13 :
  • Fixed plasma display on Toshiba 3100e
Whoops. I'm going to try and shift the blame for that onto my old archnemeses, Mr Copy and Mr Paste.
by JohnElliott
Sun 17 Dec, 2017 2:41 pm
Forum: Merged patches
Topic: Toshiba T1000
Replies: 8
Views: 8913

Re: Toshiba T1000

This patch has the same bug as the T3100e emulation (writing off the end of the normcols / blinkcols array) and needs the same fix. --- ../../387ac.t1k/src/vid_t1000.c 2017-11-18 21:52:37.408574610 +0000 +++ vid_t1000.c 2017-12-17 14:35:45.255963829 +0000 @@ -562,15 +562,11 @@ { blinkcols[n][0] = no...
by JohnElliott
Fri 15 Dec, 2017 1:16 am
Forum: Merged patches
Topic: [Patch] Compaq Portable Plus
Replies: 9
Views: 11437

Re: [Patch] Compaq Portable Plus

And this version of the patch emulates the later version of the adaptor that can do MDA or CGA attributes. If you want to test switching from one to the other on the Portable, which doesn't have a hotkey to do this, you can create a COM file using DEBUG: A>DEBUG -a100 103B:0100 mov ax,40 103B:0103 m...
by JohnElliott
Mon 11 Dec, 2017 9:24 pm
Forum: Merged patches
Topic: [Patch] Compaq Portable Plus
Replies: 9
Views: 11437

Re: [Patch] Compaq Portable Plus

OK, here's an implementation of the Compaq CGA (at least, the version used in the Portable). Later versions of the adaptor (as found in the Portable II and the original Deskpro) also allow the high-resolution display to be switched between CGA and MDA attributes, using bit 7 of the CGA control regis...
by JohnElliott
Mon 11 Dec, 2017 12:33 am
Forum: Merged patches
Topic: [Patch] Compaq Portable Plus
Replies: 9
Views: 11437

Re: [Patch] Compaq Portable Plus

I haven't looked into implementing the Compaq dual-scan CGA yet, but I was right that pressing CTRL + ALT + < will make it display correctly on the existing CGA: http://www.seasip.info/MIsc/Screenshots/pip_cga.png It would also work if you set the DIP switches to boot in 24x40 mode rather than 24x80...
by JohnElliott
Sun 10 Dec, 2017 12:19 am
Forum: Merged patches
Topic: [Patch] Compaq Portable Plus
Replies: 9
Views: 11437

Re: [Patch] Compaq Portable Plus

It may work with a CGA chipset if you select CGA video timings using the 'external monitor' hotkey (CTRL + ALT + < ). Otherwise it'll be trying to drive the Compaq dual-scan monitor.
by JohnElliott
Sat 18 Nov, 2017 10:15 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

Did you want me to create a revised t3100e_fdd.patch for this issue?
by JohnElliott
Sat 18 Nov, 2017 10:14 pm
Forum: Merged patches
Topic: Toshiba T1000
Replies: 8
Views: 8913

Re: Toshiba T1000

I haven't got any further with the video lockups, but I think I've got the rest of the T1000 functionality nailed down now, so here's an updated patch.
by JohnElliott
Wed 08 Nov, 2017 8:04 pm
Forum: Merged patches
Topic: Toshiba T1000
Replies: 8
Views: 8913

Re: Toshiba T1000

Thanks! Let me know if you need the ROMs.
by JohnElliott
Tue 07 Nov, 2017 10:50 pm
Forum: Merged patches
Topic: Toshiba T1000
Replies: 8
Views: 8913

Toshiba T1000

I'm currently working on the Toshiba T1000, the T3100e's little brother. This has a number of unique features, and I'd welcome some advice regarding a couple: i) The T1000 has an optional 768k memory expansion, which is battery-backed and can be configured as a persistent RAMdisk. The question is ho...
by JohnElliott
Sat 04 Nov, 2017 5:44 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

I must have missed that change. Fortunately it's very simple: --- ../../387ac.new/src/t3100e.c 2017-10-31 21:26:06.620399406 +0000 +++ t3100e.c 2017-10-28 23:52:05.471634863 +0100 @@ -362,6 +362,16 @@ t3100e_ems.notify = value; } +void t3100e_mono_set(uint8_t value) +{ + t3100e_ems.mono = value; +} ...
by JohnElliott
Fri 03 Nov, 2017 10:57 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

Question/Feature request: if the display for this is a 'display adapter' setting for a particular type of monochrome screen adapter, any chance that someone could make a 'blue screen' option? ie: https://3.bp.blogspot.com/-Mw0I2B3iDS4/WH9aZqkp5eI/AAAAAAAAQ3w/N_D75HyBLaQK3HQaJ39jjAsSK_16zQ4JACEw/s16...
by JohnElliott
Tue 31 Oct, 2017 9:31 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

Since no-one's objected to my idea of how to do a soft turbo switch, here's the patch implementing it. It also adds support for a few more keyboard controller commands, which seem to fix 1.4M floppy drive support and the long delay at boot when using the 3.0 BIOS.
by JohnElliott
Sun 29 Oct, 2017 8:08 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

CHAD takes two parameters from 1 to 4, separated by a comma. The first controls how colour on colour is presented, and the second controls colour on black. Options are: 1 => Normal 2 => Inverse 3 => Bold 4 => Bold inverse The default setting is CHAD 2,1 . You can also append a ",W" to the ...
by JohnElliott
Sat 28 Oct, 2017 9:38 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

The CPU speed can be changed on the fly, as you can change it PCem's config menu too and PCem doesn't restart OK, any thoughts on using something like this to implement a software 'turbo' setting? void t3100e_turbo_set(uint8_t value) { t3100e_ems.turbo = value; if (!value) { int c = cpu; cpu = 0; /...
by JohnElliott
Sat 28 Oct, 2017 8:08 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

Thanks Sarah! Looking at the behaviour of the floppy drive, the BIOS seems to be looking at CMOS location 10h to get the drive type, which is as expected -- but there's no UI to set this. Instead, that location is initialised by the BIOS using code at F000:6000, which in turn seems to ask the keyboa...
by JohnElliott
Fri 27 Oct, 2017 6:53 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

I think the EMS issue needs a similar fix to Greatpsycho's, only for the EMS memory mapping rather than the XMS one. Something like this, in t3100e_ems_out(): if (regs->page_exec[pg]) { if (t3100e_log) pclog("Enabling EMS RAM at %05x\n", page_to_addr(pg)); mem_mapping_enable(&regs->map...
by JohnElliott
Thu 26 Oct, 2017 11:34 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

Here's a revised patch. I've added the mem_mapping_set_exec() as advised, and also made some further improvements to the video emulation, to implement CRTC register 12h (attribute mapping and display type). The Toshiba CHAD utility, which controls how colour attributes are mapped to amber/black, now...
by JohnElliott
Thu 26 Oct, 2017 9:56 pm
Forum: Development
Topic: [Possible Bug?] Blank CGA
Replies: 5
Views: 6068

Re: [Possible Bug?] Blank CGA

One minor correction: The Wyse 700 gets its characters from wy700.rom, not mda.rom.
by JohnElliott
Tue 24 Oct, 2017 11:13 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

This patch makes the following improvements to the T3100e: * Enables [Fn]+key combinations (using right-Ctrl or right-Alt as [Fn]). In particular: * Implements switching the built-in display adapter between the 'internal' plasma display ([Fn]+[Home]) and an 'external' CGA monitor ([Fn]+[End]) * Allo...
by JohnElliott
Thu 19 Oct, 2017 10:51 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

To JohnElliott : I regret that I have arbitrarily uploaded the patch without consulting with you. There's no need for regrets. I probably should have created a separate implementation for the T3100e keyboard controller rather than piggybacking on the AT one, since a lot of its commands behave diffe...
by JohnElliott
Wed 18 Oct, 2017 11:36 pm
Forum: General
Topic: Expanded Memory Boards for 8088/8086 machines?
Replies: 18
Views: 16836

Re: Expanded Memory Boards for 8088/8086 machines?

Following up on my own information: The Toshiba T1000 ROM drive contains an earlier and simpler EMS driver (EMS 3.2 rather than 4.0). It checks the same ports as listed above, but doesn't touch 0x020B, 0x420B etc. Nor does it access 0x020A. It just picks the first set of four registers that it can r...
by JohnElliott
Tue 17 Oct, 2017 7:05 pm
Forum: General
Topic: Expanded Memory Boards for 8088/8086 machines?
Replies: 18
Views: 16836

Re: Expanded Memory Boards for 8088/8086 machines?

While implementing the motherboard EMS support on the T3100e, I disassembled the EMS driver (EMM33.SYS from TOSHEMM.ZIP). It checks port ranges: 0x0208 / 0x4208 / 0x8208 / 0xC208 0x0218 / 0x4218 / 0x8218 / 0xC218 0x0258 / 0x4258 / 0x8258 / 0xC258 0x0268 / 0x4268 / 0x8268 / 0xC268 0x02A8 / 0x42A8 / 0...
by JohnElliott
Mon 16 Oct, 2017 10:32 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

I managed to get a proper dump of the T3100e font ROM this evening. Unfortunately its character bitmaps aren't stored in the same order as the mocked-up one that I coded against. The attached patch fixes the font loader so that it uses the proper ROM rather than my mocked-up version. You'll need the...
by JohnElliott
Wed 11 Oct, 2017 7:26 pm
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

OK, it looks like it's done by that mysterious command 0xBB that gets sent to the keyboard controller at startup; bit 2 of the byte it returns seems to give the status of the 'Fn' key. And here's a little patch that (applied on top of the T3100e patch) allows right-Ctrl or right-Alt to be used as a...
by JohnElliott
Wed 11 Oct, 2017 7:36 am
Forum: Development
Topic: Patch: Toshiba T3100e
Replies: 33
Views: 27633

Re: Patch: Toshiba T3100e

The screen looks like this: http://www.seasip.info/Misc/Screenshots/0831.png http://www.seasip.info/Misc/Screenshots/0832.png The thing with the 'Fn' key is that that it doesn't produce a scancode, so I'm not clear how the BIOS detects it. I do have a dump of the keyboard controller firmware; maybe ...