Added an execution log

This commit is contained in:
Your Name 2022-09-28 09:11:37 -04:00
parent 1113509215
commit f2f15d85f0
5 changed files with 865 additions and 10 deletions

239
logs/execution_log Normal file
View file

@ -0,0 +1,239 @@
[app/App]: Init: Initializing Bus
[emu/Bus]: Bus: Bus initialized
0x45534552
[emu/IOP]: RegisterLibraryEntries: excepman version 1.01
[emu/IOP]: RegisterLibraryEntries: intrman version 1.02
[emu/IOP]: RegisterLibraryEntries: ssbusc version 1.01
[emu/IOP]: RegisterLibraryEntries: dmacman version 1.02
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 0
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 0
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 0
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 1
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 1
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 1
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 2
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 2
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 2
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 3
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 3
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 3
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 4
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 4
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 4
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 5
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 5
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 5
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 6
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 6
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 6
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 7
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 7
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 7
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 8
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 8
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 8
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 9
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 9
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 9
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 10
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 10
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 10
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 11
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 11
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 11
[emu/IoDma]: Writing 0x00000000 to Dn_MADR on channel 12
[emu/IoDma]: Writing 0x00000000 to Dn_BCR on channel 12
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 12
[emu/IoDma]: Writing 0x00000000 to Dn_TADR on channel 4
[emu/IoDma]: Writing 0x00000000 to Dn_TADR on channel 9
[emu/IOP]: RegisterLibraryEntries: timrman version 1.01
[emu/IOP]: RegisterLibraryEntries: sysclib version 1.01
[emu/IOP]: RegisterLibraryEntries: stdio version 1.01
[emu/IOP]: RegisterLibraryEntries: heaplib version 1.01
[emu/IOP]: RegisterLibraryEntries: thbase version 1.01
[emu/IOP]: RegisterLibraryEntries: thevent version 1.01
[emu/IOP]: RegisterLibraryEntries: thsemap version 1.01
[emu/IOP]: RegisterLibraryEntries: thmsgbx version 1.01
[emu/IOP]: RegisterLibraryEntries: thfpool version 1.01
[emu/IOP]: RegisterLibraryEntries: thvpool version 1.01
[emu/IOP]: RegisterLibraryEntries: vblank version 1.01
[emu/IOP]: RegisterLibraryEntries: ioman version 1.02
[emu/IOP]: RegisterLibraryEntries: modload version 1.01
stq
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
stq
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
stq
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
stq
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
PRIM: Write 0x00000000
Setting channel 0 spr -> 0x00000000
Setting channel 0 chcr to 0x0 (0)
Setting channel 0 tadr -> 0x00000000
Setting channel 0 maddr -> 0x00000000
Setting channel 0 asr1 -> 0x00000000
Setting channel 0 asr0 -> 0x00000000
Setting channel 1 spr -> 0x00000000
Setting channel 1 chcr to 0x0 (0)
Setting channel 1 tadr -> 0x00000000
Setting channel 1 maddr -> 0x00000000
Setting channel 1 asr1 -> 0x00000000
Setting channel 1 asr0 -> 0x00000000
Setting channel 2 spr -> 0x00000000
Setting channel 2 chcr to 0x0 (0)
Setting channel 2 tadr -> 0x00000000
Setting channel 2 maddr -> 0x00000000
Setting channel 2 asr1 -> 0x00000000
Setting channel 2 asr0 -> 0x00000000
Setting channel 3 spr -> 0x00000000
Setting channel 3 chcr to 0x0 (0)
Setting channel 3 tadr -> 0x00000000
Setting channel 3 maddr -> 0x00000000
Setting channel 3 asr1 -> 0x00000000
Setting channel 3 asr0 -> 0x00000000
Setting channel 4 spr -> 0x00000000
Setting channel 4 chcr to 0x0 (0)
Setting channel 4 tadr -> 0x00000000
Setting channel 4 maddr -> 0x00000000
Setting channel 4 asr1 -> 0x00000000
Setting channel 4 asr0 -> 0x00000000
Setting channel 8 spr -> 0x00000000
Setting channel 8 chcr to 0x0 (0)
Setting channel 8 tadr -> 0x00000000
Setting channel 8 maddr -> 0x00000000
Setting channel 8 asr1 -> 0x00000000
Setting channel 8 asr0 -> 0x00000000
Setting channel 9 spr -> 0x00000000
Setting channel 9 chcr to 0x0 (0)
Setting channel 9 tadr -> 0x00000000
Setting channel 9 maddr -> 0x00000000
Setting channel 9 asr1 -> 0x00000000
Setting channel 9 asr0 -> 0x00000000
[emu/IOP]: RegisterLibraryEntries: stdio version 1.02
Adding 0x01000404 to VIF1 fifo
Adding 0x03000000 to VIF1 fifo
Adding 0x20000000 to VIF1 fifo
Adding 0x00000000 to VIF1 fifo
Adding 0x00000000 to VIF1 fifo
PRIM: Write 0x00000000
Adding 0x01000404 to VIF0 fifo
Adding 0x04000000 to VIF0 fifo
Setting channel 4 chcr to 0x1 (0)
[emu/SifIop]: Reading 0x516942d0 from 0x1d000060
[emu/SifIop]: Reading 0x516942d0 from 0x1d000060
[emu/IOP]: RegisterLibraryEntries: cdvdman version 1.01
[emu/IoDma]: Writing 0x00000000 to Dn_CHCR on channel 3
[emu/IOP]: RegisterLibraryEntries: secrman version 1.03
[emu/SifEE]: Writing 0x00000100 to 0x1000f240
[emu/SifEE]: Writing 0x000000ff to 0x1000f260
Setting channel 7 chcr to 0x0 (0)
[emu/SifEE]: Writing 0x000000ff to 0x1000f260
Setting channel 5 chcr to 0x0 (0)
Setting channel 6 chcr to 0x0 (0)
Setting channel 5 chcr to 0x0 (0)
Setting channel 5 qwc -> 0x00000000
Setting channel 5 chcr to 0x184 (1)
Starting transfer on channel 5
[emu/SifEE]: Writing 0x8001e000 to 0x1000f200
[emu/SifEE]: Writing 0x00010000 to 0x1000f220
Setting channel 6 qwc -> 0x00000000
Setting channel 6 tadr -> 0x0001e140
[emu/SifEE]: Writing 0x00000000 to 0x1000f200
[emu/CPU]: Dump: $zero -> 00000000000000000
[emu/CPU]: Dump: $at -> 0ffffffff80020000
[emu/CPU]: Dump: $v0 -> 0ffffffffb000f230
[emu/CPU]: Dump: $v1 -> 1010101010101010ffffffffb000f200
[emu/CPU]: Dump: $a0 -> 00000000000000100
[emu/CPU]: Dump: $a1 -> 500000000000000000000000001e140
[emu/CPU]: Dump: $a2 -> 0ffffffffa0000000
[emu/CPU]: Dump: $a3 -> 00000000000000100
[emu/CPU]: Dump: $t0 -> 000000000000000ff
[emu/CPU]: Dump: $t1 -> 0000000000000021f
[emu/CPU]: Dump: $t2 -> 00000000000000230
[emu/CPU]: Dump: $t3 -> 00000000000000000
[emu/CPU]: Dump: $t4 -> 00000000030000000
[emu/CPU]: Dump: $t5 -> 00000000000000000
[emu/CPU]: Dump: $t6 -> 00000000000000007
[emu/CPU]: Dump: $t7 -> 00000000000000003
[emu/CPU]: Dump: $s0 -> 00000000000010000
[emu/CPU]: Dump: $s1 -> 0ffffffff8001e000
[emu/CPU]: Dump: $s2 -> 00000000000000000
[emu/CPU]: Dump: $s3 -> 00000000000000000
[emu/CPU]: Dump: $s4 -> 00000000000000000
[emu/CPU]: Dump: $s5 -> 00000000000000000
[emu/CPU]: Dump: $s6 -> 00000000000000000
[emu/CPU]: Dump: $s7 -> 00000000000000000
[emu/CPU]: Dump: $t8 -> 0ffffffff80015a50
[emu/CPU]: Dump: $t9 -> 00000000000000027
[emu/CPU]: Dump: $k0 -> 00000000000001000
[emu/CPU]: Dump: $k1 -> 00000000000000000
[emu/CPU]: Dump: $gp -> 00000000000000000
[emu/CPU]: Dump: $sp -> 0ffffffff80015c00
[emu/CPU]: Dump: $fp -> 00000000000000000
[emu/CPU]: Dump: $ra -> 00000000080006270
[emu/CPU]: Dump: pc -> 0x80005e94
[emu/CPU]: Dump: hi -> 0x00000000
[emu/CPU]: Dump: lo -> 0x00000000
[emu/CPU]: Dump: hi1 -> 0x00000000
[emu/CPU]: Dump: lo1 -> 0x00000240
[emu/IOP]: Dump: $zero -> 0x00000000
[emu/IOP]: Dump: $at -> 0x00010000
[emu/IOP]: Dump: $v0 -> 0x000f4240
[emu/IOP]: Dump: $v1 -> 0x00005b30
[emu/IOP]: Dump: $a0 -> 0x001ffd78
[emu/IOP]: Dump: $a1 -> 0x001ffd78
[emu/IOP]: Dump: $a2 -> 0x00001200
[emu/IOP]: Dump: $a3 -> 0x000f4240
[emu/IOP]: Dump: $t0 -> 0x00000004
[emu/IOP]: Dump: $t1 -> 0x00000000
[emu/IOP]: Dump: $t2 -> 0x00000000
[emu/IOP]: Dump: $t3 -> 0x00011e28
[emu/IOP]: Dump: $t4 -> 0xfffee000
[emu/IOP]: Dump: $t5 -> 0x00000000
[emu/IOP]: Dump: $t6 -> 0x0001165c
[emu/IOP]: Dump: $t7 -> 0x000116b8
[emu/IOP]: Dump: $s0 -> 0x001ffd78
[emu/IOP]: Dump: $s1 -> 0x000116bc
[emu/IOP]: Dump: $s2 -> 0x00000000
[emu/IOP]: Dump: $s3 -> 0x00000001
[emu/IOP]: Dump: $s4 -> 0xfffffffc
[emu/IOP]: Dump: $s5 -> 0x00200000
[emu/IOP]: Dump: $s6 -> 0x00000000
[emu/IOP]: Dump: $s7 -> 0x00000000
[emu/IOP]: Dump: $t8 -> 0x00003270
[emu/IOP]: Dump: $t9 -> 0x00000009
[emu/IOP]: Dump: $k0 -> 0x00000000
[emu/IOP]: Dump: $k1 -> 0x00000000
[emu/IOP]: Dump: $gp -> 0x000191f0
[emu/IOP]: Dump: $sp -> 0x001ffd40
[emu/IOP]: Dump: $fp -> 0x001fff40
[emu/IOP]: Dump: $ra -> 0x0001000c
[emu/IOP]: Dump: pc -> 0x000106dc

