|
Jo Engine
2024.04.28
Jo Sega Saturn Engine
|
Go to the documentation of this file.
38 # define __JO_SMPC_H__
140 (*(
volatile unsigned char *)(addr)) = data;
144 return (*(
volatile unsigned char *)(addr));
@ StatusFlag
Status Flag. Shows the status of the SMPC command. Normally you set this to 1 when issuing out a comm...
Definition: smpc.h:88
@ StatusRegister
Status Register.
Definition: smpc.h:86
@ OutputRegister2
Definition: smpc.h:100
@ EnableSlaveCPU
Resets and enables the SH-2 Slave CPU.
Definition: smpc.h:46
@ OutputRegister23
Definition: smpc.h:121
@ FetchStatusAndPeripheralData
Fetches the SMPC status and peripheral data.
Definition: smpc.h:68
@ SendNMIRequestToMasterCPU
Sends an NMI request to the Master SH2.
Definition: smpc.h:74
@ OutputRegister14
Definition: smpc.h:112
@ InputRegister2
Definition: smpc.h:92
@ SetSMPCMemory
Sets the 4-byte battery-backed memory contained on the SMPC(which is used by the bios for language se...
Definition: smpc.h:72
@ OutputRegister3
Definition: smpc.h:101
@ EnableNetlink
Resets and enables Netlink execution.
Definition: smpc.h:58
@ InputRegister0
Input registers for command issuing. Whatever data the SMPC needs for processing command goes here.
Definition: smpc.h:90
static __jo_force_inline void jo_smpc_write_byte(jo_smpc_memory_address addr, unsigned char data)
Definition: smpc.h:138
@ OutputRegister22
Definition: smpc.h:120
@ InputRegister4
Definition: smpc.h:94
@ ChangeSystemClockSpeed352
Changes the system clockspeed.
Definition: smpc.h:64
@ ExternalLatchEnableRegister
Definition: smpc.h:135
@ OutputRegister28
Definition: smpc.h:126
@ OutputRegister8
Definition: smpc.h:106
@ OutputRegister4
Definition: smpc.h:102
@ InputRegister5
Definition: smpc.h:95
jo_smpc_command
SMPC Commands.
Definition: smpc.h:42
@ DisableCD
Disables the CD Block.
Definition: smpc.h:56
@ EnableCD
Resets and enables the CD Block.
Definition: smpc.h:54
@ OutputRegister18
Definition: smpc.h:116
@ InputRegister1
Definition: smpc.h:91
@ OutputRegister12
Definition: smpc.h:110
static __jo_force_inline unsigned char jo_smpc_read_byte(jo_smpc_memory_address addr)
Definition: smpc.h:142
#define __jo_force_inline
force inline attribute (and prevent Doxygen prototype parsing bug)
Definition: types.h:39
@ DataDirectionRegister2
Definition: smpc.h:133
@ OutputRegister25
Definition: smpc.h:123
@ OutputRegister19
Definition: smpc.h:117
@ OutputRegister5
Definition: smpc.h:103
@ DisableReset
Disables NMI requests to be sent when the Reset button is pressed.
Definition: smpc.h:78
@ OutputRegister15
Definition: smpc.h:113
@ InputRegister3
Definition: smpc.h:93
@ CommandRegister
The command that's supposed to be issued by the SMPC.
Definition: smpc.h:84
@ OutputRegister26
Definition: smpc.h:124
@ OutputRegister31
Definition: smpc.h:129
@ EnableMasterCPU
Resets and enables the SH-2 Master CPU.
Definition: smpc.h:44
@ OutputRegister1
Definition: smpc.h:99
static __jo_force_inline void jo_smpc_wait(void)
Definition: smpc.h:146
@ EnableReset
Enables NMI requests to be sent when the Reset button is pressed.
Definition: smpc.h:76
@ InputRegister6
Definition: smpc.h:96
@ ChangeSystemClockSpeed320
Changes the system clockspeed.
Definition: smpc.h:66
@ DisableNetlink
Disables Netlink execution.
Definition: smpc.h:60
@ OutputRegister7
Definition: smpc.h:105
jo_smpc_memory_address
Definition: smpc.h:82
@ OutputRegister9
Definition: smpc.h:107
@ PortDataRegister1
Definition: smpc.h:130
static __jo_force_inline void jo_smpc_begin_command(void)
Definition: smpc.h:150
@ SystemReset
Resets the System.
Definition: smpc.h:62
@ OutputRegister21
Definition: smpc.h:119
@ DataDirectionRegister1
Definition: smpc.h:132
@ OutputRegister30
Definition: smpc.h:128
@ OutputRegister16
Definition: smpc.h:114
@ PortDataRegister2
Definition: smpc.h:131
@ OutputRegister11
Definition: smpc.h:109
@ OutputRegister10
Definition: smpc.h:108
@ OutputRegister20
Definition: smpc.h:118
@ OutputRegister17
Definition: smpc.h:115
@ OutputRegister27
Definition: smpc.h:125
@ SetRTCDateAndTime
Sets the date and time for the RTC.
Definition: smpc.h:70
@ OutputRegister6
Definition: smpc.h:104
@ InputOutputSelectRegister
Definition: smpc.h:134
@ DisableSoundCPU
Disables the Motorola C68K (sound) CPU.
Definition: smpc.h:52
@ OutputRegister29
Definition: smpc.h:127
@ EnableSoundCPU
Resets and enables the Motorola C68K (sound) CPU.
Definition: smpc.h:50
@ OutputRegister24
Definition: smpc.h:122
@ OutputRegister13
Definition: smpc.h:111
static __jo_force_inline void jo_smpc_end_command(jo_smpc_command command)
Definition: smpc.h:155
@ OutputRegister0
Ouput Register for the command. If it supports it, it'll output any return data here.
Definition: smpc.h:98
@ DisableSlaveCPU
Disables the SH-2 Slave CPU.
Definition: smpc.h:48