Micro­power

  

Volume 2 · Number 2 · April 1982

Page 18 of 37
704ADD A, (IY+3); ADD 4TH ENTRY
705LD L, A; PUT IN L REGISTER
706LD (STOR1), HL; SAVE THE ADDRESS
707RET; BACK TO ROUTINE
708; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
709; MESSAGES USED BY THE ROUTINES
710; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
711TEXT1DEFM /EPROM PROGRAMMER/
712TEXT1ADEFM /PRESS KEY 'A' FOR TYPE 2708 EPROM/
713TEXT1BDEFM "KEY 'B' FOR TYPES 2516/2716"
714TEXT2DEFM /PRESS P FOR ROUTINE TO PROGRAM EPROM/
715TEXT2ADEFM /C TO COMPARE EPROM WITH MEMORY/
716TEXT2BDEFM /T TO TRANSFER EPROM INTO MEMORY/
717TEXT2CDEFM /E TO CHECK EPROM IS FULLY ERASED
718TEXT2DDEFM /D TO DUMP EPROM TO PRINTER
719TEXT3DEFM /TURN OFF PROGRAMMERWHILE CHANGEING EPROM/
721TEXT4DEFM /PRESS C TO CONTINUE/
722TEXT5DEFM /ROM AND RAM DO NOT MATCH/
723TEXT6DEFM /ENTER START ADDR(HEX) OF/
724DEFM / 1K OR2K BLOCK TO BE /
725TEXT7DEFM /COPIED INTO EPROM/
726TEXT8DEFM /COMPARED TO EPROM/
727TEXT9DEFM /FILLED FROM EPROM/
728TEXT10DEFM /START ADDRESS ????/
729TEXT11DEFM /KEY -/
730TXT11ADEFM "IS THIS CORRECT?-Y/N"
731TEXT12DEFM /YOU MUST TYPE AN 'A' OR A 'B'/
732TXT13ADEFM /TYPE – 2708 /
733TXT13BDEFM "TYPE – 2516/2716"
734TEXT14DEFM /EPROM NOT FULLY ERASED/
735TEXT15DEFM /EPROM IS FULLY ERASED/
736TEXT16DEFM /COMPARISON OK. – NO ERRORS. /
737TXT17ADEFM "SAME EPROM – Y/N?"
738TEXT18DEFM /NORMAL R.O.M. START ADDR.(HEX) – ?/
739TEXT19DEFM /ROUTINE COMPLETED/
740TEXT20DEFM /CAUTION :ONLY ONE EPROM AT A TIME./
741TEXT21DEFM /OBSERVER THE EPROM HANDLING PRECAUTIONS/
742; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
743.DEPHASE
744; THIS DENOTES THE END OF A PROGRAM BLOCK IN
745; THE MACRO 80 ASSEMBLER
746; IT HAS NO EQUIVALENT IN ZEAP
747; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
748.PHASE 0D00H
749; THIS DENOTES THE START OF A NEW BLOCK
750; IT IS EQUIVALENT TO THE ORG PSEUDO-OP IN ZEAP
751; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
752; PROGRAM WORKSPACE AREA
753SCNFLGDEFS 1; JUMP BACK FLAG
754ERFLGDEFS 1; ERROR FOUND FLAG
755ROMFLGDEFS 1; 1K OR 2K ROM FLAG
756STOREDEFS 4; STORE FOR KEY ENTRIES
757STOR1DEFS 2; MEMORY START ADDRESS
758STORLNDEFS 20H; TEMPORARY MESSAGE STORE
759LINBUFDEFS 10H; BUFFER FOR PRINTER O/P
760.DEPHASE;
761; * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
Page 18 of 37