add version : 2.6

This commit is contained in:
Oliver Lehmann 1990-02-09 05:15:51 +00:00
parent 73b6c807d9
commit 2c60b14c80
2 changed files with 14 additions and 16 deletions

View File

@ -3,9 +3,9 @@
pburn - programmer (c) zft/keaw abt.: basissoftware wae pburn - programmer (c) zft/keaw abt.: basissoftware wae
wega p8000/16-bit-teil wega p8000/16-bit-teil
version : 2.3 version : 2.6
(prom programmer) (prom programmer)
datum : 20.11.1989 datum : 09.02.1990
bearbeiter: r. kuehle bearbeiter: r. kuehle
@ -47,7 +47,7 @@
#define dia1 "\n\n\t\t pburn - prom programmer board" #define dia1 "\n\n\t\t pburn - prom programmer board"
#define cpr "\t\t (c) zft/keaw version 2.3\n" #define cpr "\t\t (c) zft/keaw version 2.6\n"
#define dia2 "\t\t ===============================\n\n" #define dia2 "\t\t ===============================\n\n"
#define dia3 "menue:\n\tp - program\n\tl - list\n\tt - crc\n\tb - bytemode" #define dia3 "menue:\n\tp - program\n\tl - list\n\tt - crc\n\tb - bytemode"
#define dia4 "\n\tf - file\n\tc - copy" #define dia4 "\n\tf - file\n\tc - copy"

View File

@ -8,13 +8,11 @@
#define EOF "\n\n*** end of file\n" #define EOF "\n\n*** end of file\n"
#define re1 "\n\nread source promtyp" #define re1 "\n\nread source prom"
#define cte "\n\nchange to destination promtyp" #define cte "\n\nchange to destination prom"
#define rtr "\nready to read?" #define rtr "\nready to read?"
#define rtc "\nready to copy?" #define rtc "\nready to copy?"
#define rtv "\nready to verify?" #define rtv "\nready to verify?"
#define des "destination "
#define sou "source "
#define npr "change to next prom?" #define npr "change to next prom?"
#define npl "change to next prom low_address?" #define npl "change to next prom low_address?"
#define nph "change to next prom high_address?" #define nph "change to next prom high_address?"
@ -35,7 +33,7 @@ extern long begadre1, begadre2, lange1, lange2, begadrf;
program() program()
{ {
do { do {printf ("\n%s",sou); do { do {printf ("\n");
outoptf(); /*ausgabe filename [options]:*/ outoptf(); /*ausgabe filename [options]:*/
inoptf(); /*eingabe filename [options]*/ inoptf(); /*eingabe filename [options]*/
if (qflag==true) return; if (qflag==true) return;
@ -43,8 +41,7 @@ program()
openfile(); openfile();
}while (errflag==true); }while (errflag==true);
do do
{printf ("%s",des); { /*ausgabe eprom [options]*/
/*ausgabe eprom [options]*/
if (board=='1') outopte(); if (board=='1') outopte();
else outopte1(); else outopte1();
inopte(); /*eingabe eprom [options]*/ inopte(); /*eingabe eprom [options]*/
@ -79,7 +76,7 @@ list_crc()
{ {
bre='s'; bre='s';
do do
{printf ("\n%s",sou); {printf ("\n");
outopte(); outopte();
inopte(); inopte();
if (qflag==true) return; if (qflag==true) return;
@ -117,6 +114,7 @@ list_crc()
file() file()
{ {
bre='s';
do do
{ {
if (next==true) {switch (bre) if (next==true) {switch (bre)
@ -129,14 +127,14 @@ file()
if (cmdbuf[0] != 'y' || cmdbuf[1] != '\0') {qflag=true; if (cmdbuf[0] != 'y' || cmdbuf[1] != '\0') {qflag=true;
return;}} return;}}
do do
{printf ("\n%s",sou); {printf ("\n");
outopte(); outopte();
inopte(); inopte();
if (qflag==true) return; if (qflag==true) return;
}while (errflag==true); }while (errflag==true);
if (next==false) { if (next==false) {
do do
{printf ("%s",des); {
outoptf(); outoptf();
inoptf(); inoptf();
if (qflag==true) return; if (qflag==true) return;
@ -169,7 +167,7 @@ bytemode()
{ {
bre='s'; bre='s';
do do
{printf ("\n%s",sou); {printf ("\n");
if (board=='1') outopte(); if (board=='1') outopte();
else outopte1(); else outopte1();
inopte(); inopte();
@ -193,7 +191,7 @@ long c;
bre='s'; bre='s';
do do
{printf ("\n%s",sou); {printf ("\n");
outopte(); outopte();
inopte(); inopte();
if (qflag==true) return; if (qflag==true) return;
@ -203,7 +201,7 @@ long c;
begadre2=begadre1; begadre2=begadre1;
for (c=0;c<20;c++) namee2[c]=namee1[c]; for (c=0;c<20;c++) namee2[c]=namee1[c];
do do
{printf ("%s",des); {
if (board=='1') outopte(); if (board=='1') outopte();
else outopte1(); else outopte1();
inopte(); inopte();