ys2-intro/loader/tools/nucrunch-1.0.1/test/startaddr

7 lines
168 B
Plaintext
Raw Permalink Normal View History

2025-11-13 11:07:39 -05:00
#!/usr/bin/python
from __future__ import print_function
from sys import argv
from struct import unpack
addr=unpack('<h',open(argv[1],'rb').read(2))
print("$%04x"%addr)