reed ( stream ) var item: ElfPspModuleInfo = ElfPspModuleInfo. // 26.2.2.8 export class ElfPspModuleInfo extends Struct StructUInt16 moduleAtributes: number StructUInt16 moduleVersion: number StructStringz ( 28 ) name: string StructUInt32 gp: number StructUInt32 pc: number StructUInt32 exportsStart: number StructUInt32 exportsEnd: number StructUInt32 importsStart: number StructUInt32 importsEnd: number } var item: ElfPspModuleInfo = ElfPspModuleInfo. It JITs the instruction decoding nested switch. It JITs the cpu (though still slow because loops, function calls, and returns are not JITted yet) (just compiles basic blocks without any kind of control flow).Īs with my other psp emulator cspspemu, it has a single instruction table that allows to create the cpu dynarec, assembler and disassembler. It can load at this point: ELF, PBP, ISO, CSO and ZIP files. The project can be opened with Visual Studio Express but it should work with intelliJ/webstorm or any typescript IDE too. You can debug apps with the chrome console.
Typescript, and the integrated console and profiler from chrome allowed me to convert some of my cspspemu code pretty fast, in a crazy weekend for this first version. It will use FileSystem API / IndexedDB too.Īt this point it can run some demos and homebrew games. It uses promises, Typed Arrays, Audio API, Canvas, WebGL, FullScreen API, File API, Web Workers, WebSockets and the Gamepad API. You can reference some samples like this: You can view the lastest version here (updated from git every push): Opera and Chrome performs the best because they use V8 that is lightning fast. Safari 8 (it won't work with prior versions because of the lack of webgl support).