2021-10-20 17:00:04 +03:00
|
|
|
#!/usr/bin/env kuroko
|
2021-10-20 17:03:32 +03:00
|
|
|
from util import ISO
|
2021-10-20 17:00:04 +03:00
|
|
|
|
|
|
|
let image = ISO('image.iso')
|
|
|
|
let cdfile = image.get_file('/boot.sys')
|
|
|
|
|
|
|
|
print(f'--defsym BOOT_FILE_SIZE={cdfile.extent_length_lsb} --defsym BOOT_FILE_OFFSET={cdfile.extent_start_lsb * 2048}')
|
|
|
|
|