[新聞] Jpcsp v0.08 (revision 379)

看板Emulator (模擬器)作者 (八房龍の助)時間17年前 (2008/09/12 13:10), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/1
http://code.google.com/p/jpcsp/downloads/list change since r332 r380 UmdIsoReader.java: Fixed .CSO reading. UmdBrowser.java: Fixed a problem with the browser code which would try to throw a directory at the umd iso reader, which obviously wouldn′t work. Iso9660File.java: Fixed a typo in a exception (which shouldn′t happen anyway). r379 Added separate UMD browser with a option in settings to change from umdbrowser to classic open file dialog. Moved GUI code to GUI package Added default folder for umdimages Update Settings.xml with umdbrowser setting. Added some SysMem HLE definitions r378 Reverse a wrong commit. r377 Fix build. r376 Added jgz-0.2 to the project /lib/s, and used it instead of java.util.zip, cos that one works for .cso. So now .cso loading seems to work... at least as bad as .iso r375 ISO loading, double click support and cleaner path shown in the third column. r374 Moved loading code from the event processing functions so it can be used by the MemStickBrowser. r373 Rewritten Memory stick browser and improved PSF management. r372 Only load the settings xml file once and introduce the DefaultSettings.xml ressource used for fallback when there is no Settings.xml file. r371 WIP implementation of part of the sceAudio* functions for audio output. Made sceAudioChReserve still return -1 so thigns like nesterj won′t break. Getting it to work properly will require some way to context-switch to other threads in the middle of a blocking syscall. r370 Reverse the last change to audio. NesterJ works again returning -1 disables sound. r369 sceAudioChReserve must return the actual channel id, <0 indicates failure. r368 All loaders rewritten to use bytebuffers. Added counter of total loaded NIDS. r367 Add debug messages if SectionsNames can′t be found. Total failed NIDS counter. Fixed Title on open dialog for UMDs , removed NIDmapping from syscalls.txt since it is out of date. r366 Processor.java: cleanup. r365 Allegrex: still in progress. r364 Some more NIDS and corrections. r363 Added para.sfo loading from UMDs (for nicer logging). r362 added more syscalls NIDs. Now puzzle bobble doesn′t complain for unknown NIDS. r361 One small commented out line broke everything. r360 Emu doesn′t need to relocate when shtype = 0x00000009. r359 Fixed a bug where I would raise an exception on a "eof" seek, where the RandomAccessFile will not. Instead, added the EOF checks to the DataInput methods, as they are supposed to have them. r358 Allegrex: ‧Common.java: Instructions.java() returns an array of all instructions instances. ‧Instructions.java: add a constrcutor to register instruction instance so Common.Instructions() can return an array of instruction instances. r357 Fixed loader. Now puzzle bobble loads, FF also. r356 Common.java: add instruction count per instruction. r355 Allegrex: ‧Instructions.java: autogenerated to be compatible with Decoder.java. ‧Decoder.java: fixed compile errors with UNK reference. r354 Decoder.java: changed the way to compute an index into an array. r353 Allegrex: ‧Common.java, new file to keep common classes used in Instructions.java. ‧Instructions.java, extends class Common.java. ‧Decoder.java: new file autogenerated from Allegrex.def to get the right instruction class instance from its opcode. 。For interpreter, we call this way: Instruction insn = jpcsp.Allegrex.Decoder.instruction(opcode); insn.interpret(processor, insn); 。For compiler, we call this way: Instruction insn = jpcsp.Allegrex.Decoder.instruction(opcode); insn.compile(processor, insn); 。For disassembler, we call this way: Instruction insn = jpcsp.Allegrex.Decoder.instruction(opcode); String line = insn.disasm(pc, insn);" r352 Allegrex: added VFPU6 and VFPU7. All VFPU instructions should be here. r351 Bugz! r350 iso loading partialy works. r349 Allegrex: update. r348 Updated many of the functions previously using SeekableRandomFile (which in turn used to be RandomAccessFile), to use the generic SeekableDataInput interface. r347 Allegrex: VFP4, VFP5. r346 Fixed a bug in the UmdIsoFile code. There may be more. r345 In order to fix a design failure in java: ‧Created package jpcsp.filesystems ‧Moved umdiso stuff inside filesystems ‧Created interface Seekable, as the base for the work. Enforces methods length(), seek(position) and getFilePointer(). ‧Created interface SeekableDataInput, which adds on top of Seekable, and also enforces implementation of the DataInput and Closeable interfaces. ** This defines the main building block for my Seekable IO tree. ** ‧Created adapter class SeekableRandomFile, which extends RandomAccessFile so it exports SeekableDataInput interface. ‧Created abstract class SeekableInputStream, which will serve as the base for other Seekable objects. ‧Updated UmdIsoFile to extend from SeekableInputStream, and implement all the methods required for it. ‧Replaced all the uses of RandomAccessFile with SeekableRandomFile, making it easy to change later to allow any SeekableDataInput-based object. ‧This should hopefully be enough to allow loading stuff from UMD images (and an other kind of virtual filesystem). r344 Forgot to add a comment to the commit. Obviously this fixes the compiling bugs I added in the previous commit. And also includes a cosmetic change to the File menu. r343 ThreadMan, added some support for kernel/usermode threads. Fixed sceKernelCreateThread log message, attr was using the wrong parameter. Added stack initialisation (to 0xFF′s). PSF, changed 2 byte casts to int, otherwise things may go wrong when there are lots of entries. Added a bit more info to the log messages. pspAudio, added unimplemented sceAudioOutputPannedBlocking. Changed sceAudioChReserve to return -1/failed. Otherwise it starts to decode audio which is slow:( pspdisplay, added sceDisplayWaitVblank, just calls sceDisplayWaitVblankStart internally, we need to figure out what the difference is. psputils, added sceKernelLibcClock using nano seconds, also based on total run time not just the current process so it may not work right. r342 I′d like to externalize registers context from Processor so i can handle several set of those register and switch them through recompiler and interpreter. threadman could also use those class to make faster thread switch. r341 WIP .CSO reading. It does NOT work yet, but I′ll commit in case anyone wants to take a look at it. Also changed a bit UmdIsoFile, but nothing really interesting. r340 decoder is now protected for cleaner overloading of the Processor class added some utility memory access methods that can be used by the recompiler map attribute in Memory is now static, indexFromAddr public. r339 A few missing Nids to syscalls. r338 Added pfo parser. Atm in only prints to console the key/values. r337 pspdisplay_glcanvas, there was a problem with r335 and running a 2nd program. I′ve added two variables to pspdisplay_glcanvas where you can choose between frame buffer mode or GE mode. Currently it′s set to frame buffer mode so previously working demos still work. Added more safety checks on null references. Vertex, added some texture and normal support. DisplayList, ids resets to 0 when you load a new program. GU demos that "do something" ortho (sometimes renders all blue, don′t know why), celshading (maybe something wrong with vertex indices), reflection and lines (crashes). r336 Added UmdIso package for iso file reading. r335 added support for projection and modelview/world matrix modes (latter is probably incorrect). r334 pspiofilemgr, sceIoMkdir fixed (fileio + dump flash0/flash1 now makes a directory). sceIoChdir test implementation, need some demos to test it properly. sceIoOpen, added PSP_O_CREAT + PSP_O_EXCL checks. sceIoOpen, added PSP_O_TRUNC, but disabled until we can be sure pspfileiomgr is stable since it deletes files. stat, file/directory/permission bits now set correctly. getDeviceFilePath, re-written (fileio + dump flash0/flash1 now works). changed a lot of log messages to match the original format, so no more single quotes around file names (maybe confusing). psprtc, sceRtcGetCurrentClockLocalTime now using ScePspDateTime class. r333 upload a better settings.xml (better keyboard config ) . Added missing members to metainfo and we are going to v0.08 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 59.126.238.100 ※ 編輯: choan 來自: 59.126.238.100 (09/12 13:16) ※ 編輯: choan 來自: 59.126.238.100 (09/12 13:17)
文章代碼(AID): #18oVdNxa (Emulator)
文章代碼(AID): #18oVdNxa (Emulator)