X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=gp2x%2Fasmutils.s;h=92226b3543d5f1a57a09d803de96af138b24644f;hb=49fe50f04c9e6aab1cce54302bd4990a0471df00;hp=e1e09451cedfa8eb176a03c60c780c769e92bb82;hpb=98c9d8d9e79355a54e59123cf10bac1da78c1c6b;p=libpicofe.git diff --git a/gp2x/asmutils.s b/gp2x/asmutils.s index e1e0945..92226b3 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 +