Cloud-9 miniFLASH User Manual Download Page 13

13 

6.

 

Technical Information 

This chapter provides detailed technical information on the miniFLASH, including register layout and 
the software interface for programming the FLASH. 

Hardware Register Layout 

The hardware registers are documented below. 

FLASH Bank Selection Register 

This register is located in memory-mapped I/O and is settable to $FF49, $FF59, $FF69, or $FF79 via 
the jumper block on the board. 
 
Bit 7 of this register is the FLASH Enable bit.  This bit is set by the FLASH programming routine when 
writing 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 are used to software select one of the 16K FLASH banks (0 - 3). 

FLASH Software Interface 

Assembly language programmers who wish to access the FLASH read/write routines in FLASH.BIN 
may do so using the following information. 
 
The  FLASH.BIN  routine  loads  at  $7000  and  can  be  called  by  JSRing  to  that  location.    The  routine 
either reads or writes one page (128 bytes) of the FLASH.  Subsequent calls are required to program 
an  entire  bank.    In  ROM  Read  mode,  the  contents  of  ROM  Paks  can  also  be  read  if  the  value  at 
$7100 is $00. 
 
 

 

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: