Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Data.TI85.File.Backup
Description
This module defines the structure of a TI-85 backup file. A backup file contains system memory (data section 1), user memory (section 2), and a variable table that maps where user variables are located in data section 2.
Synopsis
- data VarTableEntry = VarTableEntry {
- entryId :: Word8
- entryAddr :: Word16
- entryNameLen :: Word8
- entryName :: ByteString
- type VarTable = [VarTableEntry]
- data TIBackupHeader = TIBackupHeader {}
- data TIBackupData = TIBackupData {}
Documentation
data VarTableEntry Source #
An entry in the variable table. Note: the variable table is stored in reverse byte order (including 2-byte words!).
Constructors
VarTableEntry | |
Fields
|
Instances
Show VarTableEntry Source # | |
Defined in Data.TI85.File.Backup Methods showsPrec :: Int -> VarTableEntry -> ShowS # show :: VarTableEntry -> String # showList :: [VarTableEntry] -> ShowS # |
type VarTable = [VarTableEntry] Source #
A list of variable table entries
data TIBackupHeader Source #
Backup-specific header. This header comes after
the more general TIHeader
.
Constructors
TIBackupHeader | |
Fields
|
Instances
Show TIBackupHeader Source # | |
Defined in Data.TI85.File.Backup Methods showsPrec :: Int -> TIBackupHeader -> ShowS # show :: TIBackupHeader -> String # showList :: [TIBackupHeader] -> ShowS # |
data TIBackupData Source #
The top-level structure of a backup file.
Constructors
TIBackupData | |
Fields
|
Instances
Show TIBackupData Source # | |
Defined in Data.TI85.File.Backup Methods showsPrec :: Int -> TIBackupData -> ShowS # show :: TIBackupData -> String # showList :: [TIBackupData] -> ShowS # |