i need to start caring about carry >.<
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
#pragma once
|
||||
#include <ircolib/types.hpp>
|
||||
|
||||
namespace weee::core {
|
||||
struct mem;
|
||||
|
||||
struct memory_interface {
|
||||
union {
|
||||
struct {
|
||||
unsigned mem0 : 1;
|
||||
unsigned mem1 : 1;
|
||||
unsigned mem2 : 1;
|
||||
unsigned mem3 : 1;
|
||||
unsigned all : 1;
|
||||
unsigned : 27;
|
||||
};
|
||||
ircolib::u32 raw;
|
||||
} int_mask;
|
||||
|
||||
memory_interface(mem &);
|
||||
void write16(ircolib::u32, ircolib::u16);
|
||||
};
|
||||
} // namespace weee::core
|
||||
Reference in New Issue
Block a user