coastline 0.0.4
Loading...
Searching...
No Matches
mipscpu.h File Reference

An interpreter of the VR4300 processor of the Nintendo 64, for the import only. More...

#include <cstdint>
#include <functional>
#include <span>
#include <string>
#include <unordered_map>
#include <vector>
Include dependency graph for mipscpu.h:

Go to the source code of this file.

Classes

class  coastline::MipsCpu
 The VR4300 processor and the RDRAM it runs from. More...

Namespaces

namespace  coastline

Enumerations

enum  coastline::MipsRegister : int {
  coastline::MIPS_ZERO = 0 , coastline::MIPS_V0 = 2 , coastline::MIPS_V1 = 3 , coastline::MIPS_A0 = 4 ,
  coastline::MIPS_A1 = 5 , coastline::MIPS_A2 = 6 , coastline::MIPS_A3 = 7 , coastline::MIPS_SP = 29 ,
  coastline::MIPS_RA = 31
}
 The numbers of the general registers the calling convention gives a role. More...

Detailed Description

An interpreter of the VR4300 processor of the Nintendo 64, for the import only.

It runs the code of a cartridge from its RDRAM with the floating-point unit in the 32-bit register mode the compiled code of the cartridges expects. It has no TLB, no caches, no interrupts, and no other part of the console. The addresses of the registers of the console call a handler, and a hook on the address of a routine takes the place of the routine.