[Patch] Trigem Korean VGA

Post Reply
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

[Patch] Trigem Korean VGA

Post 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 17320 times
TGKVGA2.png
TGKVGA2.png (65.56 KiB) Viewed 17320 times
Attachments
tgkorvga_patches.tar.gz
Patch for add Trigem Korean VGA
(3.7 KiB) Downloaded 662 times
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] Trigem Korean VGA

Post 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.
Attachments
tgkorvga_patches.tar.gz
Patch for add Trigem Korean VGA
(3.62 KiB) Downloaded 661 times
User avatar
te_lanus
Posts: 135
Joined: Tue 28 Jul, 2015 4:47 am

Re: [Patch] Trigem Korean VGA

Post by te_lanus »

Running on the latest commit:

Image
Image
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] Trigem Korean VGA

Post 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.
User avatar
te_lanus
Posts: 135
Joined: Tue 28 Jul, 2015 4:47 am

Re: [Patch] Trigem Korean VGA

Post by te_lanus »

Sorry seems I uploaded the wrong pic:

Here's the right one
Image

Win 3.1
Image
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Trigem Korean VGA

Post 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.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] Trigem Korean VGA

Post 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].
Last edited by Greatpsycho on Sat 14 Mar, 2020 9:20 am, edited 1 time in total.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] Trigem Korean VGA

Post 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].
Last edited by Greatpsycho on Fri 20 Mar, 2020 4:17 pm, edited 1 time in total.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] Trigem Korean VGA

Post 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 10390 times
Attachments
CRTC.COM.gz
CRTC I/O program for DOS.
(4.76 KiB) Downloaded 436 times
et4k_patches.tar.gz
Patch for ET4000AX series.
(3.11 KiB) Downloaded 456 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] Trigem Korean VGA

Post 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.
Post Reply