[Patch] PC200 and PC1512: Hardware font and monitor selection

Post Reply
User avatar
JohnElliott
Posts: 101
Joined: Sun 31 Jan, 2016 7:29 pm

[Patch] PC200 and PC1512: Hardware font and monitor selection

Post by JohnElliott » Tue 05 Mar, 2019 1:12 am

This patch adds support for the multiple hardware fonts supported by the PC1512 and PC200 built-in video adapters, and mono/colour monitor options for these systems.
Attachments
pc200fonts.patch
(18.15 KiB) Downloaded 101 times

User avatar
JohnElliott
Posts: 101
Joined: Sun 31 Jan, 2016 7:29 pm

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by JohnElliott » Fri 08 Mar, 2019 12:58 am

This replaces the above patch - it fixes a crash (when changing to the built-in adapter from an add-on) and adds emulation of the PPC512 with its LCD screen.

Image Image
Attachments
ppc512.patch
(67.54 KiB) Downloaded 81 times

SA1988
Posts: 246
Joined: Wed 30 Apr, 2014 9:38 am

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by SA1988 » Thu 21 Mar, 2019 5:12 pm

I can't get the MDA and LCD MDA modes to work, it only sees a blinking cursor.

User avatar
JohnElliott
Posts: 101
Joined: Sun 31 Jan, 2016 7:29 pm

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by JohnElliott » Fri 22 Mar, 2019 8:41 am

Oops. Missed amstrad.c out of the patch. Here's a supplementary patch for that file (basically adding PPC512 checks to the existing PC200 checks).
Attachments
ppc512fix.patch
(2.14 KiB) Downloaded 82 times

User avatar
omarsis81
Posts: 718
Joined: Thu 17 Dec, 2015 6:20 pm

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by omarsis81 » Fri 22 Mar, 2019 12:30 pm

That LCD screen looks quite authentic. Nice job

SA1988
Posts: 246
Joined: Wed 30 Apr, 2014 9:38 am

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by SA1988 » Fri 22 Mar, 2019 4:20 pm

Are you sure this also fixes the LCD MDA/normal MDA configurations? I still get a blinking cursor on a green background, or maybe I haven't applied the patch properly.

User avatar
JohnElliott
Posts: 101
Joined: Sun 31 Jan, 2016 7:29 pm

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by JohnElliott » Fri 22 Mar, 2019 7:16 pm

omarsis81 wrote:
Fri 22 Mar, 2019 12:30 pm
That LCD screen looks quite authentic. Nice job
The colours I used are a compromise between looking authentic and having enough contrast to be readable :)

User avatar
JohnElliott
Posts: 101
Joined: Sun 31 Jan, 2016 7:29 pm

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by JohnElliott » Fri 22 Mar, 2019 7:19 pm

SA1988 wrote:
Fri 22 Mar, 2019 4:20 pm
Are you sure this also fixes the LCD MDA/normal MDA configurations? I still get a blinking cursor on a green background, or maybe I haven't applied the patch properly.
I've just tested with the following sequence of commands (where 3a9af.orig holds the baseline code) and got a build where MDA monitor and MDA LCD work:

Code: Select all

mkdir 3a9af.ppc512
cd 3a9af.ppc512
cp -a ../3a9af.orig/* .
patch -p1 < ../ppc512.patch
patch -p1 < ../ppc512fix.patch
autoreconf
./configure
make

User avatar
SarahWalker
Site Admin
Posts: 1719
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] PC200 and PC1512: Hardware font and monitor selection

Post by SarahWalker » Mon 15 Apr, 2019 6:49 pm

Committed at rev 1215. I fixed a couple of config bugs and added the PC200/PPC disc change line while I was at it.

Post Reply