getting conditional branch now
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include <broadway/mmio/vi.hpp>
|
||||
#include "ircolib/log.hpp"
|
||||
|
||||
namespace weee::core {
|
||||
void video_interface::write(ircolib::u32 addr, ircolib::u16 value) {
|
||||
addr -= 0x0c002000;
|
||||
switch (addr) {
|
||||
case 2:
|
||||
dcr.raw = value;
|
||||
break;
|
||||
default:
|
||||
ircolib::panic("video_interface::write to unimplemented addr 0x{:04X} with value 0x{:04X}", addr, value);
|
||||
}
|
||||
}
|
||||
} // namespace weee::core
|
||||
Reference in New Issue
Block a user