Cloud-9 miniFLASH User Manual Download Page 14

14 

There is a parameter block at $7100 that is referenced by the FLASH.BIN routine.  That parameter 
block contains the following offsets: 
 

Offset 

Value 

$7100 

Read/Write  Mode  ($00  =  Read  ROM,  $01  = 
Read FLASH, $FF = Write FLASH) 

$7101 

Multi-Pak  Slot  where  FLASH  or  ROM  is 
located (0-3, or $FF if no Multi-Pak is present) 

$7102 

FLASH bank to read/write (0-3) 

$7103 

Page  to  read/write  (0-125  on  a  CoCo  1/2,  0-
123 on a CoCo 3) 

$7104 

Page size (should be 128) 

$7105-06 

ROM base address (usually $C000) 

$7107-08 

Address  of  FLASH  Bank  Selection  Register 
($FF49, $FF59, $FF69 or $FF79) 

$7109-0A 

Address  of  a  128  byte  buffer.    This  buffer 
either contains data to write to the FLASH (in 
write  mode)  or  will  hold  the  contents  of  a 
FLASH or ROM page (read mode). 

$710B-0C 

Two  byte  checksum  of  the  contents  of  the 
FLASH/ROM page (in Read Mode). 

 
Once the parameters from $7100 to $710A have been set, the caller may JSR into the subroutine at 
$7000 and the selected operation will be performed. 
 
After reading a page of FLASH or ROM, a two byte checksum of that page is automatically computed 
and  stored  at  $710B-0C.    This  value  is  the  sum  of  all  bytes  in  the  page,  and  can  be  used  as  a 
verification mechanism. 

Special Considerations 

It is important to note that not all of the ROM can be read, nor all of the FLASH programmed.  On a 
CoCo 2, all but the last 256 bytes ($FF00-$FFFF) of FLASH can be read/written.  On a CoCo 3, all 
but the last 512 bytes ($FE00-$FFFF) of FLASH can be read/written. 
 
The  included  BASIC  software  automatically  detects  the  type  of  Color  Computer  being  used,  and 
makes  the  proper  adjustments  when  reading/writing  FLASH.    Refer  to  the  source  code  for 
consideration when writing your own FLASH programming software. 

Summary of Contents for miniFLASH

Page 1: ...1 miniFLASH User Manual...

Page 2: ...ization of Cloud 9 is strictly prohibited miniFLASH User Manual 2015 Cloud 9 All Rights Reserved Reproduction or use of any portion of this manual without express written permission from Cloud 9 is pr...

Page 3: ...8 Hardware Switching 8 Software Switching 8 CoCo 1 2 FLASH Bank Software Switching 9 CoCo 3 FLASH Bank Software Switching 9 Determining the Active FLASH Bank 9 4 Programming the FLASH 10 Programming...

Page 4: ...logy to store ROM Pak images or your favorite DOS Features Uses state of the art components for low power draw and decreased part count 64K of internal FLASH holds four distinct 16K ROM images Easy to...

Page 5: ...ROM such as a game in the selected FLASH bank You should NOT turn the auto switch on if your FLASH bank contains a DOS such as HDB DOS Switch 2 and 3 Both of these switches are used to select one of f...

Page 6: ...FBSR reset behavior Setting the Base Address As shipped the interface s base address is set up at a default of FF59 We recommend keeping this setting if possible In order to this you must verify that...

Page 7: ...he DIP switch settings If jumper pair 1 2 does NOT contain a shunt then contents of the FBSR are reset to the state of the DIP switches upon pressing the RESET button For a CoCo 1 or CoCo 2 we recomme...

Page 8: ...bank will hold code and to which bank the interface will start from at power on There are two methods of FLASH bank selection the hardware switching method and the software switching method Hardware S...

Page 9: ...instructions from is actually being totally replaced at the point of the POKE command If this happens press the RESET button and the code should execute properly CoCo 3 FLASH Bank Software Switching...

Page 10: ...rogram the desired FLASH bank in the miniFLASH using FLASH BAS Option 2 Use ROMXFER BAS to directly transfer the contents of a ROM Pak or disk controller s EPROM to a FLASH bank this requires a Multi...

Page 11: ...of the miniFLASH 2 The MPI slot of the miniFLASH 3 The FLASH bank where the ROM image will be programmed 4 The name of the file to program Once the information is provided the file will be opened and...

Page 12: ...t where the ROM resides and the size of the ROM It will then obtain the ROM s contents and save it to the disk file specified If this program is run on a CoCo 3 then additional options are available t...

Page 13: ...to the FLASH Unless you fully understand what you are doing you should never set this bit Bits 6 2 are undefined Reads of these bits will always return zero Writes to these bits are ignored Bits 1 0 a...

Page 14: ...sum of the contents of the FLASH ROM page in Read Mode Once the parameters from 7100 to 710A have been set the caller may JSR into the subroutine at 7000 and the selected operation will be performed A...

Page 15: ...red with quality and care Cloud 9 cannot guarantee that you won t run into problems If you have a problem or question please contact us via the Internet at support cloud9tech com You can also visit ou...

Page 16: ...16 Manual Revision 1 1 April 15 2015...

Reviews: