Acid test what compares enough to qualify

Page 1/6
| 2 | 3 | 4 | 5 | 6

By Daemos

Paragon (2044)

Daemos's picture

07-01-2015, 09:21

So I downloaded the FRS badcoffee acid test 1 but the system roms needed to run this machine in openmsx are about as impossible to find so I tried some "nasty" things with the bluemsx machine editor to test my program for slot problems.

So here is how I started. First test the project on the most usual suspects of failure. Sony-HF500P, Daewoo-CPC300, that victor hc forgot the name machine. Works without trouble.

So I took the time to make it harder. I took the HF500P and inserted MSXDOS2 roms into it, trew the cartridge into a slotexpander together with some expansion ram. Still works.

Okay. Time to beef it up even more. I randomly separated the RAM into 16 K segments divided over subslots and mainslots all over the place. for example. 16Kb in slot 0-0 and 0-2 16 KB in slot 2-1 16 Kb in slot 3-3. Also 16 Kb in slot0-0 32Kb in slot 2 16 Kb in slot 3-0 etc. Still works.

I tried Ciel expert like machine with same slotconfig and VDP waitstate. Works.

Bottomline of the story: Have I practicly passed the acid test 1?

Login or register to post comments

By Manuel

Ascended (19270)

Manuel's picture

07-01-2015, 11:58

The machines are included in openMSX 0.11.0 and the ROMs are included in the msxarchive zip file I've mentioned earlier. (They're (mostly?) existing ROMs.)

So, it should be easy to run with these acid tests Smile

By Daemos

Paragon (2044)

Daemos's picture

07-01-2015, 12:02

Quote:

The machines are included in openMSX 0.11.0 and the ROMs are included in the msxarchive zip file I've mentioned earlier. (They're (mostly?) existing ROMs.)

in that case sorry for the bother. Thank you all for the help. Ill let you know the results Smile

By mars2000you

Enlighted (6428)

mars2000you's picture

07-01-2015, 12:20

Manuel wrote:

The machines are included in openMSX 0.11.0 and the ROMs are included in the msxarchive zip file I've mentioned earlier. (They're (mostly?) existing ROMs.)

Actually, existing ROMS indeed but they are heavily modified by several IPS patches, so the definitive ROMS don't exist in real machines.

By gdx

Enlighted (6069)

gdx's picture

07-01-2015, 13:15

Several Roms work without patch on real machine using a MegaFlashRom. Many Roms of 8/16KB work also directly in RAM.

By Daemos

Paragon (2044)

Daemos's picture

07-01-2015, 13:18

ghehehehe fails the acid test for the reason that 16 Kb of RAM is hooked on slot 1 Tongue thats extreme. No MSX in the world has that. I will built a catch in the code that will inform the user that not enough free RAM could be located to run the game. I know its bad and against the standard and all that but whoever builds an MSX machine with RAM hooked onto the cartridge slots deserves games to fail on it. Even with BIOS in other slots everything goes the way i want it, at least I can go to sleep knowing that every user in the world popping the cartridge into any MSX2 machine even if slotexpanders and all that are used will be able to enjoy the game Smile I will just have to live with the fact that my program is not acid certified Wink

By Manuel

Ascended (19270)

Manuel's picture

07-01-2015, 15:23

Why would slot 1 be a cartridge slot? There can be pages of 16kB of RAM anywhere. This machine happens to have that in slot 1-0 and it has some cartridge slots in sub slots (like 1-3 and some more). What is the actual reason that the program is failing? (What is the assumption you're making and why?)

By Daemos

Paragon (2044)

Daemos's picture

07-01-2015, 16:23

it doesn't matter.

By Manuel

Ascended (19270)

Manuel's picture

07-01-2015, 16:25

Oh. I thought it did and that you started this thread for that...

By Daemos

Paragon (2044)

Daemos's picture

07-01-2015, 16:34

not entirely. I knew what results would come because I know the exact cause of the problem and how to solve it. Solving it however because there is the 1 out of million chance someone would create and MSX that has only 64 Kb of ram of which portions of it are shared with the cartridge slots is not worth my time (trust me i allready tried and it is just too much effort). As far as I know such machines only exsist in emulation. In any realistic scenario including the dreaded well known troublemakers there are 0 problems. The acid test was a part of my curiousity to see how far the code could be pushed until failure. Testing reveals that the code is very robust and can only fail if one uses deliberate methods to fail it. A normal user, normal emulator or any MSX machine out there would not crash the program so I am very okay with that.

Thank you all for the great help though. I have learned alot more again from all this testing and fiddling around. this will greatly help in future projects and undertakings so your time has not been wasted.

By sd_snatcher

Prophet (3642)

sd_snatcher's picture

08-01-2015, 01:14

Quote:

thats extreme.

They're called AcidTests for a reason, you know. Big smile

The same idea goes for the Web Standards Project AcidTests.

Page 1/6
| 2 | 3 | 4 | 5 | 6