595
logs/human_strings_iop_ram Normal file
View file

@ -0,0 +1,595 @@
sysmem
4$ E
B0B$
4$ f
B0B$
'System_Memory_Manager
2c$X
$#(P
'!
$$ "
3B$+
1&! @
B0C
$+(C
loadcore0
sysmem
Module_Manager
<4;c$!
<t;B$
<4;c$!
<0;B$
<0;B$D
<x;c$
<x;"
excepman04
sysmem
loadcore
Exception_Manager
<$Sc$
< SB$
c4$ C
c4$ C
<,S$
<,SB
c4! @
<,SB
<$SB$<
<0[c$+
<0[c$+
<4KZ
<0PZ
RZ'!
$$@
intrman
loadcore
excepmanP
Interrupt_Manager
ssbusc
loadcore
intrman
ssbus_service
<$|B
<0|B
<$|B
<0|B
<(|B
<4|B
<(|B
<4|B
< |B
<,|B
<8|B
< |B
<,|B
<8|B
<D|B
<<|B
<@|B
<D|B
<<|B
<@|B
<H|B
<H|B
<L|B
<L|B
<P|B
<P|B
<T|B
<T|B
<X|B
<X|B
<\|B
<\|B
<`|B
<`|B
%2!
<% D
dmacman
sysmem
loadcore
intrman
dmacman
WARNING:DMA %dch has been continued until shutdown
timrman
loadcore
intrman
Timer_Manager
B$q'
sysclib
stdio
$!0`
s6!0
loadcore
System_C_lib
0123456789abcdef
(null)
0123456789ABCDEF
AAAAAA
BBBBBB
heaplib
D$!0
$!(
0!(
%&!
&!
sysmem
loadcore
Heap_lib
s&HB
B$!
'!
B$!
$&>B
B$WC
$! `
B$0B
B$0B
B$>B
B$0B
$&+C
&!
B$.A
&!
B$.A
B$WC
1&!
thbase
thevent
thsemap
thmsgbx
thfpool
thvpool
thrdman
sysmem
loadcore
intrman
stdio
sysclib
timrman
heaplib
Multi_Thread_Manager
IOP Realtime Kernel Ver.0.9.1
Copyright 1999 (C) Sony Computer Entertainment Inc.
not THS_RUN
readyq = %x, newrun = %x:%d, prio = %d
Panic: not found executable Thread
THS_RUN cp=%d : hp=%d
readyq = %x, newrun = %x:%d, prio = %d
Panic: not found ready Thread
Thread (thid=%x, #%d) stack overflow
Stack = %x, Stack size = %x, SP=%x
Module Name = %s
[%3d->
switch_context(%x:%x,pc=%x,ei=%x =>%x:%d)
%3d]
switch_context --> %x:%x,pc=%x,ei=%x =>%x:%d
panic ! Thread DORMANT !
CheckThreadStack()
WARNING: SleepTread KE_CAN_NOT_WAIT
WARNING: DelayTread KE_CAN_NOT_WAIT
WARNING: WaitEventFlag KE_CAN_NOT_WAIT
WARNING: WaitSema KE_CAN_NOT_WAIT
WARNING: ReceiveMbx:KE_CAN_NOT_WAIT
WARNING: AllocateVpl KE_CAN_NOT_WAIT
WARNING: AllocateFpl KE_CAN_NOT_WAIT
&!
0&!8
< 'B$
<0'c$
D&fI
D&fI
vblank
loadcore
intrman
sysclib
thbase
thevent
Vblank_service
'!(@
=B$#
'!(@
=B$#
'!(@
'!(@
'!(@
'!(@
'!(@
<D<B
<D<B
<D<B
<H<2
<D<B
<D<B
<D<B
<H<B
<D<B
<D<B
<H<
ioman
sysmem
loadcore
intrman
sysclib
IO/File_Manager
tty00:
ioabort exit:%s %s
out of file descriptors
Unknown device '%s'
Known devices are
%s:(%s)
CONSOLE
invalid lseek arg
io request for unsupported operation
$!(@
R&uU
$!(
Q$\U
$!(@
modload
sysmem
loadcore
sysclib
stdio
ioman
intrman
thbase
thevent
thsemap
Moldule_File_loader
Reboot fail! need file name argument
updater '%s' can't load
return from updater '%s' return value = %d
ReBootStart: Terminate resident Libraries
%.8s %x
IOPBOOT
<O?c4
<O-B4
`B$!
SE <RE)5T
B$!
intrman
sysclib
ioman
ROM_file_driver
ROM/Flash
stdio
loadcore
sysclib
ioman
Stdio
<NULL>
16@
'!(@
16qm
%!(h
B,nf
c4@
c4! @
ff <gf)5
B$!
s&!
$!(
b0J^
B$!
B$!
'! @
$!(
cdvdman
B4@
<a%c$
c4@
<d%c$
c4!
B4@
$!0
2!(
2!(
<d%B$
B4(
<a%B$
<`%B$
$!(
$!8
< B40
k5@
J5@
'!0@
'!0@
$! @
$! @
$!(@
$!8`
$!(@
$!(@
$!0@
< B4@
<9 c4
<( B4@
<9 c4
<0 B4@
<9 c4
<: B4
$!8`
'!0@
loadcore
intrman
stdio
thbase
thsemap
sysclib
ioman
cdvd_driver
CD-ROM
cdrom
fileIO OPEN name= %s mode= %d
open fail name %s
fileIO CLOSE
cdvd fileIO read start
read file_lbn= %d offset= %d
sceRead LBN= %d sectors= %d
fileIO read end
Read Error= 0x%02x
sce_Read LBN= %d sectors= %d
fileIO read ended
fileIO SEEK
nulldev call
DISK READY call from iop
Wait Drive Ready
Drive Not Ready
DISK Pause wait call from iop
Wait Drive Pause
Drive Not Pause
sceCdStInit call
sceCdStStart call
sceCdStSeek call
sceCdStStop call
sceCdStRead call read size= %d mode= %d
sceCdStRead BLK Read cur_size= %d req_size= %d err 0x%x
sceCdStPause call
sceCdStResume call
sceCdStStat call
CD Stream Call mode= %d
Stream Buffer 1Bank %dbyte %dbanks %dbyte used
CD read buffer over run %d %d %d %d %d gp %d pp %d
Intr Read call
read Full %d %d %d %d %d gp %d pp %d spn %d
CdSearchFile: cache dir data used
%s: path level (%d) error
%s: dir was not found
CdSearchFile: disc error
CdSearchFile: searching %s...
%d %s %s
%s: found
%s: not found
CD_newmedia: Illegal disc media type =%d
CD_newmedia: Read error in disc_read(PVD)
CD001
CD_newmedia: Disc format error in cd_read(PVD)
CD_newmedia: DVD Read mode
CD_newmedia: CD Read mode
CD_newmedia: Read error (PT:%08x)
CD_newmedia: sarching dir..
%08x,%04x,%04x,%s
CD_newmedia: %d dir entries found
CD_cachefile: dir not found
CD_cachefile: searching...
lsn %d size %d %s %d/%d/%d %d:%d:%d
CD_cachefile: %d files found
loc= %d size= %d
read error: Search File
exit code %d error %x
Intr func0 no seting
Intr func1 no seting
sceCdInit called mode= %d
Cdvdman Exit
in:%d out_size:%d
set_prev_command:cmd 0x%x err result cnt %d:%d
Break call
cdvd: Abort command On
Apply NCmd call cmd= 0x%02x
sceCdGetReadPos: No Reading
Read Command call
DVD read pram set
DVD read command call
DVD read command called
Audio Digital Out: Set param %d
Auto Adjust Ctrl: Set param %d
ReadNVM call addr= 0x%04x data= 0x%04x stat= 0x%02x
WriteNVM call addr= 0x%04x data= 0x%04x stat= 0x%02x
Tray Req test = %d
ReadConfig fail Command busy
ReadConfig fail status: 0x%02x
WriteConfig fail Command busy
WriteConfig fail status: 0x%02x
Set HD mode= %d
Set HD mode OK
'!0@
'!0@
'!0@
'!0@
$2!(
'! `
'! `
$!(@
d2!(@
< YB
c$&0
< YB$
$!
< Y$
< YB
<$Y$
<$YB
<$YB
$!0@
$!(C
$!(C
$!(C
$!(C
$!(C
$! `
<<YR&
$! `
<@YB
$! @
<4Y1&
Qc$
<hQB$
<0Yc$
<,QB$
secrman
loadcore
stdio
cdvdman
ioman
modload
secrman_for_cex
mcCommand isn't assigned
SecrAuthCard start
card auth 0x60
mechacon auth 0x80
card auth key change
card auth 0x00
mechacon auth 0x81
card auth 0x01
card auth 0x02
mechacon auth 0x82
card auth 0x03
card auth 0x04
mechacon auth 0x83
card auth 0x05
mechacon auth 0x8f
mechacon auth 0x84
mechacon auth 0x85
card auth 0x06
card auth 0x07
card auth 0x08
card auth 0x09
card auth 0x0a
card auth 0x0b
card auth 0x0c
card auth 0x0d
card auth 0x0e
card auth 0x0f
card auth 0x10
card auth 0x11
mechacon auth 0x86
card auth 0x12
card auth 0x13
mechacon auth 0x87
card auth 0x14
mechacon auth 0x88
card decrypt start
card decrypt 0x40
card decrypt 0x41
card decrypt 0x42
card decrypt 0x43
header length %d
secr_set_header: fail write_HD_start
secr_set_header: fail write_data
secr_set_header: fail pol_cal_cmplt
Set Header failed
Cannot read BIT
SecrCardBootFile: Cannot decrypt header
SecrCardBootFile: failed
SecrDiskBootFile: Cannot decrypt header
SecrDiskBootFile: failed
mecha command:%02x param:
%02x
card_command error 0
sio2 error 0
ID error 0
result failed 0
card_command error %d
sio2 error %d
ID error %d
result failed %d
check sum error %d
kbit_offset %d
kc_offset %d
don't get elf header
don't get program header
load elf error
eesync
sifman
loadcore
SyncEE
&!(@
&!(@
&!(@
cdvdfsv
sysmem
loadcore
intrman
stdio
thbase
sifcmd
sifman
cdvdman
cdvd_ee_driver
No cdvd driver
cdvd driver module version 0.1.1 (C)SCEI
Dummy Entry Called
sceCdInit call
sceCdInit end
sceCdAbort call
sceCdABort end
search file name %s
CdRead call from EE data load IOP Memory
Read IOP Memory addr= 0x%08x sector= %d
Read error return code %d error code %x cmd error %d
0 CD_READ LBN= %d sectors= %d all= %d
1 CD_READ LBN= %d sectors= %d data_shift=%d read_data_size= %d speed= %d, time= %d(msec)
2 CD_READ LBN= %d sectors= %d
read end
Stream Buffer 1Bank %dbyte %dbanks %dbyte used
CD read buffer over run %d %d %d %d %d gp %d pp %d
Intr Read call
read Full %d %d %d %d %d gp %d pp %d spn %d
CD read buffer over run %d %d %d %d %d gp %d pp %d ecode= %d
CD read buffer over run %d %d %d %d %d gp %d pp %d ecode= %x
stream return %d
Intr DA lbn=%d Read call err= %02x count= %d
**********DA Ended *************
DA read Full %d %d %d %d %d gp %d pp %d spn %d ADDR %08x ADDR %08x
DISK READY call 0x%02x
Wait Drive Ready %x
Drive Not Ready
GET TOC call 0x%08x
GET TOC called
READ ILinkID call
WRITE ILinkID call
READ Console call
WRITE ConsoleID call
GET Mecacon Version call
READ SUBQ call
ForbidDVDP call
Ctrl Audio Digital out call
Auto Ajust Ctrl call
READ RTC call
WRITE RTC call 0x%08x
READ NVM call
WRITE NVM call 0x%08x
SET HD mode call
OpenConfig call
sceCdOpenConfig blk %d ret %d
CloseConfig call
readConfig ret %d : status %d
ReadConfig call
WriteConfig call
writeConfig ret %d : status %d
READ KEY call 0x%08x
DEC SET call 0x%08x
Tray req call
Call Seek lsn= %d
Call Seek end
Call Standby
Call Stop
Call Pause
sce_cdvd no block IO :unrecognized code %x
call get error code= 0x%08x
sce_cdvd block IO :unrecognized code 0x%02x

View file

@ -37,6 +37,8 @@ void EmotionDma::write(uint32_t addr, uint32_t data)
case 0x0:
channels[chan].chcr.value = data;
printf("Setting channel %d chcr to 0x%x (%d)\n", chan, data, channels[chan].chcr.running);
if (channels[chan].chcr.running)
printf("Starting transfer on channel %d\n", chan);
break;
case 0x01:
printf("Setting channel %d maddr -> 0x%08x\n", chan, data);
@ -153,6 +155,9 @@ void EmotionDma::tick(int cycles)
chan->chcr.tag = (tag.value >> 16) & 0xffff;
chan->save_tag_addr += 16;
if (tag.tag_id == 0 || tag.tag_id == 7)
chan->should_finish = true;
if (chan->chcr.enable_irq_bit && tag.irq)
chan->should_finish = true;
}

View file

@ -121,5 +121,7 @@ uint32_t IoDma::read(uint32_t addr)
void IoDma::tick(int cycles)
{
for (int cycle = cycles; cycle > 0; cycle--)
{}
{
}
}

View file

@ -20,6 +20,19 @@ void IoProcessor::bcond(Opcode i)
void IoProcessor::j(Opcode i)
{
next_pc = (next_pc & 0xF0000000) | (i.j_type.target << 2);
if (next_pc == 0x1EC8 || next_pc == 0x1F64)
{
uint32_t struct_ptr = regs[4];
uint16_t version = bus->read_iop<uint16_t>(struct_ptr + 8);
char name[9];
name[8] = 0;
for (int i = 0; i < 8; i++)
name[i] = bus->read_iop<uint8_t>(struct_ptr + 12 + i);
printf("[emu/IOP]: RegisterLibraryEntries: %s version %d.0%d\n", name, version >> 8, version & 0xff);
}
//printf("j 0x%08x\n", next_pc);
}
@ -383,19 +396,20 @@ void IoProcessor::jalr(Opcode i)
//printf("jalr %s, %s\n", Reg(i.r_type.rs), Reg(i.r_type.rd));
}
void IoProcessor::syscall(Opcode)
uint32_t exception_addr[2] = { 0x80000080, 0xBFC00180 };
void IoProcessor::syscall(Opcode i)
{
uint32_t mode = Cop0.regs[12] & 0x3F;
Cop0.regs[12] &= ~(uint32_t)0x3F;
Cop0.regs[12] |= (mode << 2) & 0x3F;
uint32_t mode = Cop0.status.value;
Cop0.status.value &= ~(uint32_t)0x3F;
Cop0.status.value |= (mode << 2) & 0x3F;
Cop0.regs[13] |= (uint32_t)(0x8 << 2);
Cop0.regs[13] &= (0 << 28);
Cop0.cause.excode = (uint32_t)8;
Cop0.cause.CE = 0;
Cop0.regs[14] = next_pc;
Cop0.epc = i.pc;
bool bev = Cop0.regs[12] & (1 << 22);
pc = bev ? 0x80000080 : 0xBFC00180;
pc = exception_addr[Cop0.status.BEV];
//printf("syscall\n");
}