Klasse Flash040Core
java.lang.Object
libsidplay.components.cart.supported.core.Flash040Core
flash040core.c - (AM)29F0[14]0(B) Flash emulation.
Written by Hannu Nuotio <hannu.nuotio@tut.fi>
This file is part of VICE, the Versatile Commodore Emulator. See README for
copyright notice.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
details.
You should have received a copy of the GNU General Public License along with
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
Place, Suite 330, Boston, MA 02111-1307 USA.
- Autor:
- Ken Händel
-
Verschachtelte Klassen - Übersicht
Verschachtelte KlassenModifizierer und TypKlasseBeschreibungstatic classprivate static enumstatic enumprotected static class -
Feldübersicht
FelderModifizierer und TypFeldBeschreibungprivate static intprivate static intTime taken by sector & chip erase (FIXME: numbers pulled from a hat)private static intTimeout after sector erase command (datasheet states 50us)private Loggerprivate static final intprotected static Flash040Core.FlashTypes[] -
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungprotected abstract voidprotected abstract voidalarmUnset(Event erase_alarm) protected voideraseAlarmHandler(Flash040Core.Flash040Context flash040Context) voidflash040coreInit(Flash040Core.Flash040Context flash040Context, EventScheduler alarmContext, Flash040Core.Flash040Type type, byte[] data) byteflash040CorePeek(Flash040Core.Flash040Context flash040Context, int addr) byteflash040CoreRead(Flash040Core.Flash040Context flash040Context, int addr) voidflash040CoreReset(Flash040Core.Flash040Context flash040Context) voidflash040CoreShutdown(Flash040Core.Flash040Context flash040Context) voidflash040CoreStore(Flash040Core.Flash040Context flash040Context, int addr, byte byt) private intflashAddrToSectorNumber(Flash040Core.Flash040Context flash040Context, int addr) private voidflashAddSectorToEraseMask(Flash040Core.Flash040Context flash040Context, int addr) private voidflashClearEraseMask(Flash040Core.Flash040Context flash040Context) private voidflashEraseChip(Flash040Core.Flash040Context flash040Context) private byteflashEraseOperationStatus(Flash040Core.Flash040Context flash040Context) private voidflashEraseSector(Flash040Core.Flash040Context flash040Context, int sector) private booleanflashMagic1(Flash040Core.Flash040Context flash040Context, int addr) private booleanflashMagic2(Flash040Core.Flash040Context flash040Context, int addr) private booleanflashProgramByte(Flash040Core.Flash040Context flash040Context, int addr, byte byt) private intflashSectorToAddr(Flash040Core.Flash040Context flash040Context, int sector) private byteflashWriteOperationStatus(Flash040Core.Flash040Context flash040Context) protected abstract long
-
Felddetails
-
FLASH_DEBUG
-
FLASH040_ERASE_MASK_SIZE
private static final int FLASH040_ERASE_MASK_SIZE- Siehe auch:
-
ERASE_SECTOR_TIMEOUT_CYCLES
private static int ERASE_SECTOR_TIMEOUT_CYCLESTimeout after sector erase command (datasheet states 50us) -
ERASE_SECTOR_CYCLES
private static int ERASE_SECTOR_CYCLESTime taken by sector & chip erase (FIXME: numbers pulled from a hat) -
ERASE_CHIP_CYCLES
private static int ERASE_CHIP_CYCLES -
FlashTypes
-
-
Konstruktordetails
-
Flash040Core
public Flash040Core()
-
-
Methodendetails
-
flashMagic1
-
flashMagic2
-
flashClearEraseMask
-
flashSectorToAddr
-
flashAddrToSectorNumber
-
flashAddSectorToEraseMask
-
flashEraseSector
-
flashEraseChip
-
flashProgramByte
-
flashWriteOperationStatus
-
flashEraseOperationStatus
-
eraseAlarmHandler
-
flash040CoreStore
-
flash040CoreRead
-
flash040CorePeek
-
flash040CoreReset
-
flash040coreInit
public void flash040coreInit(Flash040Core.Flash040Context flash040Context, EventScheduler alarmContext, Flash040Core.Flash040Type type, byte[] data) -
flash040CoreShutdown
-
maincpuClk
protected abstract long maincpuClk() -
alarmUnset
-
alarmSet
-