summaryrefslogtreecommitdiff
path: root/extras/print_pc_items.py
diff options
context:
space:
mode:
authorKuroiIeWa5Da < tyuki@adu.me >2012-01-19 15:43:01 -0600
committerKuroiIeWa5Da < tyuki@adu.me >2012-01-19 15:43:01 -0600
commitda7fd359ebe20e37b3b566c056a7228e8e71d6ca (patch)
tree102c8351b7fcd0836b08de17996413d6284b22be /extras/print_pc_items.py
parentffd7b4b85c980d8fa512cd9bf31763f83a5ed5a3 (diff)
parente222c8f30facc8ec5904a79e8438f293427fe556 (diff)
kanzure Merge
hg-commit-id: 21fa90b84836
Diffstat (limited to 'extras/print_pc_items.py')
-rw-r--r--extras/print_pc_items.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/extras/print_pc_items.py b/extras/print_pc_items.py
new file mode 100644
index 00000000..0fedbedd
--- /dev/null
+++ b/extras/print_pc_items.py
@@ -0,0 +1,9 @@
+#!/usr/bin/python
+#author: Bryan Bishop <kanzure@gmail.com>
+#date: 2012-01-19
+#spit out some constants
+
+for x in range(1, 51):
+ print "BOXITEM%.2d EQU $%s" % (x, ("%.2x" % (0xd539+(x*2))).upper())
+ print "BOXCOUNT%.2d EQU $%s" % (x, ("%.2x" % (0xd539+(x*2)+1)).upper())
+