added 8bit writes to window dimesnion components

This commit is contained in:
mightymax 2007-01-10 21:06:09 +00:00
parent a806f55c47
commit defa6952f8
1 changed files with 48 additions and 0 deletions

View File

@ -755,6 +755,54 @@ void FASTCALL MMU_write8(u32 proc, u32 adr, u8 val)
}
}
break;
case REG_DISPA_WIN0H:
GPU_setWINDOW_XDIM_Component(MainScreen.gpu,val,0) ;
break ;
case REG_DISPA_WIN0H+1:
GPU_setWINDOW_XDIM_Component(MainScreen.gpu,val,1) ;
break ;
case REG_DISPA_WIN1H:
GPU_setWINDOW_XDIM_Component(MainScreen.gpu,val,2) ;
break ;
case REG_DISPA_WIN1H+1:
GPU_setWINDOW_XDIM_Component(MainScreen.gpu,val,3) ;
break ;
case REG_DISPB_WIN0H:
GPU_setWINDOW_XDIM_Component(SubScreen.gpu,val,0) ;
break ;
case REG_DISPB_WIN0H+1:
GPU_setWINDOW_XDIM_Component(SubScreen.gpu,val,1) ;
break ;
case REG_DISPB_WIN1H:
GPU_setWINDOW_XDIM_Component(SubScreen.gpu,val,2) ;
break ;
case REG_DISPB_WIN1H+1:
GPU_setWINDOW_XDIM_Component(SubScreen.gpu,val,3) ;
break ;
case REG_DISPA_WIN0V:
GPU_setWINDOW_YDIM_Component(MainScreen.gpu,val,0) ;
break ;
case REG_DISPA_WIN0V+1:
GPU_setWINDOW_YDIM_Component(MainScreen.gpu,val,1) ;
break ;
case REG_DISPA_WIN1V:
GPU_setWINDOW_YDIM_Component(MainScreen.gpu,val,2) ;
break ;
case REG_DISPA_WIN1V+1:
GPU_setWINDOW_YDIM_Component(MainScreen.gpu,val,3) ;
break ;
case REG_DISPB_WIN0V:
GPU_setWINDOW_YDIM_Component(SubScreen.gpu,val,0) ;
break ;
case REG_DISPB_WIN0V+1:
GPU_setWINDOW_YDIM_Component(SubScreen.gpu,val,1) ;
break ;
case REG_DISPB_WIN1V:
GPU_setWINDOW_YDIM_Component(SubScreen.gpu,val,2) ;
break ;
case REG_DISPB_WIN1V+1:
GPU_setWINDOW_YDIM_Component(SubScreen.gpu,val,3) ;
break ;
#ifdef LOG_CARD
case 0x040001A0 : /* TODO (clear): ??? */
case 0x040001A1 :