mirror of https://github.com/wwarthen/RomWBW.git
9 changed files with 1423 additions and 5 deletions
@ -1,5 +1,5 @@ |
|||||
OBJECTS = |
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 |
DEST = ../../../Binary/Apps/Test |
||||
TOOLS =../../../Tools |
TOOLS =../../../Tools |
||||
|
|
||||
|
|||||
@ -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 |
||||
@ -0,0 +1,6 @@ |
|||||
|
@echo off |
||||
|
setlocal |
||||
|
|
||||
|
if exist *.com del *.com |
||||
|
if exist *.lst del *.lst |
||||
|
if exist *.bin del *.bin |
||||
@ -0,0 +1,7 @@ |
|||||
|
OBJECTS = piomon.com |
||||
|
DEST = ../../../../Binary/Apps/Test |
||||
|
TOOLS =../../../../Tools |
||||
|
|
||||
|
USETASM=1 |
||||
|
|
||||
|
include $(TOOLS)/Makefile.inc |
||||
@ -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 |
||||
File diff suppressed because it is too large
@ -1,4 +0,0 @@ |
|||||
[ViewState] |
|
||||
Mode= |
|
||||
Vid= |
|
||||
FolderType=Generic |
|
||||
Loading…
Reference in new issue