VOGONS

Common searches


Search results

Display options

Re: Powerpc dynrec for wii

Hello, By "final defense" I mean we had to introduce this project to examiners in order to be evaluated. About the core=dynrec, well if it's written on the source code I uploaded it's for testing purpose, else I don't remember why.

Re: Powerpc dynrec for wii

Hi fishbone, Actually we(my teammate and myself) work on this port as a school project and for the final defense we release a working version. I keep the version that I uploaded in order to make the dynrec working (but I failed). By "zero-key" you mean the virtual keyboard ?

Re: Powerpc dynrec for wii

Hello, You are right about the "epitech"-port (even if I dislike this term, it's just a port on wii :)). But this version was faster than the old tantric's version (because we used gcc4 earlier) since they recompiled dosbox using the last version of devkitpro they got a faster version. About the …

Re: Powerpc dynrec for wii

Hello fishbone, I uploaded the whole directory for you, get it here . It also contains the version of Julian. The last time I tried to debug it, I managed to make the prompt works but, for some reason, every time I type a character it adds an extra space. I still don't know why it doesn't work, it …

Re: Powerpc dynrec for wii

Alright, so if I comment all mov (0xb?) in decoder.h, dosbox calls CPU_Interrupt, CPU_STI, PROGRAMS_Handle(the callback), CPU_IRET. It looks like dyn_mov_byte_imm and dyn_mov_word_imm are broken, do you have an idea about where the problem is ?

Re: Powerpc dynrec for wii

Do you have a debugger-enabled build for linux/windows at hand? As it's quite nice to actually know what *should* be executed Sure, I'm using powerpc-gekko-gdb, it's a gdb version for wii. Wii is connected to my PC throught usbgecko. Yes, the instructions executed for mount should be INT, then STI, …

Re: Powerpc dynrec for wii

Can you trace this with the dosbox debugger? Like put a bpint at 21 for ah=4b, then type mount and trace into the call. There should be an sti, the callback and the iret. Log the BlockReturn value that you get from runcode, that should have the Callback type and core_dynrec.callback contains the …

Re: Powerpc dynrec for wii

What exactly do you want to do, like do you have a debugger-enabled build that you can run on the wii and you want to put a breakpoint on the target of int21/4b (program start) for the recompiled code? That's it. I set breakpoints at DOS_21Handler and DOS_Execute and PROGRAMS_Handler . DOS_ …

Re: Powerpc dynrec for wii

Alright, now dosbox is able to call DOS_21Handler. This function calls DOS_Execute which returns true so it's OK, but it still doesn't work, for instance : if I execute "INTRO" command, nothing happens. It works only if dosbox doesn't use dyn_mov_byte_imm and dyn_mov_word_imm (in other word, if I …

Re: Powerpc dynrec for wii

Finally, I figure out the main problem, it's about the endian. Wii is in big endian, so I defined WORDS_BIGENDIAN 1 When MOUNT is called, DOSBox executes this piece of code static Bit8u exe_block[]={ [b]0xbc,0x00,0x04, //MOV SP,0x400 decrease stack size[/b] 0xbb,0x40,0x00, //MOV BX,0x040 for memory …

Powerpc dynrec for wii

Hello, I'm working on a port of dosbox on wii (I know, it was already done, but it's for a school project). To make it go faster, I'm writing a dynrec for powerpc, but I have some trouble with it : I can make it draw the prompt but I'm unable to write anything with the keyboard, neither mount drive. …

Page 1 of 1