Browse Source

Add PIOMON

pull/283/head
Wayne Warthen 4 years ago
parent
commit
97bc3ba3b5
  1. 1
      Source/Apps/Test/Build.cmd
  2. 1
      Source/Apps/Test/Clean.cmd
  3. 2
      Source/Apps/Test/Makefile
  4. 10
      Source/Apps/Test/piomon/Build.cmd
  5. 6
      Source/Apps/Test/piomon/Clean.cmd
  6. 7
      Source/Apps/Test/piomon/Makefile
  7. 36
      Source/Apps/Test/piomon/Readme.txt
  8. 1361
      Source/Apps/Test/piomon/piomon.asm
  9. 4
      desktop.ini

1
Source/Apps/Test/Build.cmd

@ -21,6 +21,7 @@ pushd vdctest && call Build || exit /b & popd
pushd kbdtest && call Build || exit /b & popd
pushd ps2info && call Build || exit /b & popd
pushd 2piotst && call Build || exit /b & popd
pushd piomon && call Build || exit /b & popd
goto :eof

1
Source/Apps/Test/Clean.cmd

@ -18,3 +18,4 @@ pushd vdctest && call Clean || exit /b 1 & popd
pushd kbdtest && call Clean || exit /b 1 & popd
pushd ps2info && call Clean || exit /b 1 & popd
pushd 2piotst && call Clean || exit /b 1 & popd
pushd piomon && call Clean || exit /b 1 & popd

2
Source/Apps/Test/Makefile

@ -1,5 +1,5 @@
OBJECTS =
SUBDIRS = DMAmon I2C inttest ppidetst ramtest tstdskng rzsz vdctest kbdtest ps2info 2piotst
SUBDIRS = DMAmon I2C inttest ppidetst ramtest tstdskng rzsz vdctest kbdtest ps2info 2piotst piomon
DEST = ../../../Binary/Apps/Test
TOOLS =../../../Tools

10
Source/Apps/Test/piomon/Build.cmd

@ -0,0 +1,10 @@
@echo off
setlocal
set TOOLS=../../../../Tools
set PATH=%TOOLS%\tasm32;%PATH%
set TASMTABS=%TOOLS%\tasm32
tasm -t180 -g3 -fFF piomon.asm piomon.com piomon.lst || exit /b
copy /Y piomon.com ..\..\..\..\Binary\Apps\Test\ || exit /b

6
Source/Apps/Test/piomon/Clean.cmd

@ -0,0 +1,6 @@
@echo off
setlocal
if exist *.com del *.com
if exist *.lst del *.lst
if exist *.bin del *.bin

7
Source/Apps/Test/piomon/Makefile

@ -0,0 +1,7 @@
OBJECTS = piomon.com
DEST = ../../../../Binary/Apps/Test
TOOLS =../../../../Tools
USETASM=1
include $(TOOLS)/Makefile.inc

36
Source/Apps/Test/piomon/Readme.txt

@ -0,0 +1,36 @@
PIOMON is a program to verify operation of the Z80 MBC DUALPIO board
Most testing requires the use of loopback hardware constructed as:
Channel A RDY STB D0 D1 D2 D3 D4 D5 D6 D7
\ / | | | | | | | |
\ / | | | | | | | |
X | | | | | | | |
/ \ | | | | | | | |
/ \ | | | | | | | |
Channel B RDY STB D0 D1 D2 D3 D4 D5 D6 D7
The DUALPIO has, well, 2 PIO chips. Only one chip
is tested at a time. At startup, PIOMON will ask
you for the port of the chip to test. It defaults
to the standard port number for the primary PIO chip
on an MBC DUALPIO board.
The port number specified is the base I/O port. Each
chip has two channels which are addressed in the
menu by specifying A or B.
MBC DUALPIO Primary PIO = 0xB8
MBC DUALPIO Secondary PIO = 0xBC
If you try to use PIOMON without the RDY and STB
cross connected, you may have interrupt issues
because STB will be floating.
N.B., V1 and V2 of the DUALPIO lack a hardware reset. The
PIO chips will reset at power-on, but they do not reset
when the reset button is pushed.
Happy St. Patrick's Day!!!
--WBW 7:42 PM 3/17/2022

1361
Source/Apps/Test/piomon/piomon.asm

File diff suppressed because it is too large

4
desktop.ini

@ -1,4 +0,0 @@
[ViewState]
Mode=
Vid=
FolderType=Generic
Loading…
Cancel
Save