mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-05-24 07:11:19 +00:00
Starting to test addressings modes
This commit is contained in:
@@ -287,6 +287,16 @@ Test(BusRead, ReadROM)
|
||||
cr_assert_eq(data, 123);
|
||||
}
|
||||
|
||||
Test(BusRead, ReadROMStart)
|
||||
{
|
||||
auto pair = Init();
|
||||
uint8_t data;
|
||||
|
||||
pair.second.cartridge->_data[0] = 123;
|
||||
data = pair.first.read(0x808000);
|
||||
cr_assert_eq(data, 123);
|
||||
}
|
||||
|
||||
Test(BusRead, ReadCPU)
|
||||
{
|
||||
auto pair = Init();
|
||||
|
||||
Reference in New Issue
Block a user