Award286 clone
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Award286 clone
This patch applies experimental implement for Award 286 clone that uses Chips&Technologies 82C235 Single Chip AT chipset.
Currently, only limited shadow ram support implemented(Only segment C000~FFFF supported).
I've attached test boot image that loads UMB_DRVR.SYS to UMB use test but it is patched to do not check ISA-DMA work. Original version also included but it enters infinite loop when ISA-DMA check because DMA write request not yet implemened in PCem.
Note : This is second submission. scat.c has been changed first submission and should be updated if you downloaded first-time attached award286_emu.tgz file.
Currently, only limited shadow ram support implemented(Only segment C000~FFFF supported).
I've attached test boot image that loads UMB_DRVR.SYS to UMB use test but it is patched to do not check ISA-DMA work. Original version also included but it enters infinite loop when ISA-DMA check because DMA write request not yet implemened in PCem.
Note : This is second submission. scat.c has been changed first submission and should be updated if you downloaded first-time attached award286_emu.tgz file.
- Attachments
-
- award286_emu.tgz
- Award 286 clone patches and needed files.
- (29.42 KiB) Downloaded 529 times
-
- award286_boot_dos5.img.gz
- Test boot image
- (158.82 KiB) Downloaded 474 times
Last edited by Greatpsycho on Thu 31 Mar, 2016 1:11 pm, edited 2 times in total.
Re: Award286 clone
The 82C836 chipset is identical to this, but for 386 processors, though I'm struggling finding an award bios for it.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This revision 2 patch added applies experimental EMS implement for Award 286 clone that uses Chips&Technologies 82C235 Single Chip AT chipset.
Patch and test disk image attached.
Please note this revision allows EMS function only memory size is 2MB, 4MB, 6MB, 8MB due to chipset & attached BIOS limit. I'll modify BIOS to allow memory configuration upto 16MB later.
Patch and test disk image attached.
Please note this revision allows EMS function only memory size is 2MB, 4MB, 6MB, 8MB due to chipset & attached BIOS limit. I'll modify BIOS to allow memory configuration upto 16MB later.
- Attachments
-
- award286_boot_disk_rev2_dos5.img.gz
- Test boot image. EMS driver and test program added.
- (164.97 KiB) Downloaded 457 times
-
- award286_emu_rev2.tgz
- Award 286 clone patches and needed files
- (30.57 KiB) Downloaded 453 times
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This is revision 3 patch for Award286 clone.
Changed from revision 2
1) Added memory remap feature if 1MB memory installed.
2) Code simplified and many bugs fixed.
3) Attached modified BIOS and EMS driver to handle memory configuration up to 16MB.(Original versions are also included)
Please note memory setting should be one of 1MB, 2MB, 4MB, 6MB, 8MB if original BIOS or EMS driver use. Modified BIOS & EMS driver supports 10MB, 12MB, 14MB, 16MB configuration.
Changed from revision 2
1) Added memory remap feature if 1MB memory installed.
2) Code simplified and many bugs fixed.
3) Attached modified BIOS and EMS driver to handle memory configuration up to 16MB.(Original versions are also included)
Please note memory setting should be one of 1MB, 2MB, 4MB, 6MB, 8MB if original BIOS or EMS driver use. Modified BIOS & EMS driver supports 10MB, 12MB, 14MB, 16MB configuration.
- Attachments
-
- award286_boot_rev3_dos5.img.gz
- Test boot image.
- (160.82 KiB) Downloaded 451 times
-
- award286_emu_rev3.tgz
- Award 286 clone patches and needed files
- (54.24 KiB) Downloaded 476 times
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This additional patch fixees memory configuration related bugs in revision 3.
Only patch file against revision 3 attached.
Only patch file against revision 3 attached.
- Attachments
-
- scat.c.patch
- Patch file against revision 3 of scat.c
- (3.32 KiB) Downloaded 425 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Is this ready for me to merge into mainline?
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
Yes. It seems ready to merge into mainline now. Not yet implemented features are planned to be implemented after the release of new version. And I'm going to port shadowram features and memory remap feature into AMI286 clone(It uses NEAT chipset) before end of this month.SarahWalker wrote:Is this ready for me to merge into mainline?
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 474. I had to make a few changes to rebase it to the current version (mem_size has changed from MB to kB) and tweaked the coding style a bit, but other than that it's good.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
I found a bug when A20 line set to be enabled via port 0x92, A20 line can't be disabled. This patch solves that bug.SarahWalker wrote:Committed at rev 474. I had to make a few changes to rebase it to the current version (mem_size has changed from MB to kB) and tweaked the coding style a bit, but other than that it's good.
- Attachments
-
- scat.c.patch
- A20 line access bug patch against rev 474
- (743 Bytes) Downloaded 378 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 475.
Re: Award286 clone
I dumped the BIOS from an old 286 of mine (Hyundai Super 286-TR) which used this chipset and it actually worked! Only problem is that sometimes "refresh timing error" is displayed after POST, but it is 100% stable after lots of testing. Thanks!
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
I've rewritten 82C235 memory mapping logic. Windows 3.0 Real mode and Desqview now works properly when EMS enabled and shadow RAM at A000~BFFF segment area can be enabled.
- Attachments
-
- award286_emu_patch.tgz
- (3.06 KiB) Downloaded 356 times
Re: Award286 clone
Thanks for this patch!
Sarah: I'm guessing this last patch wasn't merged yet because it messes a with mem.c just for this chipset?
Sarah: I'm guessing this last patch wasn't merged yet because it messes a with mem.c just for this chipset?
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
I haven't really looked at this patch yet - it came just after the v12 release when I wasn't really interested in looking at anything related the emulator. I'll give it a look tonight.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Having just had a look at the code, I'm really not keen on the mem.c changes here. You should be able to use the mem_mapping functionality to do all this. If there's any required functionality missing, let me know and I'll add it.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
I've rewritten memory mapping logic patch. This patch against PCem V12 release. Only solves Windows 3.0 Real mode and Desqview issue when EMS enabled but does not solves impossible to enable shadow RAM at A000~BFFF area. To use shadow ram at A000~BFFF area, video memory mapping portion may need to be modified significantly.SarahWalker wrote:Having just had a look at the code, I'm really not keen on the mem.c changes here. You should be able to use the mem_mapping functionality to do all this. If there's any required functionality missing, let me know and I'll add it.
- Attachments
-
- award286_emu_patch.tgz
- SCAT memory mapping patch against PCem V12
- (1.85 KiB) Downloaded 293 times
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This additional patch enables shadow RAM at A000~BFFF segment area.
Sarah : award286 folder does not exist in roms folder in source tree and distribution.
Sarah : award286 folder does not exist in roms folder in source tree and distribution.
- Attachments
-
- scat.c.patch
- Additional patch against previous patch.
- (1.62 KiB) Downloaded 287 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 682.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This additional patch against rev 682 applies to enable shadow RAM at A000~BFFF segment area(It has already been implemented and submitted but not applied in rev 682) and Waitstate setting is work together with SCAT chipset control register as real machine does.
- Attachments
-
- award286_boot_rev4_dos5.img.gz
- Test boot image.
- (130.5 KiB) Downloaded 300 times
-
- scat.c.patch
- Patch file against rev 682.
- (2.65 KiB) Downloaded 277 times
Last edited by Greatpsycho on Sat 22 Apr, 2017 3:34 am, edited 1 time in total.
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 693.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This patch fixes a problem shadow RAM state at A000~BFFF range not applied correctly and get A20 state bit of SCAT register should be obtained from the keyboard controller but it is getting from port 0x92.
- Attachments
-
- scat.c.patch
- (1.01 KiB) Downloaded 268 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 697.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This patch applies global EMS state and EMS I/O port setting more accurately.
- Attachments
-
- scat.c.patch
- Patch for chipset setting.
- (15.83 KiB) Downloaded 259 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 788.
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This patch improves memory configuration setting accuracy when 1MB memory installed.
- Attachments
-
- award286_emu_patch.tar.gz
- Patch for memory configuration
- (2.24 KiB) Downloaded 270 times
- SarahWalker
- Site Admin
- Posts: 2054
- Joined: Thu 24 Apr, 2014 4:18 pm
Re: Award286 clone
Committed at rev 829.
Re: Award286 clone
Lots of improvements for the 286 Greatpsycho!
Is that your favorite processor?
Is that your favorite processor?
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
I have a 286 PC purchsed in 1992 and it is still operatable. So I'm working on it.omarsis81 wrote:Lots of improvements for the 286 Greatpsycho!
Is that your favorite processor?
Emulation of Award286 clone is working properly at most common cases, but it is still imperfect and there are lot of things to implement.
Re: Award286 clone
I appreciate your work on the 286, as I like that processor very much. I believe is the most underrated x86 processors of all! Is has the same or even better performance than a 386 (atinstructionss per second, of course).Greatpsycho wrote:I have a 286 PC purchsed in 1992 and it is still operatable. So I'm working on it.omarsis81 wrote:Lots of improvements for the 286 Greatpsycho!
Is that your favorite processor?
Emulation of Award286 clone is working properly at most common cases, but it is still imperfect and there are lot of things to implement.
Too bad Intel screw it with the protected mode... oh well, I don't want to go off-topic. I will send you a PM. Best regards
-
- Posts: 151
- Joined: Tue 22 Mar, 2016 10:03 am
- Location: Korea
- Contact:
Re: Award286 clone
This patch improves memory address clipping and mapping accuracy.
Edit : This patch has been incorporated here.
Edit : This patch has been incorporated here.
Last edited by Greatpsycho on Mon 21 Aug, 2017 8:50 am, edited 1 time in total.