X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=gp2x%2Fasmutils.s;h=376208556a0839de294ebc35daa39324bcb30d39;hb=0d0558bde90234a0413433f743cd85aee645eeef;hp=e1e09451cedfa8eb176a03c60c780c769e92bb82;hpb=720ee7f6244cb51cc123a7fd16832161db9a3b4d;p=libpicofe.git diff --git a/gp2x/asmutils.s b/gp2x/asmutils.s index e1e0945..3762085 100644 --- a/gp2x/asmutils.s +++ b/gp2x/asmutils.s @@ -3,6 +3,7 @@ @ (c) Copyright 2006, notaz @ All Rights Reserved +@ vim:filetype=armasm @ Convert 0000bbb0 ggg0rrr0 0000bbb0 ggg0rrr0 @ to 00000000 rrr00000 ggg00000 bbb00000 ... @@ -197,7 +198,6 @@ vidCpyM2_32col_nobord: b vidCpyM2_32_loop_out -@ test .global spend_cycles @ c spend_cycles: @@ -208,3 +208,12 @@ spend_cycles: bpl .sc_loop bx lr + + +@ test +.global flushcache + +flushcache: + swi #0x9f0002 + mov pc, lr +