[Patch] ATI Korean VGA

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

[Patch] ATI Korean VGA

Post by Greatpsycho »

This patch applies experimental implementation for ATI Korean VGA which is ATI-28800 compliant and supports KSC-5601 Korean character set specification.
If you need BIOS ROM and font ROM image for it, please send PM to me.

Edit : This patch has been incorporated here.
ATI_Korean_VGA_1.png
ATI_Korean_VGA_1.png (34 KiB) Viewed 134647 times
Attachments
ATI_Korean_VGA_2.png
ATI_Korean_VGA_2.png (42.73 KiB) Viewed 134577 times
ATI_Korean_VGA_2.png
ATI_Korean_VGA_2.png (42.73 KiB) Viewed 134647 times
Last edited by Greatpsycho on Sun 11 Mar, 2018 8:46 am, edited 9 times in total.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

This patch applies the following additions.
- Improved handling SVGA CRTC register 0x17 and SVGA ATTR register 0x10. Olivetti M24 compatible mode(BIOS mode ox40) now works properly when ATI Korean VGA driver is loaded.

Edit : This patch has been incorporated here.
Attachments
Machine_Intro_2.png
Machine_Intro_2.png (27 KiB) Viewed 134430 times
Machine_Intro_1.png
Machine_Intro_1.png (20.28 KiB) Viewed 134430 times
Machine_Intro_2.png
Machine_Intro_2.png (27 KiB) Viewed 134433 times
Machine_Intro_1.png
Machine_Intro_1.png (20.28 KiB) Viewed 134433 times
Last edited by Greatpsycho on Sun 11 Mar, 2018 8:46 am, edited 7 times in total.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

This patch applies the following additions.
- Add clearing in_get_korean_font_kind_set flag that I've missed previously.
- More improving accuracy of handling SVGA CRTC register 0x17. 800x600 resolution mode now works properly.
- Add 1024x768 mode register handling. 1024x768 resolution mode now works properly.

Edit : This patch has been incorporated here.
Korean_display_800x600(0x54).png
Korean_display_800x600(0x54).png (233.54 KiB) Viewed 134437 times
Korean character display on 800x600(mode 0x54).
Korean_display_1024x768(0x55).png
Korean_display_1024x768(0x55).png (46.7 KiB) Viewed 134437 times
Korean character display on 1024x768(mode 0x55)
Attachments
Korean character display on 800x600
Korean character display on 800x600
Korean_display_800x600(0x54).png (233.54 KiB) Viewed 134264 times
Last edited by Greatpsycho on Sun 11 Mar, 2018 8:49 am, edited 4 times in total.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

This patch applies the following additions. This patch replaces previous patch.
- Implemented ATI-28800 clock setting.
- Separated Korean character display part from svga_render_text_80 function and made it a separate function.
- Add show status information for Korean VGA mode.
Attachments
ati_korean_vga_patches.tar.gz
Patch for add ATI Korean VGA and ATI-28800 improvement.
(5.14 KiB) Downloaded 1371 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] ATI Korean VGA

Post by SarahWalker »

Committed at rev 1099.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

This patch implements user-defined character handling on ATI Korean VGA. To use user-defined character, you need font edit program and user-defined font files. And user-defined font files(UDCCON.SYS and UDCPRT.SYS) must be placed on current directory. If you need these files, please send PM to me. However, keep in mind that it's hard to use this program if you don't know Korean.

Edit : I've found serious mistake on previous uploaded user-defined character handling patch. So, I've re-uploaded patch.
And changed calling svga_add_status_info function in ati28800k_add_status_info function to calling ati28800_add_status_info function.
UDCSYS1.png
UDCSYS1.png (40.8 KiB) Viewed 134036 times
Editing user-defined character plane 1(0xc9a1 ~ 0xc9fe). Plane 2 area is between 0xfea1 and 0xfefe.
UDCTEST.png
UDCTEST.png (46.9 KiB) Viewed 134036 times
User-defined character operation.
Attachments
ati_korean_vga_patches.tar.gz
Patch for add user-defined character handling.
(1.58 KiB) Downloaded 1348 times
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

This patch applies Korean font ROM can be accessed even if Korean character display mode isn't activated as real hardware does.
Attachments
vid_ati28800.c.patch
Patch for emulation accuracy.
(1.14 KiB) Downloaded 1291 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] ATI Korean VGA

Post by SarahWalker »

Committed at rev 1217.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

Removed hsync divisor adjust on ati2800_recalctimings function because it does on svga_poll function now. Fixes display 800x600 resolution on ATI-28800.
Attachments
vid_ati28800.c.patch
Fix display patch for ATI-28800.
(603 Bytes) Downloaded 1182 times
User avatar
SarahWalker
Site Admin
Posts: 2054
Joined: Thu 24 Apr, 2014 4:18 pm

Re: [Patch] ATI Korean VGA

Post by SarahWalker »

Committed at rev 1538.
SA1988
Posts: 274
Joined: Wed 30 Apr, 2014 9:38 am

Re: [Patch] ATI Korean VGA

Post by SA1988 »

Any news for a 1mb 1024x768x8bpp capable 28800-5/6 bios support? I mean, support for mode 64h.
Greatpsycho
Posts: 151
Joined: Tue 22 Mar, 2016 10:03 am
Location: Korea
Contact:

Re: [Patch] ATI Korean VGA

Post by Greatpsycho »

SA1988 wrote: Fri 20 Mar, 2020 7:02 pm Any news for a 1mb 1024x768x8bpp capable 28800-5/6 bios support? I mean, support for mode 64h.
I don't have ATI-28800 graphics card with 1MB memory,so there is no way to see how the card should work when the memory is 1MB.
Post Reply