1
0
mirror of https://github.com/fadden/6502bench.git synced 2024-11-19 06:31:02 +00:00
6502bench/SourceGen/SGTestData/FunkyProjects
2018-09-28 10:05:11 -07:00
..
README.md Initial file commit 2018-09-28 10:05:11 -07:00
Simple Initial file commit 2018-09-28 10:05:11 -07:00
Simple-BadCRC.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-BadDescLen.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-BadHint.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-BadJSON.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-BadLen.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-BadMagic.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-DupLabel.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-FutureVersion.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-MissingPlatSym.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple-TooShort.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple.dis65 Initial file commit 2018-09-28 10:05:11 -07:00
Simple.S Initial file commit 2018-09-28 10:05:11 -07:00
ZeroLengthFile Initial file commit 2018-09-28 10:05:11 -07:00

Funky SourceGen Projects

This is a collection of project files that aren't quite right. Some of them will load with warnings, others will fail at different points. They can be used to manually exercise the various project-load failure modes.

Normally project files use the name of the data file, with ".dis65" added. All of the projects use the same data file ("Simple"), so it will be necessary to specify the data file manually for most of them (you will be prompted to do so).

The files are:

  • Simple.dis65 : A trivial but correct project.

  • Simple-BadCRC.dis65 : The data file CRC stored in the project file does not match the data file contents. The program should tell you this and offer to let you locate the correct file.

  • Simple-BadDescLen.dis65 : An operand format descriptor covers a range off the end of the file. THe program should tell you that it's discarding the bad format and continuing.

  • Simple-BadHint.dis65 : A hint claims to cover a range outside the file bounds. The program should tell you that it's discarding the bad hint and continuing.

  • Simple-BadJSON.dis65 : Garbage has been inserted into the JSON data stream. The project load should fail with an appropriate message.

  • Simple-BadLen.dis65 : The data file length stored in the project file does not match the data file contents. The program should tell you this and offer to let you locate the correct file.

  • Simple-BadMagic.dis65 : The "magic number" at the start of the project file has been damaged. The project load should fail with an appropriate message.

  • Simple-DupLabel.dis65 : More than one line has the same label. You should be warned that the duplicates are being stripped away.

  • Simple-FutureVersion.dis65 : The project has a content-version higher than the application. You should see a warning to that effect.

  • Simple-MissingPlatSym.dis65 : One of the platform symbol files listed in the project file does not exist. You should be notified of the problem and loading should continue. (Furthermore, if you look in the project settings, the missing project file should still be present.)

  • Simple-TooShort.dis65 : Same as Simple-BadMagic, but tests to see if we choke when the file is shorter than the magic string.

  • ZeroLengthFile : This is intended for use with "new project". The application should refuse to create a new project for a zero-length file.