Documentation
¶
Index ¶
Constants ¶
View Source
const ( SectorSize = 2048 SectorMultiplier = uint32(29) // Oberon sector number is multiplied by 29 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disk ¶
type Disk struct {
// contains filtered or unexported fields
}
func (*Disk) GetSector ¶
GetSector reads a 2048-byte Oberon sector. Sector addresses are 1-based! src is sector number (in "encoded" Oberon sectors, i.e. multiple of 29) dest is the buffer to read into.
func (*Disk) MustGetSector ¶
func (*Disk) MustPutSector ¶
type Sector ¶
type Sector [SectorSize]byte
Click to show internal directories.
Click to hide internal directories.