3 from __future__
import division
, print_function
11 global curr
, idx
, byte
16 print("0x%02X," % curr
, end
=' ')
38 for i
in range(count
- 1):
39 pushCluster(cluster
+ 1)
43 def pushDisk(eeprom
, flash
):
44 global curr
, idx
, byte
, cluster
45 curr
= idx
= byte
= cluster
= 0
46 print("Disk with %dk EEPROM and %dk FLASH:" % (eeprom
, flash
))
49 pushFile(flash
* 1024)
51 pushFile(eeprom
* 1024)