Home
last modified time | relevance | path

Searched refs:POKES (Results 1 – 1 of 1) sorted by relevance

/sdk/emulator/mksdcard/src/source/
Dmksdcard.c57 #define POKES(p,v) ( BYTE_(p,0) = (Byte)(v), BYTE_(p,1) = (Byte)((v) >> 8) ) macro
128 POKES( boot + 0x0b, BYTES_PER_SECTOR ); /* sector size */ in boot_sector_init()
130 POKES( boot + 0xe, RESERVED_SECTORS ); /* reserved sectors before first FAT */ in boot_sector_init()
132POKES( boot + 0x11, 0 ); /* max root directory entries for FAT12/FAT16, 0 for FA… in boot_sector_init()
133POKES( boot + 0x13, 0 ); /* total sectors, 0 to use 32-bit value at offset 0x20 … in boot_sector_init()
135 POKES( boot + 0x16, 0 ); /* Sectors per FAT for FAT12/16, 0 for FAT32 */ in boot_sector_init()
136 POKES( boot + 0x18, 9 ); /* Sectors per track (whatever) */ in boot_sector_init()
137 POKES( boot + 0x1a, 2 ); /* Number of heads (whatever) */ in boot_sector_init()
143 POKES( boot + 0x28, 0 ); /* FAT flags */ in boot_sector_init()
144 POKES( boot + 0x2a, 0 ); /* version */ in boot_sector_init()
[all …]