<x-html>
<html>
Someone's been busy! <br><br>
You don't need the line INCLUDE Z80.POD until we figure out the Z80QT, as
that activates the features as far as I know...Add a <br><br>
!DATE LAST MODIFIED <br><br>
at the top, you loose sight of which edits work otherwise, the switch
test in the GALAGA script works fine by the way, clip and edit it...plus
you need to create some error message routines. The examples, again in
Galaga.s work as a good template.<br><br>
I was going to get a student to type in the Guided Fault programs in the
next week or two...That is also a template for building programs. Does
everyone know what I am talking about or do I need to scan in another
book? The title is:<br><br>
<b>Application Information B0138 How to Use the 9010A for Guided Fault
Isolation.<br><br>
</b>I suspect it needs to be scanned in...20 pages. Unfortunately my text
recognition software (ISIS) can't figure out the Dot Matrix type that was
used for the program listing...<br><br>
John:-#)#<br><br>
At 08:14 AM 28/02/2002 -0500, Kev wrote:<br><br>
<blockquote type=cite class=cite cite>I wanted to see if the group is
interested in developing a "standard"<br>
program design for the 9010A.<br><br>
Attached is a layout, that is a kluge of features I liked in Asteroids
&<br>
Galaga test programs and the beginings of a Donkey Kong Jr test
program.<br><br>
It will not run but it may be helpful as a consistent starting point
for<br>
programs we write.<br><br>
Any & all suggestions/comments appreciated.<br><br>
Kev<br><br>
! *GAMENAME Test Routine<br>
! Use in CPU Z80 processor socket<br><br>
INCLUDE "Z80.POD"<br><br>
SETUP<br><br>
TRAP ACTIVE FORCE LINE NO<br>
TRAP ACTIVE INTERRUPT NO<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
! MAIN LOOP ROUTINE<br><br>
! Proposed standard<br>
! 1 = RAM Test<br>
! 2 = ROM Test<br>
! 3 = SND Test<br>
! 4 = I/O Test<br>
! 5 = DIP Test<br>
! 6 = PROBE Test<br>
! 0 = Run UUT<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM 0<br>
DPY-*GAMENAME TST<br>
DPY-+-PRESS CONT<br>
STOP<br><br>
MAINLOOP:<br>
DPY-MNU 1=RAM 2=ROM 3=SND 4=IO 5=DIP<br>
IF REG1 = 1 GOTO 1<br>
IF REG1 = 2 GOTO 2<br>
IF REG1 = 3 GOTO 3<br>
IF REG1 = 4 GOTO 4<br>
IF REG1 = 5 GOTO 5<br>
IF REG1 = 6 GOTO 6<br>
IF REG1 = 0 GOTO A<br>
GOTO MAINLOOP<br><br>
<br><br>
1: LABEL 1<br>
EXECUTE PROGRAM TSTRAM<br>
GOTO MAINLOOP<br>
2: LABEL 2<br>
EXECUTE PROGRAM TSTROM<br>
GOTO MAINLOOP<br>
3: LABEL 3<br>
EXECUTE PROGRAM TSTSND<br>
GOTO MAINLOOP<br>
4: LABEL 4<br>
EXECUTE PROGRAM TSTIO<br>
GOTO MAINLOOP<br>
5: LABEL 5<br>
EXECUTE PROGRAM TSTDIP<br>
GOTO MAINLOOP<br>
6: LABEL 6<br>
EXECUTE PROGRAM TSTPRB<br>
GOTO MAINLOOP<br><br>
A: LABEL A<br>
EXECUTE PROGRAM TSTRUN<br>
GOTO MAINLOOP<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!RAM TEST<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTRAM<br>
DPY-TESTING PGM RAM R3 M3#<br>
RAM SHORT @ 4000-43FF<br>
DPY-+-PRESS CONT#<br>
STOP<br><br>
<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!ROM TEST<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTROM<br><br>
0: LABEL 0<br>
DPY-ROM VERSION 1 OR 2 ? /1<br>
IF REG1 = 1 GOTO 1<br>
IF REG1 = 2 GOTO 2<br>
GOTO 0<br>
2: LABEL 2<br>
DPY-TESTING ROM F1<br>
ROM TEST @ 6800-6FFF SIG 53C9<br>
DPY-TESTING ROM D E1<br>
ROM TEST @ 7000-77FF SIG 3D7A<br>
DPY-TESTING ROM C1<br>
ROM TEST @ 7800-7FFF SIG 232F<br>
DPY-TESTING VECTOR ROM NP3<br>
ROM TEST @ 5000-57FF SIG CBED<br>
GOTO F<br>
1: LABEL 1<br>
F: LABEL F<br>
DPY-ROM TEST COMPLETE<br>
STOP<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!SND TEST<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTSND<br><br>
REG1 = 40<br>
DPY-Rivet SND. CONT=NEXT<br>
DPY-+ SND%1#<br>
0: LABEL 0<br>
WRITE @7C00 = 05<br>
IF REG1 = 25 GOTO 1<br>
GOTO 0<br>
1: LABEL 1<br>
REG1 = 40<br>
DPY-Springs SND. CONT=NEXT SND%1#<br>
2: LABEL 2<br>
WRITE @ 7C00 = 0A<br>
IF REG1 = 25 GOTO 3<br>
GOTO 2<br>
3: LABEL 3<br>
REG1 = 40<br>
DPY-JUMP SND. CONT=NEXT<br>
DPY-+ SND%1#<br>
4: LABEL 4<br>
WRITE @ 7D01 = FF<br>
IF REG1 = 25 GOTO 5<br>
GOTO 4<br>
5: LABEL 5<br>
REG1 = 40<br>
DPY-STOMP SND.CONT=NEXT<br>
DPY-+ SND%1#<br>
6: LABEL 6<br>
WRITE @ 7D02 = FF<br>
IF REG1 = 25 GOTO 7<br>
GOTO 6<br>
7: LABEL 7<br>
REG1 = 40<br>
DPY-COIN SND. CONT=<br>
DPY-+NEXT SND%1#<br>
8: LABEL 8<br>
WRITE @ 7D03 = FF<br>
IF REG1 = 25 GOTO 9<br>
GOTO 8<br>
9: LABEL 9<br>
REG1 = 40<br>
DPY-PRIZE SND. CONT=NEXT<br>
DPY-+ SND%1#<br>
A: LABEL A<br>
WRITE @ 7D05 = FF<br>
IF REG1 = 25 GOTO B<br>
GOTO A<br>
B: LABEL B<br>
REG1 = 40<br>
DPY-DEAD SND. CONT=NEXT SND%1#<br>
C: LABEL C<br>
WRITE @ 7D80 = FF<br>
IF REG1 = 25 GOTO F<br>
GOTO C<br>
F: LABEL F<br>
REG1 = 40<br>
DPY-SND TESTS COMPLETE. PRESS<br>
DPY-+ CONT%1#<br>
STOP<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!I/O TEST<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTIO<br>
STOP<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!DIP SWITCH TEST<br>
!<br>
! For the DIP Test I was imagining a All on & All off test<br>
! Perhaps a on/off/on/off/on/off/on/off then reverse test would be
better?<br>
!<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTDIP<br>
STOP<br><br>
<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!PROBE TEST<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTPRB<br><br>
SYNC ADDRESS<br>
DPY-PLACE PROBE ON POINTS<br>
DPY-+ SHOWN.#<br>
STOP<br>
DPY-FLIP 5J-6.#<br>
STOP<br>
REGB = 1<br>
REG9 = 7D82<br>
REGB = 40<br>
EXECUTE PROGRAM 65<br>
STOP<br><br>
PROGRAM 65 116 BYTES<br><br>
READ PROBE<br>
REG1 = REGB<br>
1: LABEL 1<br>
IF REG8 = 0 GOTO 2<br>
READ @ REG9<br>
GOTO 3<br>
2: LABEL 2<br>
WRITE @ REG9 = REGA<br>
3: LABEL 3<br>
DEC REG1<br>
IF REG1 > 0 GOTO 1<br>
READ PROBE<br>
REG0 = REG0 AND 7F<br>
IF REG0 = REGB GOTO 4<br>
DPY-+CNT BAD.<br>
GOTO 5<br>
4: LABEL 4<br>
DPY-+ OK.<br>
5: LABEL 5<br>
DPY-+COUNT @0=@B#<br>
STOP<br><br>
<br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br>
!RUN UUT TEST<br><br>
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br>
!<br><br>
PROGRAM TSTRUN<br><br>
DPY-RUNNING BOARD<br>
RUN UUT<br>
STOP</blockquote></html>
</x-html>
Received on Thu Feb 28 09:14:07 2002
This archive was generated by hypermail 2.1.8 : Tue Dec 02 2003 - 18:40:40 EST