mirror of
https://github.com/RaySollium99/picodrive.git
synced 2025-09-06 23:58:04 -04:00
Gizmondo port updated to 1.51b
git-svn-id: file:///home/notaz/opt/svn/PicoDrive@567 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
parent
fcf94fcc20
commit
84100c0fd5
17 changed files with 537 additions and 228 deletions
|
@ -13,7 +13,6 @@
|
|||
.global ssp_block_table
|
||||
.global ssp_block_table_iram
|
||||
|
||||
.global flush_inval_caches
|
||||
.global ssp_drc_entry
|
||||
.global ssp_drc_next
|
||||
.global ssp_drc_next_patch
|
||||
|
@ -28,11 +27,11 @@
|
|||
.global ssp_hle_11_38a
|
||||
|
||||
@ translation cache buffer + pointer table
|
||||
.text
|
||||
.data
|
||||
.align 12 @ 4096
|
||||
.size tcache, SSP_TCACHE_SIZE
|
||||
.size ssp_block_table, SSP_BLOCKTAB_SIZE
|
||||
.size ssp_block_table_iram, SSP_BLOCKTAB_IRAM_SIZE
|
||||
@.size tcache, SSP_TCACHE_SIZE
|
||||
@.size ssp_block_table, SSP_BLOCKTAB_SIZE
|
||||
@.size ssp_block_table_iram, SSP_BLOCKTAB_IRAM_SIZE
|
||||
tcache:
|
||||
.space SSP_TCACHE_SIZE
|
||||
ssp_block_table:
|
||||
|
@ -46,12 +45,6 @@ ssp_block_table_iram:
|
|||
.align 2
|
||||
|
||||
|
||||
flush_inval_caches:
|
||||
mov r2, #0x0 @ must be 0
|
||||
swi 0x9f0002
|
||||
bx lr
|
||||
|
||||
|
||||
@ SSP_GR0, SSP_X, SSP_Y, SSP_A,
|
||||
@ SSP_ST, SSP_STACK, SSP_PC, SSP_P,
|
||||
@ SSP_PM0, SSP_PM1, SSP_PM2, SSP_XST,
|
||||
|
@ -220,7 +213,7 @@ ssp_drc_dp_end:
|
|||
str r2, [r7, #SSP_OFFS_TMP1]
|
||||
sub r0, r1, #4
|
||||
add r1, r1, #4
|
||||
bl flush_inval_caches
|
||||
bl cache_flush_d_inval_i
|
||||
ldr r2, [r7, #SSP_OFFS_TMP1]
|
||||
ldr r0, [r7, #SSP_OFFS_TMP0]
|
||||
bx r2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue