Searched refs:POKEB (Results 1 – 1 of 1) sorted by relevance
/sdk/emulator/mksdcard/src/source/ |
D | mksdcard.c | 56 #define POKEB(p,v) BYTE_(p,0) = (Byte)(v) macro 124 POKEB(boot, 0xeb); in boot_sector_init() 125 POKEB(boot+1, 0x5a); in boot_sector_init() 126 POKEB(boot+2, 0x90); in boot_sector_init() 129 POKEB( boot + 0xd, sectors_per_cluster ); /* sectors per cluster */ in boot_sector_init() 131 POKEB( boot + 0x10, NUM_FATS ); /* number of FATs */ in boot_sector_init() 134 POKEB( boot + 0x15, 0xF8 ); /* media descriptor, 0xF8 == hard disk */ in boot_sector_init() 148 POKEB( boot + 0x40, 0x80 ); /* physical drive number */ in boot_sector_init() 149 POKEB( boot + 0x42, 0x29 ); /* extended boot signature ?? */ in boot_sector_init() 154 POKEB( boot + BYTES_PER_SECTOR-2, 0x55 ); /* boot sector signature */ in boot_sector_init() [all …]
|