Jpcsp v0.07 final (revision 332) - 模擬器

Franklin avatar
By Franklin
at 2008-09-07T21:05

Table of Contents

http://code.google.com/p/jpcsp/downloads/list

jpcsp v0.07 final (revision 332) Thu Sep 04, 2008

Okay since there are a few builds that goes around net i thought it might be
a good idea to give one here

you can download it from

http://code.google.com/p/jpcsp/downloads/list

Notes : first don′t try enable recompiler. It doesn′t work :D

You can find all the working stuff in the forum (homebrew and games section)
We have include all the most noticeable demos in the package

Linux version will come sortly. I don′t have a mac so i can test it . Let′s
hope that someone here does and test it. If so we will be happy to include
your build :D

check out the linux 64 version I added too.

about the issues with jogl classpath here is the command line used in the
included RunMe script file that will most probably work without copying jogl
bins all over your disk:

Code:
java -ea -Xms128m -Xmx128m -cp jpcsp.jar:./lib/gluegen-rt.jar:./lib/jogl.jar
-Djava.library.path=./ jpcsp.MainGUI


offcourse you′ll have to issue that command in the directory that jpcsp.jar
is on a console window.




r332
adding script to count the frequency of instructions in a prxtool
disassembly.
Sep 03 (3 days ago)
pfft.whatever
r331
re-enabled calls to the GE code. fixed fps counter to use actual average.
Sep 03 (3 days ago)
pfft.whatever
r330
use ScePspDateTime instead of PspTime
Sep 03 (3 days ago)
zarjan
r329
Added psp solitaire. Thanks to trypsp for pointing that this game almost
works
Sep 03 (3 days ago)
[email protected]
r328
Added dummy sceAudio HLE. Needed for some demos-emus
r327
Fixed a few stuff on sceIoManager. After that changes NesterJ_v1_07 actually
does some interesting stuff. Few bugs should exist on sceDOpen, sceDread
probably..
Sep 03 (3 days ago)
[email protected]
r326
changed implementation of sceKernelStartThread to save the user data on the
new thread′s stack. the new thread no longer starts immediately, it is only
marked as ready.
Sep 02 (4 days ago)
pfft.whatever
r325
make the rtc demo work (added some rtc syscalls)
Sep 02 (4 days ago)
zarjan
r324
fix javadoc @param filename
Sep 02 (4 days ago)
[email protected]
r323
fps counter added to title. Simple rtc demo created for testing rtc HLE
functions
Sep 02 (4 days ago)
[email protected]
r322
added some directory support to pspiofilemgr.
Sep 02 (4 days ago)
pfft.whatever
r321
pspiofilemgr, rewritten large portions of this. multiple reads/writes should
work now, using java′s RandomAccessFile which maintains a "current position"
(see seek() function). MainGUI/MemStickBrowser, updated to match renamed
getfilepath -> setfilepath.
Aug 31 (5 days ago)
pfft.whatever
r320
ThreadMan, changed scheduler to work with thread priorities. Fixed
restoreContext to work when executed outside of a delay slot (for apps that
use syscalls directly, like minifire). Added 2 idle threads and a watch dog
timer, the timer length may need tuning. This better handles apps exiting
without calling sceKernelExitGame.
Aug 31 (5 days ago)
pfft.whatever
r319
pspdisplay, added setDirty() for use by pspge. re-enabled
sceDisplayWaitVblankStart fall through to sceKernelDelayThread. pspge,
removed immediate glcanvas updating, instead using pspdisplay.setDirty() so
it updates at the next frame (60 fps). pspdisplay_glcanvas, added
invalidateBufferCache to remove a cache/flipping bug when loading a 2nd app.
Converted deleteBufferInfo to deferredDeleteList so we can defer deletion of
more than 1 cached BufferInfo at a time (required for invalidateBufferCac
Aug 31 (5 days ago)
pfft.whatever
r318
DisassemblerFrame/Emulator, Added resetDebugger() for when new media is
loaded. Resets to PC and removes any breakpoints. Fixed adding a breakpoint
to a line that already has a breakpoint.
Aug 31 (5 days ago)
pfft.whatever
r317
Forget this file. It is necessary for another generator to build a decoder.
Aug 31 (6 days ago)
[email protected]
r316
was not saved
Aug 31 (6 days ago)
[email protected]
r315
- more BCU implementation in Allegrex.isa - added autogenerated
Allegrex/Instructions.java.
Aug 31 (6 days ago)
[email protected]
r314
some BCU implementation.
Aug 31 (6 days ago)
[email protected]
r313
Interpreter and recompiler : - SPECIAL3 insns, MDU added in .isa file.
Aug 31 (6 days ago)
[email protected]
r312
updated Allegrex.isa. MDU, BCU and LSU instructions still missing.
Aug 31 (6 days ago)
[email protected]
r311
the .isa file to auto-generate future AllegrexDecoder.java and
AllegrexInstructions.java.
Aug 31 (6 days ago)
[email protected]
r310
fix ill-formed javadoc params
Aug 31 (6 days ago)
[email protected]
r309
removed all the thread stuff from glcanvas, calling display() with no
arguments is good enough.
Aug 30, 2008
pfft.whatever
r308
oops, hellojpcsp working again
Aug 30, 2008
pfft.whatever
r307
went back to old gl thread model
Aug 30, 2008
pfft.whatever
r306
fix recompiler part of doXORI
Aug 30, 2008
[email protected]
r305
pspdisplay, completely removed conversion from PSP pixel format to GL pixel
format. pspdisplay_glcanvas, changes to match pspdisplay. Added calls into
VideoEngine so it can execute display lists within the GL context/thread.
Updating the display now blocks, I′m not sure if this is a good idea. The
purpose is to remove any corruption caused by emu thread writing to the vram
while the GL thread is reading from it. Maybe implementation of vblank
start/end will remove the need for this. Display l
Aug 30, 2008
pfft.whatever
r304
fixed exception when clicking run with nothing loaded.
Aug 30, 2008
pfft.whatever
r303
Missing AllegrexBasicBlock.java
r302
Processor.java : - fpr and hilo registers now tracked. - added recompile part
to some methods (WIP).
Aug 30, 2008
[email protected]
r301
Missing javassist.jar
Aug 30, 2008
[email protected]
r300
Added AllegrexBasicBlock.class based on javassist.jar, thx movzip to show us
how to do so. Basic block recompiler in Processor.java in progress.
Aug 30, 2008
[email protected]
r299
Just added option to enable recompiler. I′ll be writing recompiler with
gnu.bytecode library.
Aug 30, 2008
aisesal
r298
+1



some GUI changes save window pos is now actully used (whoops sorry about
that) console snap is now a option
Aug 30, 2008
zarjan
r297
threadstatus.pbp now works. thread stacks now allocated correctly.
Aug 29, 2008
pfft.whatever
r296
forgot to commit SyscallHandler last time. added sceKernelLibcTime and Dcache
functions.
Aug 29, 2008
pfft.whatever
r295
renamed HLE/Utils HLE/psputils. removed unused ELFLoader class.
Aug 29, 2008
pfft.whatever
r294
some GUI changes save window pos is now a option open log window at start-up
is now a option
Aug 29, 2008
zarjan
r293
Add truncate and append to SceIo structure. Fixed sceIoWrite for append .
Added sceIoRead
Aug 29, 2008
[email protected]
r292
Fixed sceIoWrite. should work okay now
Aug 28, 2008
[email protected]
r291
adding pong game, it works
Aug 28, 2008
pfft.whatever
r290
console window position starts snapped to bottom of main window.
Aug 28, 2008
pfft.whatever
r289
fixed delete breakpoint. added unmapped memory checking to disasm.
Aug 28, 2008
pfft.whatever
r288
DisassemblerFrame, added breakpoint support back in. Run button should sync
up with the MainGUI now. Memory Viewer, added refresh on pause emu. Now does
its own memory address checking to stop spamming the console just because you
scrolled into "bad" memory.
Aug 28, 2008
pfft.whatever
r287
ThreadMan, added sceKernelSleepThread. Replaced PauseEmu on root thread
exiting with PauseEmu when there are no "ready" threads available (either no
threads left, or all sleeping).
Aug 28, 2008
pfft.whatever
r286
a few fixes and added more syscalls for debug reasons atm. Added a pspplayer′
s fileiotest.pbp for testing various stuff with io. (not functional yet)
Aug 28, 2008
[email protected]
r285
SceUIDMan, added option to checkUidPurpose to ignore unknown uid′s. Not sure
if it makes any sense since any module using a uid will have it′s own
mapping from uid to data structure so will know if a fails to map to
anything. ThreadMan, added some checks on uid usage, so the psp error code is
returned instead of throwing an exception. TODO add a psp error code class
with all these constants in it.
Aug 28, 2008
pfft.whatever
r284
fixed small problem on iofilemgr . Thanks fiveofhearts
Aug 28, 2008
[email protected]
r283
added (better) setTitle support to mem stick browser. changed
MainGUI.PauseEmu to pause only. added TogglePauseEmu function.
Aug 28, 2008
pfft.whatever
r282
Introduce first version of iofilemgr module. Very basic and needs work but
fileio demo can now dump main memory to memstick
Aug 28, 2008
[email protected]
r281
Tried demo threadstatus and added two syscalls it needed demo still fails
though
Aug 28, 2008
zarjan
r280
fixed PRIM_* numbering in GeCommands
Aug 28, 2008
pfft.whatever
r279
added Emulator.PauseEmu() to sceKernelExitGame and returning from root
thread.
Aug 28, 2008
pfft.whatever
r278
Added -Xms128m -Xmx128m to netbeans project file. That will increase java
heap space Added new setttings file by spip2001 and removed jdom library
Aug 28, 2008
[email protected]
r277
added pspctrl src by fiveofhearts request
Aug 28, 2008
[email protected]
r276
Set minimum size of main window to 480x272.
Aug 27, 2008
aisesal
r275
fix VFPU2 opcode to 0x12 and not 0x1a. Thanx aisesal.
Aug 27, 2008
[email protected]
r274
pspctrl.pbp works now? (anyone who knows what uiMake and uiBreak is let me
know)
Aug 27, 2008
zarjan
r273
committed another controller demo test. Hey zarjan
Aug 27, 2008
[email protected]
r272
tiny controls gui fix
Aug 27, 2008
xtsoler
r271
Worked around the keyboard repeat so there are no false updates
checkController is called every cpu step, so delay that a bit added the
analoge buttons and actually do something with the current ctrlMode
(digital/analog)
Aug 27, 2008
zarjan
r270
Key config applied right away
Aug 27, 2008
zarjan
r269
new controls.jpg added the analog controls (zarjan all yours
Aug 27, 2008
xtsoler
r268
small fixes to memstick browser
Aug 27, 2008
[email protected]
r267
Fixed: Emu was starting to run when Open Debugger or Open New File menu
opened. Now if it is paused it stays paused Added: Introducing first version
of Memory stick browser. It will be used for demos that need to store or load
something from a file (most of homebrew games). It works with the sceIO HLE
lib that will come sortly after i fix bugs . New directory needed
ms0/PSP/GAME . Game dir is where browser reads files. More info on forum
Aug 27, 2008
[email protected]
r266
... well I need and I′ll start to study the nehe
Aug 26, 2008
leandro.rhcp99
r265
Key config good as done TODO image needs to be altered a bit? so the music
button looks a bit better
Aug 26, 2008
zarjan
r264
Checked a few more switch() statements with -Xlint:fallthrough These seem to
need a break, hopefully will fixed something
Aug 26, 2008
zarjan
r263
A small bug. ortho demo now just loops on display lists. Thanks hlide for
finding it
Aug 26, 2008
[email protected]
r262
some ge/stall fixes, cache bit was getting in the way. removed Animator from
pspdisplay_glcanvas, should be no unnecessary updates now.
Aug 25, 2008
pfft.whatever
r261
Controller config support
Aug 25, 2008
zarjan
r260
GE related: Added support for stalled display lists. Tried to fix
pointer/instruction/pc mixup, but not sure about the handling of
call/jump/ret inside the display list. Added a few more GE instructions (just
prints debug stuff).
Aug 25, 2008
pfft.whatever
r259
Here is a start for the key setting form as a tab in SettingsGUI. the image
is a longshot tell what you think
Aug 25, 2008
xtsoler
r258
Controller support TODO handle more buttons, but I think a good gui is
needed for settings the keys first
Aug 25, 2008
zarjan
r257
DisassemblerFrame, adjusted size of code listing. Memory, added "stop on
invalid address". Hooked writeXX for more efficient pspdisplay. Emulator,
made pauseEmu static so it could be called from Memory. Added a reference to
MainGUI so the buttons appear in the correct position for when code other
than MainGUI changes the running state (see MainGUI.RefreshButtons).
Commented out unused stop and resume variables. 2x calls to runEmu won′t
throw exceptions anymore. pspdisplay, reduced the number
Aug 25, 2008
pfft.whatever
r256
major GUI refactoring. Threads are much better now. things that missing
1)proper breakpoints 2)ResetEmu 3)saveWindowPos NOTE: if you aren′t using
Netbeans then you must set mainclass on MainGUI.java
Aug 25, 2008
[email protected]
r255
removed useless folder
Aug 24, 2008
[email protected]
r254
psp debug screen is now workingsvn diff > diff.txt fixed sa->rs in decoder.
Aug 24, 2008
pfft.whatever
r253
fix C..S bug
Aug 24, 2008
[email protected]
r252
recompiled fputest.pbp
Aug 24, 2008
pfft.whatever
r251
Added fputest.pbp
Aug 24, 2008
[email protected]
r250
commited first part of the new disassembler. Run ,stop doesn′t work since i
will probably refactor Emulator.java to work with threads.
Aug 24, 2008
[email protected]
r249
remove the try catch
Aug 24, 2008
leandro.rhcp99
r248
little improvements on video engine, seems rigth? sceGe DEBUG > vaddr
134217728 sceGe DEBUG > iaddr 134217728 sceGe DEBUG > base 0 sceGe DEBUG >
Unknow/unimplemented video command [ vtype ] sceGe DEBUG >
Unknow/unimplemented video command [ offset_addr ] sceGe DEBUG >
Unknow/unimplemented video command [ region1 ] sceGe DEBUG >
Unknow/unimplemented video command [ region2 ] ... sceGe DEBUG > finish
Aug 24, 2008
leandro.rhcp99
r247
just refactor the package name
Aug 24, 2008
leandro.rhcp99
r246
some fixes
Aug 24, 2008
[email protected]
r245
ConsoleWindow now outside of the old gui.ToggleConsole button on Debugger
menu now works. Console hidden by default, LoggingWindow disabled with a
comment (will be removed completely)
Aug 24, 2008
xtsoler
r244
just general observation about the display list core
Aug 24, 2008
leandro.rhcp99
r243
more code to display list system [report unsign byte] now the commands
appears and finish the list with the FINISH command, so after the command fbp
[frame buffer pointe] is perfomed
Aug 24, 2008
leandro.rhcp99
r242
Fixed a bug in decoder about cop0 Added a few more menus on the new gui
pspdisplay_frame removed as it is replaced by pspdisplay_glcanvas
Aug 24, 2008
[email protected]
r241
initial drawing primitive [point, triangle, line...] debug... HAPPY BIRTHDAY
aisesal
Aug 23, 2008
leandro.rhcp99
r240
some finish process list gpu commands
Aug 23, 2008
leandro.rhcp99
r239
some flow gpu commands
Aug 23, 2008
leandro.rhcp99
r238
correct text to debug
Aug 23, 2008
leandro.rhcp99
r237
little work on list display core
Aug 23, 2008
leandro.rhcp99
r236
fix for silly copy′n paste
Aug 23, 2008
[email protected]
r235
commited the first version of the new gui. Note buttons and menus are not
working yet. It works from the debugger so far as it used to be. More to come
soon.
Aug 23, 2008
[email protected]
r234
Renamed some files and add GeDecoder.java
Aug 23, 2008
[email protected]
r233
fixed 565 green channel mask.
Aug 23, 2008
pfft.whatever
r232
pspdisplay.java: RGBA -> reverse order bit AllegrexOpcodes.java: VFPU4/5 ->
work in progress
Aug 23, 2008
[email protected]
r231
the call can be handled
Aug 23, 2008
leandro.rhcp99
r230
Totally rewrote Memory.java and added memory map handling.
Aug 23, 2008
aisesal
r229
commit another good working demo
Aug 23, 2008
[email protected]
r228
the initial shape of drawing lists
Aug 22, 2008
leandro.rhcp99
r227
pspdisplay, converted to use videorambuf ByteBuffer from Memory class. Fixed
set_native_pixel buffer width. Removed some unnecessary code. Memory, made
the ByteBuffer′s public, so pspdisplay can use them. Added PC to error
messages (it almost certainly displays the PC of the next instruction, but it
helps).
Aug 22, 2008
pfft.whatever
r226
fix package
Aug 22, 2008
leandro.rhcp99
r225
I lost some files, but now I′ll commit everthing I get back the stuffs here
is about the list rendering ... first I made the base of commands
Aug 22, 2008
leandro.rhcp99
r224
Added aisesal new memory model
Aug 22, 2008
[email protected]
r223
DisHelper, added syscall names to jal′s where possible (similar to what
prxtool does). Disassembler, fixed scrolling down, again. Please tell me if
this is an issue (perhaps due to different look&feel/font sizes). Updated
"Copy branch/jump address" to handle the syscall name on the end of jal′s.
Aug 22, 2008
pfft.whatever
r222
fixed thread-unsafe remove.
Aug 22, 2008
pfft.whatever
r221
fixed a small issue
Aug 22, 2008
[email protected]
r220
implement basic Thread support that includes Run -stop -resume. Run
breakpoints doesn′t support yet
Aug 22, 2008
[email protected]
r219
improved glcanvas intialize and reshape function
Aug 22, 2008
[email protected]
r218
Fixed error on MULT,MULTU, MADD, MADDU, MSUB, MSUBU Thanks to aisesal that
noticed them
Aug 22, 2008
[email protected]
r217
removed null pixelformat warning, was spamming with step button. fixed
display buffer window size, oops.
Aug 21, 2008
pfft.whatever
r216
Disassembler, added pspdisplay step(). Fixed some breakpoints null pointer
exceptions when no line was selected. Emulator, added pspdisplay step().
pspdisplay, added step() function, updates at 60 frames per second, our time,
not emulation time. added more parameter checking. moved the different pixel
formats in UpdateDisplay into their own loops.
Aug 21, 2008
pfft.whatever
r215
eh few more pspsdk demos
Aug 21, 2008
[email protected]
r214
removed npc+4 from start thread, fixes problem with exit callback function
pointer parameter.
Aug 21, 2008
pfft.whatever
r213
pspctrl, added the first 8 functions from
http://psp.jim.sh/pspsdk-doc/group__Ctrl.html. sceCtrlSetSamplingCycle,
sceCtrlGetSamplingCycle, sceCtrlSetSamplingMode, sceCtrlGetSamplingMode.
sceCtrlPeekBufferPositive, sceCtrlPeekBufferNegative,
sceCtrlReadBufferPositive, sceCtrlReadBufferNegative. BufferNegative logic
copied from Noxa′s pspplayer, buttons are complemented: ~Buttons. It′s not
reading any input yet, but it does have the correct return values/side
effects. SyscallHandler, added suppor
Aug 21, 2008
pfft.whatever
r212
ThreadMan, added sceKernelCreateCallback. The callback address looked weird
so I fed it through Processor.branchTarget(), this may not be correct.
LoadExec, added sceKernelRegisterExitCallback and sceKernelExitGame stubs.
SyscallHandler, added the 3 functions above. pspge, fixed indentation issue.
Aug 21, 2008
pfft.whatever
r211
Added missing GPL headers Added 2 more demos. fileio from pspsdk and
nehetutorial1 from psp-programming
Aug 21, 2008
[email protected]
r210
Decoder.class : fixed the issue with CCONDS.
Aug 20, 2008
[email protected]
r209
+1



