Search found 101 matches

by JohnElliott
Tue 09 Oct, 2018 10:07 pm
Forum: Development
Topic: ROM partially overlaid with RAM?
Replies: 2
Views: 2079

Re: ROM partially overlaid with RAM?

Thanks! That's got the ROM paging working - now I just need to implement everything else...
by JohnElliott
Mon 08 Oct, 2018 10:08 pm
Forum: Development
Topic: ROM partially overlaid with RAM?
Replies: 2
Views: 2079

ROM partially overlaid with RAM?

I'm experimenting with implementing a video card which has an 8k BIOS ROM at 0xC0000, as expected. But it also has the ability to page in 2k of RAM over the last 2k of ROM (ie, at 0xC1800). My question is, what's the best way to implement this in PCEM? I've tried using rom_init() to load the ROM, an...
by JohnElliott
Sat 06 Oct, 2018 1:10 pm
Forum: Development
Topic: v14 compatibility & bug list (WIP)
Replies: 70
Views: 28082

Re: v14 compatibility & bug list (WIP)

I wrote the Plantronics and Wyse emulations for both PCEM and PCE, but I did the PCEM ones more recently so they're more likely to be correct. I have a working WY700 card, but the nearest I have to real Plantronics hardware is an Amstrad PC1640 whose EGA chipset has a Plantronics-compatible mode. It...
by JohnElliott
Mon 24 Sep, 2018 4:05 pm
Forum: General
Topic: Help with Hercules InColor emulation.
Replies: 9
Views: 3066

Re: Help with Hercules InColor emulation.

But now I was also able try PCem's Hercules InColor emulation - and my code detected the CRTC vsync for that too. Now I all need to search for a way to tell HGC and InColor apart! (oh, and a better algorithm than one based on trying to sample a quasi-realtime pulse) :) Take a look at bits 6-4 of th...
by JohnElliott
Wed 12 Sep, 2018 8:21 pm
Forum: General
Topic: Emulating an Amstrad PC5286
Replies: 9
Views: 4253

Re: Emulating an Amstrad PC5286

Banjo wrote:
Wed 12 Sep, 2018 5:31 pm
It seems saveROM is pretty straightforward... I just boot and run it with a "saverom romfile" command, right? Any way to test it or know if I've done it right before doing it for real on my ancient machine?
Practise in a PCEM session and see what it does :D
by JohnElliott
Tue 11 Sep, 2018 8:20 pm
Forum: General
Topic: Emulating an Amstrad PC5286
Replies: 9
Views: 4253

Re: Emulating an Amstrad PC5286

Or you could use a utility like SaveROM, which scans the upper 256k and saves the BIOS and any adapter ROMs it finds.
by JohnElliott
Wed 22 Aug, 2018 6:41 pm
Forum: General
Topic: Help with Hercules InColor emulation.
Replies: 9
Views: 3066

Re: Help with Hercules InColor emulation.

It was on an Amstrad PC1512, but that's not the best machine to use because Karateka uses the onboard CGA in preference to the InColor, and I had to patch that check out. Once that was done, it just stopped at a message saying 'Make sure your Karateka disk is in drive A:' as it tried to access which...
by JohnElliott
Wed 22 Aug, 2018 4:25 pm
Forum: General
Topic: Help with Hercules InColor emulation.
Replies: 9
Views: 3066

Re: Help with Hercules InColor emulation.

There's no BIOS support for the InColor card, just like there wasn't for the original Hercules card - you configure either as MDA. I remember testing a copy of Karateka found online with a real InColor card and it didn't work - the dump was missing the required graphic files for HIC support. You mig...
by JohnElliott
Tue 05 Jun, 2018 9:57 am
Forum: Patches
Topic: [Depreciated][Patch] VHD support
Replies: 15
Views: 5277

Re: [Patch] Initial VHD support

Looking at https://github.com/libLAS/libLAS-1.2/bl ... s/guid.hpp I think the variant and version should be at offsets 6 and 8 rather than 7 and 9:

Code: Select all

	guid[6] &= 0x0F;
	guid[6] |= 0x40;	/* Type 4 */
	guid[8] &= 0x3F;
	guid[8] |= 0x80;	/* Variant 1 */
#endif
}
by JohnElliott
Mon 04 Jun, 2018 6:50 pm
Forum: Patches
Topic: [Depreciated][Patch] VHD support
Replies: 15
Views: 5277

