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

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

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

Post by JohnElliott »

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 439 times
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

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

Post by JohnElliott »

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 399 times
SA1988
Posts: 274
Joined: Wed 30 Apr, 2014 9:38 am

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

Post by SA1988 »

I can't get the MDA and LCD MDA modes to work, it only sees a blinking cursor.
User avatar
JohnElliott
Posts: 113
Joined: Sun 31 Jan, 2016 7:29 pm

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

Post by JohnElliott »

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 394 times
User avatar
omarsis81
Posts: 945
Joined: Thu 17 Dec, 2015 6:20 pm

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

Post by omarsis81 »

That LCD screen looks quite authentic. Nice job
SA1988
Posts: 274
Joined: Wed 30 Apr, 2014 9:38 am

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

Post by SA1988 »

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: 113
Joined: Sun 31 Jan, 2016 7:29 pm

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

Post by JohnElliott »

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: 113
Joined: Sun 31 Jan, 2016 7:29 pm

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

Post by JohnElliott »

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: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

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

Post by SarahWalker »

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