Skip to content

Commit

Permalink
Added tests for formatting DOS3.3 and ProDOS .dsk/.nib images (for bo…
Browse files Browse the repository at this point in the history
…th authentic/enhanced modes)
  • Loading branch information
tomcw committed Jan 16, 2018
1 parent 476236b commit 414947b
Show file tree
Hide file tree
Showing 15 changed files with 18,361 additions and 0 deletions.
17 changes: 17 additions & 0 deletions test index.txt
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,23 @@ SSC-TCP-IN#2.aws.yaml

=================================================

DiskFormat:
-----------
ProDOS_format_auth_dsk.aws.yaml
ProDOS_format_auth_nib.aws.yaml
ProDOS_format_enh_dsk.aws.yaml
ProDOS_format_enh_nib.aws.yaml
DOS3.3_init_auth_dsk.aws.yaml
DOS3.3_init_auth_nib.aws.yaml
DOS3.3_init_enh_dsk.aws.yaml
DOS3.3_init_enh_nib.aws.yaml
. GH#125, GH-PR#507: test:
- .dsk / .nib images
- ProDOS format / DOS 3.3 init
- authentic / enhanced disk access speed

=================================================

v1: Info about each test:
-------------------------

Expand Down
2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/DOS3.3_init_auth_dsk.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/DOS3.3_init_auth_nib.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/DOS3.3_init_enh_dsk.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/DOS3.3_init_enh_nib.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/ProDOS_format_auth_dsk.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/ProDOS_format_auth_nib.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/ProDOS_format_enh_dsk.aws.yaml

Large diffs are not rendered by default.

2,290 changes: 2,290 additions & 0 deletions v2/DiskFormat/ProDOS_format_enh_nib.aws.yaml

Large diffs are not rendered by default.

Binary file added v2/DiskFormat/dos3.3_slave.dsk
Binary file not shown.
Binary file added v2/DiskFormat/prodos_utility.dsk
Binary file not shown.
23 changes: 23 additions & 0 deletions v2/DiskFormat/test.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
@IF "%~1" == "" GOTO help

copy /y %~dp0\zero.dsk %~dp0\test0.dsk
copy /y %~dp0\zero.nib %~dp0\test0.nib
%1\applewin -log -load-state %~dp0\ProDOS_format_auth_dsk.aws.yaml
%1\applewin -log -load-state %~dp0\ProDOS_format_auth_nib.aws.yaml
%1\applewin -log -load-state %~dp0\ProDOS_format_enh_dsk.aws.yaml
%1\applewin -log -load-state %~dp0\ProDOS_format_enh_nib.aws.yaml
copy /y %~dp0\zero.dsk %~dp0\test0.dsk
copy /y %~dp0\zero.nib %~dp0\test0.nib
%1\applewin -log -load-state %~dp0\DOS3.3_init_auth_dsk.aws.yaml
%1\applewin -log -load-state %~dp0\DOS3.3_init_auth_nib.aws.yaml
%1\applewin -log -load-state %~dp0\DOS3.3_init_enh_dsk.aws.yaml
%1\applewin -log -load-state %~dp0\DOS3.3_init_enh_nib.aws.yaml
del %~dp0\test0.dsk
del %~dp0\test0.nib
@ECHO Done v2 Disk Format tests
@GOTO end

:help
@ECHO %0 "<path to AppleWin under test>"

:end
Empty file added v2/DiskFormat/zero.dsk
Empty file.
Empty file added v2/DiskFormat/zero.nib
Empty file.
1 change: 1 addition & 0 deletions v2/test.bat
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
%1\applewin -log -load-state "%~dp0\Gemstone Warrior.aws.yaml"
%1\applewin -log -load-state %~dp0\NoSlotClockTest.aws.yaml
%1\applewin -log -load-state "%~dp0\SSC-TCP-IN#2.aws.yaml"
CALL v2\DiskFormat\test.bat %~1
@ECHO Done v2 tests
@GOTO end

Expand Down

0 comments on commit 414947b

Please sign in to comment.