Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crab
master
Top Level Namespace
BiosSelection
Config
GBA
GBC
ConfigEditor
Controller
Crab
Emu
Frontend
GB
APU
Cartridge
CGB
CartridgeType
Channel1
Channel2
Channel3
Channel4
CPU
DmgOps
FlagOp
Flags
Group
Operation
Response
FifoPPU
FetchStage
GB
Interrupts
InterruptLine
Joypad
MBC1
MBC2
MBC3
MBC5
Memory
Opcodes
Pixel
PPU
ROM
ScanlinePPU
SoundChannel
Sprite
Timer
VolumeEnvelopeChannel
GBA
APU
ARM
BGR16
BlendMode
Bus
Cartridge
Channel1
Channel2
Channel3
Channel4
Color
CPU
Mode
PSR
DMA
AddressControl
StartTiming
DMAChannels
EEPROM
Size
State
Flash
Command
State
GBA
GPIO
Interrupts
Keypad
MMIO
Pipeline
PPU
Reg
Base16
Base32
BGAFF
BGCNT
BGOFS
BGREF
BLDALPHA
BLDCNT
BLDY
DISPCNT
DISPSTAT
DMACNT
InterruptReg
KEYCNT
KEYINPUT
MOSAIC
SOUNDBIAS
SOUNDCNT_H
SOUNDCNT_L
TMCNT
WAITCNT
WINH
WININ
WINOUT
WINV
RTC
Register
State
SoundChannel
Sprite
SpritePixel
SRAM
Storage
Type
THUMB
Timer
VolumeEnvelopeChannel
Waitloop
AddOffsetToStackPointer
AddSubtract
AluOperations
ConditionalBranch
HighRegBranchExchange
Instruction
LoadAddress
LoadStoreHalfword
LoadStoreImmediateOffset
LoadStoreRegisterOffset
LoadStoreSignExtended
LongBranchLink
MoveCompareAddSubtract
MoveShiftedRegister
MultipleLoadStore
PcRelativeLoad
PushPopRegisters
SoftwareInterrupt
SpRelativeLoadStore
UnconditionalBranch
Unimplemented
GBAController
GBController
HeadlessFrontend
ImGui
FileExplorer
Input
Keybindings
Resolvable
Scheduler
EventType
SDL
Window
SDLOpenGLImGuiFrontend
OpenGLInfo
Shader
StubbedController
Built with Crystal 1.10.0
2023-12-10 00:36:05 UTC
class
GBA::
EEPROM
GBA::EEPROM
GBA::Storage
Reference
Object
Defined in:
crab/gba/storage/eeprom.cr
Constructors
.new
(gba : GBA, file_size : Int64 | Nil)
Instance Method Summary
#[]
(address : UInt32) : UInt8
#[]=
(address : UInt32, value : UInt8) : Nil
Instance methods inherited from class
GBA::Storage
[](address : UInt32) : UInt8
[]
,
[]=(address : UInt32, value : UInt8) : Nil
[]=
,
eeprom?(address : UInt32) : Bool
eeprom?
,
memory : Bytes
memory
,
read_half(address : UInt32) : UInt16
read_half
,
read_word(address : UInt32) : UInt32
read_word
,
save_path=(save_path : String)
save_path=
,
write_save : Nil
write_save
Constructor methods inherited from class
GBA::Storage
new(gba : GBA, rom_path : String) : Storage
new
Constructor Detail
def self.
new
(gba :
GBA
, file_size : Int64 | Nil)
#
[
View source
]
Instance Method Detail
def
[]
(address : UInt32) : UInt8
#
[
View source
]
def
[]=
(address : UInt32, value : UInt8) : Nil
#
[
View source
]