--- title: "EEPROM Byte Copier" id: 77390 type: "computer_media" slug: "eeprom-byte-copier" url: "http://localhost/computer_media/eeprom-byte-copier/" markdown_url: "http://localhost/computer_media/eeprom-byte-copier.md" published_at: "2026-11-15T18:38:39+00:00" modified_at: "2026-11-15T18:38:39+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/eeprom-byte-copier-1.png" excerpt: "Copy a block of memory into the ZX81 EPROM board's EEPROM byte by byte, erasing, writing and verifying each byte." post_tag: - name: "Downloadable" slug: "downloadable" taxonomy: "post_tag" url: "http://localhost/tag/downloadable/" - name: "LKDOS" slug: "lkdos" taxonomy: "post_tag" url: "http://localhost/tag/lkdos/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "ZX81" slug: "zx81" taxonomy: "post_tag" url: "http://localhost/tag/zx81/" model: - name: "Sinclair ZX81" slug: "zx81" taxonomy: "model" url: "http://localhost/model/zx81/" - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" genre: - name: "EPROM" slug: "eprom" taxonomy: "genre" url: "http://localhost/type/eprom/" media_type: "Program" download_url: "https://archive.org/download/timex-sinclair-software-archive/EEPROM%20Byte%20Copier%20%281988%29%28-%29%28TS1000%29%28Program%29.zip" mediadate: "1988" images: - url: "http://localhost/wp-content/uploads/2026/11/eeprom-byte-copier-1.png" article_media: - id: 42159 title: "ZX81 EPROM Board" type: "article" url: "http://localhost/article/zx81-eprom-board-2/" media_type_tags: "EPROM" license: false --- # EEPROM Byte Copier Copies a block of memory into the EEPROM on the Sinc-Link ZX81 EPROM board, one byte at a time. Give it the first and last addresses to copy and the first EEPROM address; for each byte it erases the cell (POKE 255 and waits until it reads back 255), writes the byte, pauses, and prints the address, the byte written and the byte read back, so you can see that it verified. Lines 500-540 (GOTO 500) compare 2K at 14336 with 8192 and print the offset of every byte that differs. Lines 400-420 save the program to disk with the Larken ZX81 disk system (RAND USR 14336, SAVE “EPMLD.B1”): they need the Larken ROM; the rest runs on a stock ZX81. No author is printed; this is Listing 1 (EPMLD.B1) of the second part of the EPROM board article, continued from the January-February 1988 issue. Published in Sinc-Link May-June 1988 ([ZX81 EPROM Board](https://timexsinclair.com/article/zx81-eprom-board-2/)). ## Source Code ``` 10 SLOW 20 LET E=0 30 PRINT "FIRST BYTE LOCATION TO COPY" 40 INPUT B 50 PRINT B 60 PRINT "LAST BYTE LOCATION TO COPY" 70 INPUT C 80 PRINT C 90 PRINT "ENTER FIRST EEPROM BYTE LOCATION" 100 INPUT A 110 PRINT A 120 LET D=PEEK B 130 REM ERASE BYTE 140 POKE A,255 150 PAUSE 2 160 IF NOT PEEK A=255 THEN GOTO 140 170 REM WRITE 180 POKE A,D 190 PAUSE 1 200 SCROLL 210 REM VERIFY 220 PRINT A;",";D;TAB 16;PEEK A 230 REM NEXT ADDRESS 240 IF E=C-B THEN GOTO 300 250 LET A=A+1 260 LET B=B+1 270 GOTO 120 300 SCROLL 310 PRINT "END OF COPY" 320 STOP 400 RAND USR 14336 410 REM SAVE"EPMLD.B1" 420 RUN 500 FAST 510 FOR N=1 TO 2048 520 IF PEEK (14335+N)<>PEEK (8191+N) THEN PRINT N 530 NEXT N 540 PRINT "END" ```