Searched refs:POKEW (Results 1 – 1 of 1) sorted by relevance
/sdk/emulator/mksdcard/src/source/ |
D | mksdcard.c | 58 #define POKEW(p,v) ( BYTE_(p,0) = (Byte)(v), BYTE_(p,1) = (Byte)((v) >> 8), BYTE_(p,2) = (Byte)(… macro 138 POKEW( boot + 0x1c, 0 ); /* Hidden sectors */ in boot_sector_init() 139 POKEW( boot + 0x20, sectors_per_disk ); /* Total sectors */ in boot_sector_init() 142 POKEW( boot + 0x24, sectors_per_fat ); /* Sectors per FAT */ in boot_sector_init() 145 POKEW( boot + 0x2c, 2 ); /* cluster number of root directory start */ in boot_sector_init() 150 POKEW( boot + 0x43, serial_id ); /* serial ID */ in boot_sector_init() 160 POKEW( info + 0, 0x41615252 ); in boot_sector_init() 161 POKEW( info + 484, 0x61417272 ); in boot_sector_init() 162 POKEW( info + 488, free_count ); /* number of free clusters */ in boot_sector_init() 163 …POKEW( info + 492, 3 ); /* next free clusters, 0-1 reserved, 2 is used for the root dir… in boot_sector_init() [all …]
|