                                E2proM1
                                =======
Version: 1.0 - Feb/25/2013

Author: TK90X Fan (reikainosuke-tk@yahoo.com.br, cantinhotk90x.blogspot.com)

Short description:
    E2proM1 performs E2PROM (EEPROM) programming using Multiface 1 interface.     

License: 

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Instructions:

Before using E2proM1 program, remove the RAM inside Multiface 1 and put in its 
place a 28C64 or equivalent E2PROM. If RAM was placed in a IC socket, simply 
pull out it with care; if not, a careful desoldering must be carried out, 
followed by insertion and soldering of a suitable socket. There are two possible
ways to insert dual-inline package IC into a socket, take care to avoid wrong 
insertion of memory chip or it will be rapidly destroyed. 

After E2PROM being correctly installed, turn on the computer and run E2proM1. 
Some screens with instructions will be displayed; it is advisable to read them. 
Eventually a cursor will appear, asking for the name of file containing binary 
data to be written to E2PROM. Wait until reading from tape or disk is finished. 

During E2PROM writing, it will be shown the address currently being written/
verified and the value that has been sent to E2PROM. If writing fails, the 
program will be aborted. 

Supposing that all 8192 bytes were correctly written, the program stop. Turn off 
the computer and take back your programmed E2PROM. The  RAM of M1 may be put in 
its place again to ensure proper operation of your interface. That is all. 

All of above procedures requires some skill and knowledge. Moreover, the 
probability of your hardware being damaged cannot be taken lightly. Thus, 
E2proM1 is really NOT RECOMMENDED for novice users. You have been warned. 

Modifying E2proM1:

After line 9500 of BASIC listing there are some POKEs to modify machine code 
behavior. The one that alters I/O port for memory paging is very important; in 
some models of Multiface port has to be 191 instead 159. Please read your 
interface manual to check this. 

The other POKEs refer to the maximum number of read attempts to check if a byte 
was correctly programmed. The default value is safe and there is no need to 
change it. 

The full assembly source code is provided with this software. You can modify it 
to fulfill your needs. 

About the name: 

E2proM1 is abbreviation of 'E2PROM programmer for Multiface 1'. Anyway, this does not matter. 
