final src and Makefile adjustments for PSP release
[picodrive.git] / Pico / Draw_amips.s
index ca3368a..c05391c 100644 (file)
@@ -1,10 +1,14 @@
 # vim:filetype=mips
 
-# only CLUT for now..
+# several drawing related functions for Allegrex MIPS
+# (c) Copyright 2007, Grazvydas "notaz" Ignotas
+# All Rights Reserved
 
 .set noreorder # don't reorder any instructions
 .set noat      # don't use $at
 
+.text
+.align 4
 
 # void amips_clut(unsigned short *dst, unsigned char *src, unsigned short *pal, int count)
 
@@ -1671,6 +1675,9 @@ tile00000001:
     jr      $ra
     sb      $t0, 0($a0)
 
+.data
+.align 4
+
 TileTable:
   .long 000000000000, tile00000001, tile00000010, tile00000011, tile00000100, tile00000101, tile00000110, tile00000111
   .long tile00001000, tile00001001, tile00001010, tile00001011, tile00001100, tile00001101, tile00001110, tile00001111