i need to start caring about carry >.<
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
#pragma once
|
||||
#include <ircolib/types.hpp>
|
||||
|
||||
namespace weee::core {
|
||||
struct mem;
|
||||
struct ai {
|
||||
ai(mem &);
|
||||
|
||||
ircolib::u32 read32(ircolib::u32);
|
||||
void write32(ircolib::u32, ircolib::u32);
|
||||
|
||||
union {
|
||||
struct {
|
||||
unsigned pstat : 1;
|
||||
unsigned afr : 1;
|
||||
unsigned aiintmsk : 1;
|
||||
unsigned aiint : 1;
|
||||
unsigned aiintvld : 1;
|
||||
unsigned screset : 1;
|
||||
unsigned dsp_sr : 1;
|
||||
unsigned : 25;
|
||||
};
|
||||
ircolib::u32 raw;
|
||||
} ctrl;
|
||||
};
|
||||
} // namespace weee::core
|
||||
Reference in New Issue
Block a user