EEPROM Byte Poker

Date: 1988
Type: Program
Platform(s): ZX81, TS 1000
Tags: EPROM

Writes bytes you type, in decimal, into the EEPROM on the Sinc-Link ZX81 EPROM board, starting at the address you give. Each byte is erased (POKE 255 until it reads back 255), written and read back; the screen shows the address, the byte entered, the byte read back and a running count.

Lines 300-320 save the program to disk with the Larken ZX81 disk system (RAND USR 14336, SAVE “EPMLD.B2”) and need the Larken ROM; the rest runs on a stock ZX81. No author is printed; this is Listing 2 (EPMLD.B2) of the second part of the EPROM board article.

Published in Sinc-Link May-June 1988 (ZX81 EPROM Board).

Related Articles

Board layout, parts list and program listings. Continued from Sinc-Link v6 n1.

Image Gallery

Source Code

 10 SLOW
 20 LET E=1
 30 SCROLL
 40 PRINT "ENTER FIRST EEPROM BYTE LOCATION"
 50 INPUT A
 60 SCROLL
 70 PRINT A
 80 SCROLL
 90 PRINT "ENTER BYTE IN DECIMAL"
100 INPUT B
110 SCROLL
120 PRINT 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,B
190 PAUSE 1
200 SCROLL
210 REM VERIFY
220 SCROLL
230 PRINT A;",";B;TAB 11;PEEK A;TAB 15;E
240 REM NEXT ADDRESS
250 LET E=E+1
260 LET A=A+1
270 GOTO 80
300 RAND USR 14336
310 REM SAVE"EPMLD.B2"
320 RUN

Note: Type-in program listings on this website use ZMAKEBAS notation for graphics characters.