Latest compatible version of Classicube from the original GitHub repository (https://github.com/ClassiCube/ClassiCube) that can be compiled on Classicube for PowerMac PPC running Mac OS X 10.4.

This commit is contained in:
Andrei Alexandru
2025-12-17 13:17:57 +02:00
commit c71492f846
1248 changed files with 422858 additions and 0 deletions

View File

@@ -0,0 +1,72 @@
/*
* Copyright (c) 2021 Max Thomas
* This file is part of DSiWifi and is distributed under the MIT license.
* See dsiwifi_license.txt for terms of use.
*/
#ifndef _DSIWIFI_CMDS_H
#define _DSIWIFI_CMDS_H
// ARM9->ARM7
#define WIFI_IPCCMD_NOP (0)
#define WIFI_IPCCMD_INIT_IOP (1)
#define WIFI_IPCCMD_INITBUFS (2)
#define WIFI_IPCCMD_SENDPKT (3)
#define WIFI_IPCCMD_GET_DEVICE_MAC (4)
#define WIFI_IPCCMD_GET_AP_MAC (5)
// ARM7->ARM9
#define WIFI_IPCINT_NOP (0)
#define WIFI_IPCINT_READY (1)
#define WIFI_IPCINT_CONNECT (2)
#define WIFI_IPCINT_DEVICE_MAC (3)
#define WIFI_IPCINT_AP_MAC (4)
#define WIFI_IPCINT_PKTDATA (5)
#define WIFI_IPCINT_DBGLOG (6)
#define WIFI_IPCINT_PKTSENT (7)
typedef struct Wifi_FifoMsg
{
u32 cmd;
union
{
struct
{
u8 mac_addr[6];
u8 pad[2];
};
struct
{
void* pkt_data;
u32 pkt_len;
};
};
} Wifi_FifoMsg;
// Includes bytes for logging
typedef struct Wifi_FifoMsgExt
{
u32 cmd;
union
{
struct
{
u8 mac_addr[6];
u8 pad[2];
};
struct
{
void* pkt_data;
u32 pkt_len;
};
struct
{
char log_str[64-4];
};
};
} Wifi_FifoMsgExt;
#endif // _DSIWIFI_CMDS_H