--- title: "EEPROM Loader" id: 77394 type: "computer_media" slug: "eeprom-loader" url: "http://localhost/computer_media/eeprom-loader/" markdown_url: "http://localhost/computer_media/eeprom-loader.md" published_at: "2026-11-15T18:38:59+00:00" modified_at: "2026-11-15T18:38:59+00:00" author: "David Anderson" featured_image: url: "http://localhost/wp-content/uploads/2026/11/eeprom-loader-1.png" excerpt: "Copies a block of RAM into the home-built 8K EEPROM board; as printed the loop uses unset variables D and P." post_tag: - 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/" indiv: - name: "John Roach" slug: "john-roach" taxonomy: "indiv" url: "http://localhost/indiv/john-roach/" genre: - name: "EPROM" slug: "eprom" taxonomy: "genre" url: "http://localhost/type/eprom/" media_type: "Program" programmers: - name: "John Roach" slug: "john-roach" taxonomy: "indiv" url: "http://localhost/indiv/john-roach/" mediadate: "1984" images: - url: "http://localhost/wp-content/uploads/2026/11/eeprom-loader-1.png" article_media: - id: 42020 title: "8K EEPROM Board" type: "article" url: "http://localhost/article/8k-eeprom-board/" media_type_tags: "EPROM" license: false --- # EEPROM Loader The loader program for John Roach’s 8K EEPROM board, a home-built card that puts a Seeq 8K x 8 EEPROM in the empty 8K-16K area of the ZX81 memory map. It copies N+1 bytes from RAM starting at S into the EEPROM starting at E, first writing 255 into any byte that is not already all ones (the chip can only be written over 255) and pausing for the 1 ms write pulse. It needs the EEPROM board described in the article; the construction part was promised for the next issue. As printed, the listing has two lines numbered 80 and the loop uses D and P where S and E are set, so it stops with report 2/80. Published in Sinc-Link November 1984 ([8K EEPROM Board](https://timexsinclair.com/article/8k-eeprom-board/)). ## Source Code ``` 10 REM ** EEPROM LOADER ** 20 REM S= STARTING ADDR. OF 30 REM DATA IN RAM. 40 REM N= NUMBER OF BYTES -1. 50 REM E= EEPROM START ADDRS. 60 LET S= 16436 70 LET N= 2047 80 FOR I= D TO D+N 90 IF PEEK (E) = 255 THEN GOTO 130 100 POKE P, 255 110 FOR J= 1 TO 2 120 NEXT J 130 POKE P, PEEK (I) 140 NEXT I 150 PRINT "I'M LOADED, EH!" 160 STOP ```