Make "1987.elf" work.
Posted on 2005-09-06 00:00:00
Completed the function editor to a usable state for now. It allows you to view a list of currently configured functions, import the list from the ELF symbols table, add and delete functions from the list.

Also changed the disassembly a bit to display the function names and the jump targets for easier comprehension of the program.

Added opcodes J and DSRA32 in the basic R5xxx core.

Fixed a stupid problem with the calculation of the stack pointer address upon the call of the RFU060 system call. I was dumb enough to only copy the provided stack address as the real stack pointer when it should actually be the provided address plus the stack size, since it grows backwards... That caused a problem in the __do_global_ctors function of this demo. The method of loading the executable into memory has also been changed to something more appropriate because I thought that it was probably caused by a problem with this method.

Work on implementing the basic COP0/COP1 functionality has started.