File tree 2 files changed +12
-1
lines changed
2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -307,9 +307,19 @@ void xavix_state::xavix_1mb_extbus_map(address_map &map)
307
307
map (0x000000 , 0x0fffff ).mirror (0x700000 ).rom ().region (" bios" , 0x00000 );
308
308
}
309
309
310
+ void xavix_state::mainram_w (offs_t offset, uint8_t data)
311
+ {
312
+ m_mainram[offset] = data;
313
+
314
+ // trying to debug anpanmdx title screen issue
315
+ // if ((offset == 0x3d) && (data == 0x77))
316
+ // logerror("%s: writing 0x77 to 0x3d\n", machine().describe_context());
317
+ }
318
+
319
+
310
320
void xavix_state::xavix_lowbus_map (address_map &map)
311
321
{
312
- map (0x0000 , 0x3fff ).ram ().share (" mainram" );
322
+ map (0x0000 , 0x3fff ).ram ().w ( FUNC (xavix_state::mainram_w)). share (" mainram" );
313
323
314
324
// Memory Emulator / Text Array
315
325
map (0x4000 , 0x4fff ).rw (FUNC (xavix_state::xavix_memoryemu_txarray_r), FUNC (xavix_state::xavix_memoryemu_txarray_w));
Original file line number Diff line number Diff line change @@ -431,6 +431,7 @@ class xavix_state : public driver_device
431
431
void colmix_sh_w (offs_t offset, uint8_t data);
432
432
void colmix_l_w (offs_t offset, uint8_t data);
433
433
void spriteram_w (offs_t offset, uint8_t data);
434
+ void mainram_w (offs_t offset, uint8_t data);
434
435
bool m_sprite_xhigh_ignore_hack;
435
436
436
437
void tmap1_regs_w (offs_t offset, uint8_t data, uint8_t mem_mask = ~0 );
You can’t perform that action at this time.
0 commit comments