Re: [Patch] Initial VHD support

This is not particularly tested, but I think should put the bits in the right place. mkguid() is the function that does the work; the rest is a test harness. The #ifdefs mean that if the system provides a GUID generator, that will be used in preference to the rand() method. #include <stdio.h> #inclu...
by JohnElliott
Sat 17 Mar, 2018 11:09 pm
Forum: Merged patches
Topic: T1200 fix: Memory test failure
Replies: 1
Views: 1918

T1200 fix: Memory test failure

I found only one small issue after applying the patch. The TEST1 utility fails (abort) when checking the memory, however the memory amount in 1MB/2MB config is correctly detected. I've finally got round to looking at this. I think TEST1 is trying to test 2k of RAM at F000:0000, which I believe is a...
by JohnElliott
Fri 02 Mar, 2018 4:02 pm
Forum: Development
Topic: compiling error
Replies: 14
Views: 5645

Re: compiling error

Try adding

Code: Select all

#include <stdint.h>
at the top of wx-createdisc.cc .
by JohnElliott
Sun 25 Feb, 2018 2:17 pm
Forum: Development
Topic: [BUG]Amstrad PC1640 Video
Replies: 8
Views: 3461

Re: [BUG]Amstrad PC1640 Video

As far as I can tell from the manual, that feature's for compatibility with awkward programs rather than a particular monitor.
by JohnElliott
Sat 24 Feb, 2018 11:32 am
Forum: Development
Topic: [BUG]Amstrad PC1640 Video
Replies: 8
Views: 3461

Re: [BUG]Amstrad PC1640 Video

In this page , John Elliot shows different values for dip switches on PC1640 mainboard (funny, it seems that there were TWO EGA displays). I think you've misread it -- the 'Secondary EGA' settings mean that the built-in EGA remains active, but a CGA or MDA card in an expansion slot is used as the p...
by JohnElliott
Fri 02 Feb, 2018 9:20 pm
Forum: Merged patches
Topic: [Patch] Toshiba T1200
Replies: 11
Views: 4408

Re: [Patch] Toshiba T1200

This patch seems to fix the glitches for me. The first was a straightforward hardcoded RAM size (this should also stop the T1000 crashing if it's manually configured with a non-standard RAM size). The second was a BIOS feature to disable the built-in video chipset, so that an alternative video card ...
by JohnElliott
Fri 02 Feb, 2018 4:54 pm
Forum: Merged patches
Topic: [Patch] Toshiba T1200
Replies: 11
Views: 4408

Re: [Patch] Toshiba T1200

I got that on initial boot, and I think just pressing RETURN is enough to get you past it. It's part of a message in the ROM saying that the CMOS is corrupt, and asking you whether the defaults should be set for HDD+FDD or FDD+FDD.
by JohnElliott
Tue 30 Jan, 2018 10:10 am
Forum: Development
Topic: Toshiba T1200 emulation
Replies: 6
Views: 2807

Re: Toshiba T1200 emulation

I've dumped the firmware ROM from the hard drive controller (looks like Z80 to me) but didn't try to implement it in the patch. It only supports two drive sizes (10Mb or 20Mb) so you'd be better off using one of the existing controllers already implemented in PCEM, such as XTIDE.
by JohnElliott
Mon 29 Jan, 2018 10:33 pm
Forum: Development
Topic: Toshiba T1200 emulation
Replies: 6
Views: 2807

Re: Toshiba T1200 emulation

I've now submitted a patch to implement T1200 emulation and fix the crash when using the T1000 with XTIDE.
by JohnElliott
Mon 29 Jan, 2018 10:31 pm
Forum: Merged patches
Topic: [Patch] Toshiba T1200
Replies: 11
Views: 4408

[Patch] Toshiba T1200

This implements T1200 support, and also fixes the crash when you enable XTIDE on the T1000.
by JohnElliott
Wed 24 Jan, 2018 8:06 pm
Forum: General
Topic: Mouse in GEM for Amstrad 1512
Replies: 4
Views: 1261

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: 2807

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: 3159

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: 1738

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: 9704

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: 3159

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: 3933

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: 3933

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: 3933

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: 3933

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: 9695

Re: Patch: Toshiba T3100e

Did you want me to create a revised t3100e_fdd.patch for this issue?