 This  program  was  designed to allow 

 BASIC and MACHINE CODE programs to be 

 placed into EPROM. Before the program 

 is run, certain rules and  conditions 

 have to be met. 

  

 Only 8k and 16k EPROMS can be used. 

  

 Up  to  16 files can be placed in one 

 EPROM (space permitting). 

  

 When files are placed into EPROM they 

 keep  the  same  filename,  load  and 

 execution addresses and  are  run  by 

 typing their name preceded by a * 

 It is up to the  user  to  make  sure 

 that  the filenames, (as well as load 

 and execution addresses) on DISC/TAPE 

 are  suitable, and will not cause ROM 

 clashes.  One  unsuitable  name  that 

 comes  to mind would be a file called 

 BASIC, because when you tried to  run 

 it  by typing *BASIC you would simply 

 end up in the BASIC language. 

  

 When inputting  filenames  the  whole 

 string  is  taken  as  the name, this 

 means you must not use :1.TEST etc. 

 To  end  the selection proccess Input 

 ZZZ for the filename. You  will  then 

 be asked for a disc/tape filename for 

 the 'ROM image'. 

  

 For  simplicity  reasons,  any   file 

 having  an  execution address greater 

 than &7FFF (hexadecimal), is  assumed 

 to  be a BASIC program. Likewise, any 

 file with an execution  address  less 

 than &8000 is assumed to be a MACHINE 

 CODE file. The program only  uses  16 

 bit  addresses,  this  means  that an 

 execution address of  FF1900  is  the 

 same  as 001900. The first two digits 

 are ignored, (incidently they specify 

 whether  or not the address is within 

 the main I/O processor). 

  

 The  download  routine  (within   the 

 finished  EPROM),  uses locations &70 

 to &75 inclusive, this means  that  a 

 MACHINE   CODE  program  which  loads 

 directly into this area is unsuitable 

 for 'EPROMMING'. 

  

 Programs  can  only be run in the I/O 

 processor,  a  facility  to  transfer 

 programs across the 'TUBE' could be a 

 possible future upgrade. 

  

  

 The  following  assumes  that you now 

 have a finished EPROM containing your 

 BASIC/MACHINE  CODE  programs, fitted 

 into  the  machine.   If   you   have 

 SIDEWAYS  RAM  fitted,  then  you can 

 test the 'ROM IMAGE' in  this  first, 

 before commiting it to EPROM. 

  

 The  list  of  files,  together  with 

 their load, execution, filelength and 

 position  within  the  EPROM  can  be 

 displayed by typing *HELP EPROM 

 a typical display might be:- 

  

 EPROM 1.00 

  

 GAME     1900 8023 1754 8400 

 UTIL     7000 7000 0300 9B54  

 TESTING  1900 8023 1000 9E54 

  

 This shows that:- 

 GAME has a load address of 1900 

    an execution address of 8023 

            a filelength of 1754 

  and its EPROM position is 8400 

  

 All of the above are in hexadecimal. 

  

 Looking  at the above files, GAME and 

 testing are BASIC programs, and  util 

 is  a  MACHINE  CODE  program (we can 

 determine  this  from  the  execution 

 address).  In  either case to run any 

 of the files simply precede the  name 

 with  an  asterisk  (*)  .i.e. to run 

 GAME you would type:- 

  

 *GAME 

  

 If you  are  unsure  about  execution 

 addresses  then  the following should 

 help.  

  

 Using the  DISC  system  (TAPE  users 

 should  use  *OPT1,2  then *.) if you 

 type *INFO *.* you will see a display 

 similar to the following:- 

  

 $.Z1        007000 007000 000320 103  

 $.TEST      FF1900 FF8023 000725 107 

 $.MCODE     000A00 000A00 000100 10F 

  

 This  shows  that  file Z1 has a load 

 and execution address of 7000, it  is 

 725 bytes in length and is located on 

 sector 103  of  the  disc.  The  file 

 named  TEST  has  a  load  address of 

 1900, an execution  address  of  8023 

 and is 725 bytes in length. 

  

 If  it  is  decided  to 'EPROM' these 

 files, then the files  named  Z1  and 

 MCODE  will  be  treated  as  MACHINE 

 CODE, whereas  the  file  named  TEST 

 will be treated as a BASIC one. 

  

 The  name  of  this file that you are 

 now reading  is  HELP.  To  obtain  a 

 printout,  turn your printer on using 

 CTRL+B and then type *TYPE HELP 

  

  

