Commit Graph

45 Commits

Author SHA1 Message Date
Oliver Stöneberg
33ebcc9120 chdman: added -s/--size parameter for "createhd" to create blank harddisk based on size and sector size [Oliver Stöneberg]
also added unit tests for the new option / moved filesize validation out
of guess_chd()
2015-01-16 12:56:37 +01:00
Oliver Stöneberg
45f6401363 added a few more chdman tests (nw) 2015-01-15 15:13:11 +01:00
Scott Stone
35a825bb38 Fixes to correct some of the regression test data used by the jedutil test. [Kevin Eshbach] 2014-03-26 02:52:28 +00:00
Oliver Stöneberg
e54de28bf9 chdtest.py: log the unsupported mode (nw) 2014-03-06 14:32:03 +00:00
Oliver Stöneberg
0f39320814 chdtest.py might have reported, that all tests were successful even if one failed / cleanups (nw) 2014-03-03 22:32:21 +00:00
Oliver Stöneberg
87ae2cf1bd added some more chdman tests - they had been sitting in my tree for a while, but I held off the commit because the input/output files are a bit bigger than the existing ones (nw) 2014-02-09 18:26:05 +00:00
Scott Stone
3b4730b4ce jedutil.c: [Kevin Eshbach]
- Corrected the output of the PAL20X4, PAL20X8, PAL20X10 to show the XOR on the relevant sum of products.
- When viewing a device the size of the JED file is verified to match the size of the device.
- Replaced hard-coded symbol strings with constants.
- Started experimental work for supporting RICOH PAL’s.  (Currently ifdef'ed out.)
- Added support for viewing the following devices and the corresponding regression test data.
  (PALCE16V8, PAL10P8, PAL12P6, PAL14P4, PAL16P2, PAL16P8, PAL16RP4, PAL16RP6, PAL16RP8, PAL6L16, PAL8L14, PAL12H10, PAL12L10, PAL14H8, PAL14L8, PAL16H6, PAL16L6, PAL18H4, PAL18L4, PAL20C1 and PAL20L2)
2013-11-19 22:38:39 +00:00
Scott Stone
bf4e2932e6 Added the ability to view PALCE16V8 jed files along with some regression test data for the PALCE16V8. The pal dumps for Twin Cobra 2 in the Taito F3 driver are now labeled as bad dumps because when viewed with jedutil the data is bad. [Kevin Eshbach] 2013-10-15 16:17:30 +00:00
Robbbert
11a4c2cfbe Updates to jedutils and other minor things [Kevin Eschbach]
-          Documentation on the earlier version of the Deco Cassette System

-          Documented some pals on a bootleg Free Kick that need to be dumped

-          Documented the location of the roms on Twin Cobra 2

-          Added support to jedutil to view the PAL20X10, PAL20X8 and PAL20X4

-          Added some preliminary work on figuring out what the undocumented fuses for the PALCE16V8 are.  (The data sheet does not document what all of the fuses are.)
2013-09-03 09:28:26 +00:00
Oliver Stöneberg
075726ba09 chdtest.py: corrected SHA1 mismatch messages (nw) 2013-07-03 11:30:15 +00:00
Oliver Stöneberg
619b0109b1 added copy_hd_1 test case (nw) 2013-06-20 09:56:17 +00:00
Oliver Stöneberg
9df9cd93dc chdtest.py: only try to clear temp folder when it exists (nw) 2013-06-20 09:55:20 +00:00
Oliver Stöneberg
5ce5c67611 chdtest.py: adjusted logging a bit (nw) 2013-06-19 16:29:35 +00:00
Oliver Stöneberg
3e3f3aad8c added createld_avi_uyvy_3_frames_no_audio unit test (nw) 2013-06-19 16:19:06 +00:00
Oliver Stöneberg
218932e2df renamed chdman unit test from createld_avi_3_frames_no_audio to createld_avi_yuv2_3_frames_no_audio (nw) 2013-06-19 16:18:49 +00:00
Oliver Stöneberg
019afa14fd chdtest.py: added remaining extractions (nw) 2013-06-19 14:29:56 +00:00
Oliver Stöneberg
72286bc11c chdtest.py: added extraction for createcd tests cases (nw) 2013-06-19 14:19:09 +00:00
Oliver Stöneberg
286110939d chdtest.py:
- fixed check for output folder existence
- clear temp folder before running tests
- log which test failed
2013-06-19 14:18:03 +00:00
Oliver Stöneberg
8886da8e86 added createld unit test (nw) 2013-06-18 13:34:13 +00:00
Oliver Stöneberg
0137a8a49d chdtest.py: added SHA1 check of output file (nw) 2013-06-18 13:31:34 +00:00
Oliver Stöneberg
963e116968 chdtest.py: some cleanup and added support for createld 2013-06-18 10:42:55 +00:00
Oliver Stöneberg
e489dd16cf added unit tests for createhd with .raw input and tests for each HD compression (nw) 2013-06-18 00:42:31 +00:00
Oliver Stöneberg
1b2009d36f chdtest.py: added support for .raw input for createhd (nw) 2013-06-18 00:41:36 +00:00
Oliver Stöneberg
7ab7bc0f6c added unit tests for the CD-based compressions (nw) 2013-06-18 00:08:23 +00:00
Oliver Stöneberg
726d4a0c53 chdtest.py: added in.params support to all tests (nw) 2013-06-17 23:54:07 +00:00
smf-
e071b9a9ca switch jed files to binary as the checksum includes line endings (nw) 2013-06-11 11:30:00 +00:00
Oliver Stöneberg
3993a1cea3 jedtest: output the actual error message (nw) 2013-06-11 11:06:55 +00:00
smf-
592f59102c added missing file from commit (nw) 2013-06-10 23:34:34 +00:00
smf-
603f354635 Added support to jedutil for decoding 82S153, PLS153 & CK2605 [Kevin Eshbach, Charles MacDonald] 2013-06-10 19:33:46 +00:00
Oliver Stöneberg
cd384cbe54 added "copy" support to chdtest.py / added some v4 to v5 copy tests 2013-01-26 18:54:09 +00:00
Oliver Stöneberg
4b09e73c9f added "createhd" support to chdtest.py via in.params input file / added new chdman test 2013-01-10 14:27:42 +00:00
Oliver Stöneberg
dd7f664045 chdtest.py: corrected remaining runProcess() calls (nw) 2013-01-09 21:01:00 +00:00
Oliver Stöneberg
f62bbc548f chdtest.py: ignore hidden Unix folders / fixed subprocess.Popen() parameter (fixes execution on non-Windows platfors) (nw) 2013-01-09 20:11:38 +00:00
Oliver Stöneberg
e111fe61f3 fixed uninitialized memory in the last hunk on CHD creation (fixes potentially different filesize with each compiler not defaulting memory to 0x00 including Visual Studio) / added another chdman test (nw) 2013-01-09 19:12:21 +00:00
Oliver Stöneberg
4aa4f3d9ec added another chdman test (nw) 2013-01-09 05:50:36 +00:00
Oliver Stöneberg
035a7fe8e8 fixed filename set in NRG track parsing / added NRG test to chdman unit test (nw) 2013-01-05 19:25:13 +00:00
Oliver Stöneberg
a77655df86 recreated all files for the chdman unittest / added test for TOC input (nw) 2013-01-05 18:29:53 +00:00
Oliver Stöneberg
585ecc7c2e first version of chdman unit test / fixed dependies of tests target (nw) 2013-01-05 16:17:42 +00:00
Oliver Stöneberg
e18a790e69 added a "tests" target to the makefile / added chdman unittest placeholders (nw) 2013-01-05 14:20:15 +00:00
Scott Stone
ebc6b1857c Added the ability to view peel18cv8 jed files to the jedutil. [Kevin Eshbach) 2012-12-04 04:37:49 +00:00
Miodrag Milanovic
298c3db17b consistency fix (nw) 2012-11-08 08:43:47 +00:00
Miodrag Milanovic
0b83cd99a1 Fix regtest, now all is executed fine (no whatsnew) 2012-11-08 08:37:12 +00:00
Miodrag Milanovic
5833836d50 Converted jedtest script to Python [Andrew Gardner] 2012-11-08 08:14:32 +00:00
Miodrag Milanovic
c8658c8379 Refactored the code in jedutil to support the viewing of a GAL16V8 device
and added a new command line option of "-viewlist" which will print out a list 
of all the devices that can be viewed in human readable logic equations.  
Also updated the jedutil regression test to support passing in an additional argument of "debug" to print out a detailed log.  Also moved the jedutil regression test
 data into separate directories composed of the device's name to make things
 more organized. [Kevin Eshbach]
2012-10-10 10:33:40 +00:00
Scott Stone
ec94908b35 Numerous jedutil tool improvements. [Kevin Eshbach]
Made some modifications to the jedutil tool to allow the viewing of simple combinatorial jeds (adding support for registered and gals in the future) by taking a jed file and printing out human-readable equations.  Changed the command line options of the jedutil tool to know take an initial argument to specify what the tool should do.

For example to convert a jed to bin the command is now:
jedutil –convert <source.jed> <dest.bin>
jedutil –convert <source.bin> <dest.jed>

To view a jed file with human-readable equations the command is
jedutil –view <source.jed> <pal type>

Added a simple regression test for the tool that just verifies that the currently known pals have the row and column fuse location mapped correctly and at the moment this tool runs under windows only.
Under the directory src/regtests/jedutil there is a Windows Script File with the name jedtest.wsf that if run from the command line with the command “cscript jedtest.wsf” will verify that a dump of the jeds in src/regtests/jedutil/jeds matches the good dumps in src/regtests/jedutil/baseline.  Reference jed files created using the tool eqn2jed which is included with Opal Jr and these files are in src/regtests/jedutil/eqns.
2012-09-05 22:44:28 +00:00