| |
blacky
Registered: Sep 2007 Posts: 41 |
c128 test help needed to improve c128 emulation
Hiya all,
I am in the process of improving the MMU emulation in the x128 of the VICE project in collaboration with the author of the Z64K emulator and I need more test results from real c128 hardware.
People who are able and willing to test, please take the mmuswap-??.prg files from
https://sourceforge.net/p/vice-emu/code/HEAD/tree/testprogs/c12..
When running the tests please make sure you do a hard reset / power cycles between tests.
When reporting the results I only need the test nr and the border color.
Thanks in advance to any-1 able and willing to test. |
|
| |
hedning
Registered: Mar 2009 Posts: 4732 |
If you happen to own a PAL C128DCR, like me, can I still be part of this? Or is it only for plain flat C128 owners? |
| |
blacky
Registered: Sep 2007 Posts: 41 |
any kind of c128, the more different kinds the better, and the more results the better.
I appreciate all the help any-1 is able/willing to give. |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
00 green
01 green
02 green
03 green
04 black
05 green
06 blue
07 green
08 light red
09 green
10 green
11 green
12 green
13 green
14 light red
15 white
16 light red
17 cyan |
| |
blacky
Registered: Sep 2007 Posts: 41 |
Thank you Hypnosis and any future testers.
Please stay tuned to this topic since there will be some changes to the tests as we get more results and I might ask for retests. |
| |
mutetus
Registered: Dec 2020 Posts: 12 |
Nothing but test failed every time. |
| |
blacky
Registered: Sep 2007 Posts: 41 |
for some of these test there will be no passed till I gather more information, so what I am interested in is not so much if it passed or not, but more the border color for each test. |
| |
mutetus
Registered: Dec 2020 Posts: 12 |
Oh, so I needed to test all files. My bad, I'm kinda slow. I'll test tomorrow with 128 & 128dcr. |
| |
blacky
Registered: Sep 2007 Posts: 41 |
All the mmuswap-*.prg files, yes, thanks in advance. |
| |
tokra
Registered: Jun 2011 Posts: 9 |
00 green
01 green
02 green
03 green
04 black
05 green
06 blue
07 green
08 light red
09 green
10 green
11 green
12 green
13 green
14 light red
15 white
16 light red
17 cyan
So, same as Hypnosis. Device is a german PAL C128 flat. |
| |
blacky
Registered: Sep 2007 Posts: 41 |
I have updated the tests 08, 14 and 16, for Tokra and Hypnosis, please re-test tests 08, 14 and 16 from the sf site.
For every-1 else please make sure you use the current tests.
Thanks. |
| |
jcompton
Registered: Feb 2006 Posts: 70 |
NTSC 128D
00 green
01 green
02 green
03 green
04 black
05 green
06 green
07 green
08 brown
09 green
10 green
11 green
12 green
13 green
14 blue
15 white
16 light red
17 cyan |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
08: brown
14: blue
16: blue |
| |
mutetus
Registered: Dec 2020 Posts: 12 |
Tested with freshly downloaded test progs, 128 PAL flat. Can't set up my DCR at the moment, sorry.
00: GRN
01: GRN
02: GRN
03: GRN
04: BLK
05: GRN
06: GRN
07: GRN
08: BRN
09: GRN
10: GRN
11: GRN
12: GRN
13: GRN
14: BLU
15: WHT
16: BLU
17: CYN |
| |
tokra
Registered: Jun 2011 Posts: 9 |
08 brown
14 blue
16 blue |
| |
jcompton
Registered: Feb 2006 Posts: 70 |
Also, can you clarify what constitutes a "hard reset"? I power-cycled my 128D each time on that run but if I'm going to make a habit out of this and can use the reset button instead, that might be nice. |
| |
blacky
Registered: Sep 2007 Posts: 41 |
during the weekend I will put extra code into the tests that will make sure every test starts from the same initial conditions, and no power cycling will be needed anymore. |
| |
blacky
Registered: Sep 2007 Posts: 41 |
Thanks to every-1 who provided results, I have almost everything I needed (information wise), only a few more tests will be coming, I will post here once I have them ready. |
| |
hedning
Registered: Mar 2009 Posts: 4732 |
I will fetch my C128DCR now... :) Wanna be part of this. |
| |
jcompton
Registered: Feb 2006 Posts: 70 |
(history teaches that there is rarely "enough" data from NTSC for emulation, so:)
NTSC C128 flat
00 green
01 green
02 green
03 green
04 black
05 green
06 green
07 green
08 brown
09 green
10 green
11 green
12 green
13 green
14 blue
15 white
16 blue
17 cyan |
| |
hedning
Registered: Mar 2009 Posts: 4732 |
PAL C128DCR, tested with freshly downloaded files:
00 green
01 green
02 green
03 green
04 black
05 green
06 green
07 green
08 brown
09 green
10 green
11 green
12 green
13 green
14 blue
15 white
16 light red
17 cyan |
| |
blacky
Registered: Sep 2007 Posts: 41 |
thank you for all the test results.
I have 'fixed' test 16, and added tests 18, 19, 20 and 21.
So testers, please re-test 16, and test 18, 19, 20 and 21.
As before the passed/failed is currently not interesting, only the border colors matter for the results.
Thanx in advance. |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
Something is wonky over at sourceforge. The page with the tests is gone. |
| |
blacky
Registered: Sep 2007 Posts: 41 |
I just did a repository refresh, the page should be available again, please try again. |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
16 blue
18 white
19 light green
20 black
21 black |
| |
hedning
Registered: Mar 2009 Posts: 4732 |
Still my PAL C128DCR (HB1 005865):
16 blue
18 white
19 light green
20 white
21 white |
| |
jcompton
Registered: Feb 2006 Posts: 70 |
Same NTSC 128D:
16 - blue
18 - white
19 - light green
20 - white
21 - white
Same NTSC flat 128:
16 - blue
18 - white
19 - light green
20 - white
21 - white
(identical results) |
| |
tokra
Registered: Jun 2011 Posts: 9 |
16 blue
18 white
19 light green
20 black
21 black |
| |
blacky
Registered: Sep 2007 Posts: 41 |
Thank you all so much for running these tests, they have helped to make x128 and z64k to be more accurate compared to the real hardware.
For almost all of the tests we have an agreement in the results, the only tests we have a disagreement in the results are tests 06, 20 and 21.
These tests check if when both the zero page and stack page are mapped to the same normal ram page where the back translation goes, that normal ram page will show either the zero page or the stack page, not a mixture of both.
For the people who got a 'white' result from tests 20 and 21, the results show that the stack page takes priority.
For the people who got a 'black' result from tests 20 and 21, the results show that the zero page takes priority.
To find out why there is this different I have one last request.
If you can, please find out what revision of the 8722 you have in your c128, sadly there is no way to tell register-wise so you'll need to look at the chip markings, from what I can find it will be either 8722R1 or 8722R2.
I'm hoping the zp/sp priority difference is tied to the revision of the mmu.
Thanks in advance to the testers who are willing to go through the extra trouble. |
| |
jcompton
Registered: Feb 2006 Posts: 70 |
The NTSC 128D I've been providing results on is:
8722R2
1788 22
(I'll open the flat if you really need but am not in a great rush to do so) |
| |
blacky
Registered: Sep 2007 Posts: 41 |
thank you for the mmu rev jcompton.
I'll wait till more results come in before I ask anything else of you ;) |
| |
hedning
Registered: Mar 2009 Posts: 4732 |
My tested PAL C128DCR (HB1 005865) has a MOS 8722R2 4786 22.
And I am sure we love to help. :) This is interesting and fun. |
| |
Hypnosis
Registered: Mar 2015 Posts: 36 |
8722R2
4487 22 |
| |
Trurl
Registered: Mar 2002 Posts: 61 |
Do you still take more results at a later time? I have three c128s here but cannot check right now. |
| |
chatGPZ
Registered: Dec 2001 Posts: 11386 |
The more data the better :) |
| |
zenda
Registered: Nov 2006 Posts: 22 |
Results from my PAL C128 flat (HB51 42784)
8722R2
4385
00 green
01 green
02 green
03 green
04 black
05 green
06 blue
07 green
08 brown
09 green
10 green
11 green
12 green
13 green
14 blue
15 white
16 blue
17 cyan
18 white
19 green
20 white
21 white
...wondering if I even need to put back the top metal shield? |
| |
blacky
Registered: Sep 2007 Posts: 41 |
Thank you all for the test results, we were able to learn a lot more from the results and have improved the emulation of x128 and Z64K.
The last part of this mmu testing adventure will be some z80 related tests, don't worry, you won't have to start cp/m or something, the test programs will switch to the z80, run the test and change the border color to indicate the result.
I will start making these tests on the weekend, since working life got in the way for now. |