Permalink
Browse files

initial commit

  • Loading branch information...
0 parents commit 7dc495b3c9269eba88abe1168cc694a2ec3e5e0f @kanzure kanzure committed Mar 5, 2012
Showing with 2,262 additions and 0 deletions.
  1. +32 −0 .hgignore
  2. +21 −0 Makefile
  3. +21 −0 README
  4. 0 constants.asm
  5. +1,885 −0 main.asm
  6. +1 −0 pokecrystal.asm
  7. +302 −0 textpre.awk
@@ -0,0 +1,32 @@
+syntax: glob
+
+#precompiled python
+*.pyc
+
+#compiled object file
+*.o
+
+#no binaries
+*.exe
+
+#roms
+*.gbc
+
+#generated
+*.tx
+
+#swap files for vim
+.*.swp
+
+#no data from extras/
+extras/*.json
+
+#for any of the poor souls with save game files in their working directory
+baserom.sgm
+baserom.sav
+pokered.sgm
+pokered.sav
+
+#for vim configuration
+#url: http://www.vim.org/scripts/script.php?script_id=441
+.lvimrc
@@ -0,0 +1,21 @@
+#gawk sort order
+export LC_CTYPE=C
+
+.SUFFIXES: .asm .tx .o .gbc
+
+TEXTFILES =
+
+all: pokecrystal.gbc
+
+pokecrystal.o: pokecrystal.asm main.tx constants.asm ${TEXTFILES}
+ rgbasm -o pokecrystal.o pokecrystal.asm
+
+.asm.tx:
+ awk -f textpre.awk < $< > $@
+
+pokecrystal.gbc: pokecrystal.o
+ rgblink -o $@ $<
+ cmp baserom.gbc $@
+
+clean:
+ rm -f main.tx pokecrystal.o pokecrystal.gbc ${TEXTFILES}
@@ -0,0 +1,21 @@
+This is a disassembly of Pokémon Crystal.
+
+It uses the following ROM as a base:
+ Pokemon - Crystal Version (UE) (V1.0) [C][!].gbc
+ md5: 9f2922b235a5eeb78d65594e82ef5dde
+
+To assemble, first install RGBDS and put it in your path.
+
+The version of RGBDS needed is rgbds-linux:
+ https://github.com/bentley/rgbds/
+ git://github.com/bentley/rgbds.git
+
+Then copy the Pokémon ROM to this directory as "baserom.gbc".
+Then run "make" in your shell.
+
+This will output a file named "pokecrystal.gbc".
+
+See also the disassembly of Pokémon Red:
+ http://bitbucket.org/iimarckus/pokered
+
+nucleus.kafuka.org #skeetendo
No changes.
Oops, something went wrong. Retry.

0 comments on commit 7dc495b

Please sign in to comment.