AllegrexOpcodes.java : fixed wrong BITREV mapping in BSHL table. but i don′t
understand how ortho.pbp can issue "Unsupported SPECIAL3 instruction 20".
Besides, I don′t get this error when running ortho.pbp.
Aug 20, 2008
[email protected]
r208
(Unsupported COP1 instruction 14) Decoder.class: - renamed COP1F table to
COP1S table (format S) - added new COP1W table (format W) - moved CVT.S.W
into COP1W table
Aug 20, 2008
[email protected]

--

All Comments

Nintendulator 0.965 beta (2008/09/06)

Elvira avatar
By Elvira
at 2008-09-07T21:03
http://www.qmtpro.com/~nes/nintendulator/#downloads News September 6, 2008: Adding execution breakpoints has just gotten a whole lot easier - just dou ...

NeoGeo: UNIVERSE BIOS v3.0

Poppy avatar
By Poppy
at 2008-09-07T21:02
http://unibios.free.fr/ WHATS NEW IN VERSION 3.0 ------------------------ Additions / Changes PC-2-NEO -------- This new feature gives the ability to t ...

不會用gba的金手指

Anthony avatar
By Anthony
at 2008-09-07T15:11
我用的VisualBoyAdvance1.72版的模擬器 玩王國之心一 因為要打倒冥王那關(會用雙手放火和丟火球)試了好幾次都失敗 只好上網找金手指 結果照網路上說的做了 進入戰鬥時卻一片黑 而跟木桶蜘蛛打卻很正常(還可以用金手指) 但是要打頭目時 卻無法進入戰鬥, 請問有人可以幫我解決嗎 ...

epsXe玩太空戰士9

Megan avatar
By Megan
at 2008-09-07T10:46
最近獲得FF9繁體中文版 直接用他設置好的epsXe 1.5.2版玩 遊戲過程還算流暢 但一要開始打鬥 先是要等很久才進入戰鬥畫面 再來是鏡頭走的很LAG 還有 聲音就好像被卡住 聽起來很吵 而且戰鬥時的流暢度相當緩慢 有找到有人說用1.7版會有改善 聲音問題似乎是解決了 戰鬥流暢度等還是沒 ...

紅白機之中原霸主

Charlie avatar
By Charlie
at 2008-09-06T21:30
有玩過的人都知道,就是在城市命令中有個情報蒐集指令, 每張命令書可以派出ㄧ名武將出城,到下個月武將回來後就會帶回ㄧ些東西, 可能是金錢、寶石、或是新武將,也有可能甚麽都沒有XD 而每座城最多只能容納12名武將,所以倘若如果原本城裏的武將人數已經滿編, 此時再派名舊武將出去情報蒐集,而他帶回ㄧ名新武將 ...