Skip to content

Commit

Permalink
damn :) hooray for proper testing!
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.code.sf.net/p/vice-emu/code/trunk@45289 379a1393-f5fb-40a0-bcee-ef074d9b53f7
  • Loading branch information
mrdudz committed Aug 9, 2024
1 parent 538f1ae commit e5adeb7
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions vice/src/plus4/ted.c
Original file line number Diff line number Diff line change
Expand Up @@ -502,10 +502,11 @@ void ted_update_memory_ptrs(unsigned int cycle)
screen_addr = ((ted.regs[0x14] & 0xf8) << 8) | 0x400;
screen_base = mem_get_tedmem_base((screen_addr >> 14) | cpu_romsel)
+ (screen_addr & 0x3fff);
#if 0
if (cpu_romsel && (screen_addr < 0x8000)) {
screen_base = mem_get_open_space();
}

#endif
TED_DEBUG_REGISTER(("\tVideo memory at $%04X", screen_addr));

bitmap_addr = (ted.regs[0x12] & 0x38) << 10;
Expand All @@ -530,10 +531,11 @@ void ted_update_memory_ptrs(unsigned int cycle)
color_addr = ((ted.regs[0x14] & 0xf8) << 8);
color_base = mem_get_tedmem_base((color_addr >> 14) | cpu_romsel)
+ (color_addr & 0x3fff);
#if 0
if (cpu_romsel && (color_addr < 0x8000)) {
color_base = mem_get_open_space();
}

#endif
TED_DEBUG_REGISTER(("\tColor memory at $%04X", color_addr));

tmp = TED_RASTER_CHAR(cycle);
Expand Down

0 comments on commit e5adeb7

Please sign in to comment.