<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>
Date   : Fri, 04 Nov 2005 10:17:39 +0000
From   : jgh@... (Jonathan Graham Harston)
Subject: Re: Possible EPROM???

Peter Craven <cjl_craves@...> wrote:
> Anyway, I still do not understand how to fit that much
> data on to my Master to get it to burn an EPROM. Or do
> you guys mean you are using an EPROM programmer on a
> PC
 
With my Morley EPROM programmer you transfer data in 16K chunks:
 
Select 27256 EPROM
Select lower 16K
Load 16K of data
Program 16K of data
Select upper 16K
Load 16K of data
Program 16K of data
 
It requires that your 32K ROM image is split into two 16K parts.
This will do it:
 
DIM ctrl% 31,mem% 16383
X%=ctrl%:Y%=X%DIV256
INPUT "ROM image: "in$
in%=OPENIN(in$):IFin%=0:P."File '"in$"' not found":END
part%=ASC"A"
REPEAT
?X%=in%:X%!1=mem%:X%!5=&4000:A%=4:CALL&FFD1
OS."Save "+in$+CHR$part%+" "+STR$~mem%+"+4000"
part%=part%+1
UNTIL EOF#in%
CLOSE#in%
 
This will split the input file into 16K portions named as the
input file suffixed with A, B, C... etc.
 
I've been meaning to add an option to load 16K of data from a
larger file, but as I haven't been able to get my programmer to
work for some years I haven't got around to it.
 
-- 
J.G.Harston - jgh@...                - mdfs.net/User/JGH
There are three food groups: brown, green and ice cream.
<< Previous Message Main Index Next Message >>
<< Previous Message in Thread This Month Next Message in Thread >>