Page 1 of 1

[Patch] Trigem Korean VGA

Posted: Sun 12 Aug, 2018 5:52 am
by Greatpsycho
This patch applies experimental implementation for Trigem Korean VGA which is ET4000AX compliant and supports KSC-5601 Korean character set specification.
If you need BIOS ROM, font ROM and device driver for it, please send send your e-mail address as PM for me.
And this patch allows select ET4000AX video memory to 512KB or 1MB.
TGKVGA1.png
TGKVGA1.png (37.65 KiB) Viewed 17265 times
TGKVGA2.png
TGKVGA2.png (65.56 KiB) Viewed 17265 times

Re: [Patch] Trigem Korean VGA

Posted: Wed 21 Nov, 2018 9:42 am
by Greatpsycho
This patch applies experimental implementation for Trigem Korean VGA which is ET4000AX compliant and supports KSC-5601 Korean character set specification. Reworked against rev 1200.
And this patch allows select ET4000AX video memory size to 512KB or 1MB.

Re: [Patch] Trigem Korean VGA

Posted: Sun 25 Nov, 2018 2:44 am
by te_lanus
Running on the latest commit:

Image
Image

Re: [Patch] Trigem Korean VGA

Posted: Sun 25 Nov, 2018 8:26 am
by Greatpsycho
te_lanus wrote: Sun 25 Nov, 2018 2:44 am Running on the latest commit:

Image
Image
You seem to have used HBIOS, a general-purpose driver, not the Trigem Korean VGA driver I sent you.

Re: [Patch] Trigem Korean VGA

Posted: Sun 25 Nov, 2018 4:03 pm
by te_lanus
Sorry seems I uploaded the wrong pic:

Here's the right one
Image

Win 3.1
Image

Re: [Patch] Trigem Korean VGA

Posted: Mon 26 Nov, 2018 5:37 pm
by SarahWalker
Merged Trigem emulation at rev 1201. I've left the ET4000 memory size selection out as it seems to rely on a hack.

Re: [Patch] Trigem Korean VGA

Posted: Sun 08 Mar, 2020 3:41 pm
by Greatpsycho
This patch does the following

- Implemented experimental bank-interleaved addressing emulation on ET4000AX series. ET4000AX series BIOS now can detect memory size automatically.
- Allows select ET4000AX series video memory size to 256KB(except Trigem Korean VGA), 512KB or 1MB.

Edit : This patch has been incorporated [url=http://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=5&t=3075&p=13479#p13479]here[/url].

Re: [Patch] Trigem Korean VGA

Posted: Sat 14 Mar, 2020 9:19 am
by Greatpsycho
This patch does the following

- Implemented experimental bank-interleaved addressing emulation on ET4000AX series. ET4000AX series BIOS now can detect memory size automatically.
- Allows select ET4000AX series video memory size to 256KB(except Trigem Korean VGA), 512KB or 1MB.
- Add cascading call to et4000k_in and et4000k_out function.

Edit : This patch has been incorporated [url=http://pcem-emulator.co.uk/phpBB3/viewtopic.php?f=5&t=3075&p=13515#p13515]here[/url].

Re: [Patch] Trigem Korean VGA

Posted: Fri 20 Mar, 2020 4:16 pm
by Greatpsycho
This patch does the following

- Implemented experimental bank-interleaved addressing emulation on ET4000AX series. ET4000AX series BIOS now can detect memory size automatically.
- Allows select ET4000AX series video memory size to 256KB(except Trigem Korean VGA), 512KB or 1MB.
- Add cascading call to et4000k_in and et4000k_out function.
- Implemented byte panning(CRTC R8) and cursor skew(CRTC R11) handling.

Edit : I've re-uploaded this patch as requested. And I've uploaded CRTC.COM to show and change CRTC registers for video test.
CRTC_USAGE.png
CRTC_USAGE.png (27.15 KiB) Viewed 10335 times

Re: [Patch] Trigem Korean VGA

Posted: Sat 14 Nov, 2020 1:49 pm
by SarahWalker
Committed byte panning and cursor skew at ed30e171.

I've not committed the addressing changes, as I'm not keen on adding an additional slow path to all the VGA read/write handlers, as this affects all cards to some degree. I think a better approach would be to have some specific ET4000 handlers for this, and to fallback to the standard handlers once the card has been configured for no translation.