X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=Pico%2FPicoInt.h;h=8f328ea8ed00d9f66239097eb6e34b715408e388;hb=c459aefdad169c97b6fb93a20c1219a76aa07505;hp=42424524a26d40b7d11b84cb2f276e8eca0f6e29;hpb=4f67228034eca76d85ff3e05571deb965e065791;p=picodrive.git diff --git a/Pico/PicoInt.h b/Pico/PicoInt.h index 4242452..8f328ea 100644 --- a/Pico/PicoInt.h +++ b/Pico/PicoInt.h @@ -124,7 +124,8 @@ struct PicoMisc unsigned char sram_slave; // EEPROM slave word for X24C02 and better SRAMs unsigned char prot_bytes[2]; // simple protection fakeing unsigned short dma_bytes; // - unsigned char pad1[6]; + unsigned char pad[2]; + unsigned int frame_count; // mainly for movies }; // some assembly stuff depend on these, do not touch! @@ -161,6 +162,14 @@ struct PicoSRAM #include "cd/cd_sys.h" #include "cd/LC89510.h" +struct mcd_misc +{ + unsigned short hint_vector; + unsigned char busreq; + unsigned char pad0; + +}; + typedef struct { unsigned char bios[0x20000]; @@ -170,10 +179,10 @@ typedef struct }; unsigned char word_ram[0x40000]; unsigned char s68k_regs[0x200]; - unsigned char m68k_regs[0x10]; CDD cdd; CDC cdc; _scd scd; + struct mcd_misc m; } mcd_state; #define Pico_mcd ((mcd_state *)Pico.rom) @@ -209,6 +218,7 @@ void PicoWriteCD32(unsigned int a, unsigned int d); extern struct Pico Pico; extern struct PicoSRAM SRam; extern int emustatus; +int CheckDMA(void); // cd/Pico.c int PicoInitMCD(void);