/dports/games/libretro-dosbox/dosbox-libretro-aa71b67/src/ints/ |
H A D | int10_modes.cpp | 388 CurMode = &ModeList_VGA_Text_200lines[CurMode->mode]; in SetTextLines() 395 CurMode = &ModeList_VGA_Text_350lines[CurMode->mode]; in SetTextLines() 504 if (CurMode->mode<=3 || CurMode->mode==7) in FinishSetMode() 559 IO_WriteW(crtc_base,0x07 | (CurMode->vdispend + ((CurMode->vtotal - CurMode->vdispend)/2)-1) << 8); in INT10_SetVideoMode_OTHER() 646 if (CurMode->mode == 0x6 || CurMode->mode==0xa) color_select=0x3f; in INT10_SetVideoMode_OTHER() 674 if (CurMode->mode == 0x6 || CurMode->mode==0xa) color_select=0x3f; in INT10_SetVideoMode_OTHER() 772 if ((CurMode->type==M_TEXT) && (CurMode->cwidth==9)) { in INT10_SetVideoMode() 858 …if ((CurMode->special & _EGA_HALF_CLOCK) && (CurMode->type!=M_CGA2)) ret_start = (CurMode->hdispen… in INT10_SetVideoMode() 859 else if (CurMode->type==M_TEXT) ret_start = (CurMode->hdispend+5); in INT10_SetVideoMode() 870 } else if (CurMode->type==M_TEXT) ret_end = (CurMode->htotal-3) & 0x1f; in INT10_SetVideoMode() [all …]
|
H A D | int10_put_pixel.cpp | 31 switch (CurMode->type) { in INT10_PutPixel() 103 offset = (y >> 2) * (CurMode->swidth >> 1) + (x>>1); in INT10_PutPixel() 109 offset = (y >> 1) * (CurMode->swidth >> 1) + (x>>1); in INT10_PutPixel() 132 (CurMode->swidth>800)) { in INT10_PutPixel() 149 if (CurMode->plength!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)) in INT10_PutPixel() 151 if (CurMode->swidth!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8) in INT10_PutPixel() 170 if (CurMode->swidth!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8) in INT10_PutPixel() 186 switch (CurMode->type) { in INT10_GetPixel() 212 offset = (y >> 2) * (CurMode->swidth >> 1) + (x>>1); in INT10_GetPixel() 216 offset = (y >> 1) * (CurMode->swidth >> 1) + (x>>1); in INT10_GetPixel() [all …]
|
H A D | int10_char.cpp | 35 Bitu nextline=CurMode->twidth; in CGA2_CopyRow() 72 Bitu nextline=CurMode->twidth; in EGA16_CopyRow() 206 PhysPt base=CurMode->pstart; in INT10_ScrollWindow() 240 switch (CurMode->type) { in INT10_ScrollWindow() 273 switch (CurMode->type) { in INT10_ScrollWindow() 411 switch (CurMode->type) { in ReadCharAttr() 493 switch (CurMode->type) { in WriteChar() 538 switch(CurMode->type) { in WriteChar() 557 switch (CurMode->type) { in WriteChar() 597 switch (CurMode->type) { in INT10_WriteChar() [all …]
|
H A D | int10_misc.cpp | 111 switch (CurMode->type) { in INT10_GetFuncStateInformation() 113 if (CurMode->mode==0x7) col_count=1; else col_count=16;break; in INT10_GetFuncStateInformation() 119 if (CurMode->mode==0x11 || CurMode->mode==0x0f) in INT10_GetFuncStateInformation() 127 LOG(LOG_INT10,LOG_ERROR)("Get Func State illegal mode type %d",CurMode->type); in INT10_GetFuncStateInformation() 132 mem_writeb(save+0x29,CurMode->ptotal); in INT10_GetFuncStateInformation() 134 switch (CurMode->sheight) { in INT10_GetFuncStateInformation() 145 if (CurMode->type==M_TEXT) mem_writeb(save+0x2d,0x21); in INT10_GetFuncStateInformation()
|
/dports/emulators/dosbox-staging/dosbox-staging-0.78.0/src/ints/ |
H A D | int10_modes.cpp | 453 CurMode = ModeList_VGA_Text_200lines.begin() + CurMode->mode; in SetTextLines() 460 CurMode = ModeList_VGA_Text_350lines.begin() + CurMode->mode; in SetTextLines() 581 if (CurMode->mode<=3 || CurMode->mode==7) in FinishSetMode() 655 IO_WriteW(crtc_base,0x07 | (CurMode->vdispend + ((CurMode->vtotal - CurMode->vdispend)/2)-1) << 8); in INT10_SetVideoMode_OTHER() 658 switch (CurMode->type) { in INT10_SetVideoMode_OTHER() 746 if (CurMode->mode == 0x6 || CurMode->mode==0xa) color_select=0x3f; in INT10_SetVideoMode_OTHER() 774 if (CurMode->mode == 0x6 || CurMode->mode==0xa) color_select=0x3f; in INT10_SetVideoMode_OTHER() 890 if ((CurMode->type==M_TEXT) && (CurMode->cwidth==9)) misc_output|=0x4; in INT10_SetVideoMode() 917 switch (CurMode->type) { in INT10_SetVideoMode() 994 if ((CurMode->special & EGA_HALF_CLOCK) && (CurMode->type != M_CGA2)) in INT10_SetVideoMode() [all …]
|
H A D | int10_put_pixel.cpp | 30 switch (CurMode->type) { in INT10_PutPixel() 102 offset = (y >> 2) * (CurMode->swidth >> 1) + (x>>1); in INT10_PutPixel() 108 offset = (y >> 1) * (CurMode->swidth >> 1) + (x>>1); in INT10_PutPixel() 131 (CurMode->swidth>800)) { in INT10_PutPixel() 157 if (CurMode->plength != in INT10_PutPixel() 160 ("PutPixel_EGA_p: %u != %x", CurMode->plength, in INT10_PutPixel() 162 if (CurMode->swidth != in INT10_PutPixel() 165 ("PutPixel_EGA_w: %u!=%x", CurMode->swidth, in INT10_PutPixel() 207 switch (CurMode->type) { in INT10_GetPixel() 233 offset = (y >> 2) * (CurMode->swidth >> 1) + (x>>1); in INT10_GetPixel() [all …]
|
H A D | int10_char.cpp | 34 Bitu nextline=CurMode->twidth; in CGA2_CopyRow() 56 Bit8u banks=CurMode->twidth/10; in TANDY16_CopyRow() 71 Bitu nextline=CurMode->twidth; in EGA16_CopyRow() 217 PhysPt base=CurMode->pstart; in INT10_ScrollWindow() 251 switch (CurMode->type) { in INT10_ScrollWindow() 284 switch (CurMode->type) { in INT10_ScrollWindow() 421 switch (CurMode->type) { in ReadCharAttr() 507 switch (CurMode->type) { in WriteChar() 552 switch(CurMode->type) { in WriteChar() 571 switch (CurMode->type) { in WriteChar() [all …]
|
H A D | int10_misc.cpp | 133 switch (CurMode->type) { in INT10_GetFuncStateInformation() 135 if (CurMode->mode==0x7) col_count=1; else col_count=16;break; in INT10_GetFuncStateInformation() 141 if (CurMode->mode==0x11 || CurMode->mode==0x0f) in INT10_GetFuncStateInformation() 149 LOG(LOG_INT10,LOG_ERROR)("Get Func State illegal mode type %d",CurMode->type); in INT10_GetFuncStateInformation() 154 mem_writeb(save+0x29,CurMode->ptotal); in INT10_GetFuncStateInformation() 156 switch (CurMode->sheight) { in INT10_GetFuncStateInformation() 167 if (CurMode->type==M_TEXT) mem_writeb(save+0x2d,0x21); in INT10_GetFuncStateInformation()
|
H A D | int10_pal.cpp | 55 if (CurMode->mode!=0x0a) { in INT10_SetSinglePaletteRegister() 171 if (CurMode->type!=M_TEXT) return; in INT10_ToggleBlinkingBit() 173 Bit8u value = (CurMode->cwidth==9)? 0x4:0x0; in INT10_ToggleBlinkingBit() 332 switch(CurMode->mode) { in INT10_SetBackgroundBorder() 369 if (CurMode->mode <= 3) in INT10_SetBackgroundBorder() 392 switch (CurMode->mode) { in INT10_SetColorSelect() 416 if (CurMode->mode <= 3) //Maybe even skip the total function! in INT10_SetColorSelect()
|
/dports/emulators/dosbox/dosbox-0.74-3/src/ints/ |
H A D | int10_modes.cpp | 478 IO_WriteW(crtc_base,0x07 | (CurMode->vdispend + ((CurMode->vtotal - CurMode->vdispend)/2)-1) << 8); in INT10_SetVideoMode_OTHER() 482 switch(CurMode->type) { in INT10_SetVideoMode_OTHER() 560 if (CurMode->mode == 0x6 || CurMode->mode==0xa) color_select=0x3f; in INT10_SetVideoMode_OTHER() 588 if (CurMode->mode == 0x6 || CurMode->mode==0xa) color_select=0x3f; in INT10_SetVideoMode_OTHER() 665 CurMode = &ModeList_VGA_Text_200lines[CurMode->mode]; in INT10_SetVideoMode() 669 CurMode = &ModeList_VGA_Text_350lines[CurMode->mode]; in INT10_SetVideoMode() 696 if ((CurMode->type==M_TEXT) && (CurMode->cwidth==9)) { in INT10_SetVideoMode() 782 …if ((CurMode->special & _EGA_HALF_CLOCK) && (CurMode->type!=M_CGA2)) ret_start = (CurMode->hdispen… in INT10_SetVideoMode() 783 else if (CurMode->type==M_TEXT) ret_start = (CurMode->hdispend+5); in INT10_SetVideoMode() 794 } else if (CurMode->type==M_TEXT) ret_end = (CurMode->htotal-3) & 0x1f; in INT10_SetVideoMode() [all …]
|
H A D | int10_char.cpp | 34 Bitu nextline=CurMode->twidth; in CGA2_CopyRow() 73 Bitu nextline=CurMode->twidth; in EGA16_CopyRow() 113 Bitu nextline=CurMode->twidth; in CGA2_FillRow() 226 switch (CurMode->type) { in INT10_ScrollWindow() 241 (CurMode->swidth<=800)) { in INT10_ScrollWindow() 259 switch (CurMode->type) { in INT10_ScrollWindow() 397 switch (CurMode->type) { in ReadCharAttr() 463 switch (CurMode->type) { in WriteChar() 500 switch(CurMode->type) { in WriteChar() 522 if (CurMode->type==M_EGA) { in WriteChar() [all …]
|
H A D | int10_put_pixel.cpp | 32 switch (CurMode->type) { in INT10_PutPixel() 80 Bit16u off=(y>>((scanlines_m1==1)?1:2))*(CurMode->swidth>>1)+(x>>1); in INT10_PutPixel() 99 (CurMode->swidth>800)) { in INT10_PutPixel() 116 if (CurMode->plength!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)) in INT10_PutPixel() 118 if (CurMode->swidth!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8) in INT10_PutPixel() 137 if (CurMode->swidth!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8) in INT10_PutPixel() 153 switch (CurMode->type) { in INT10_GetPixel() 173 if (CurMode->plength!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_PAGE_SIZE)) in INT10_GetPixel() 175 if (CurMode->swidth!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8) in INT10_GetPixel() 196 if (CurMode->swidth!=(Bitu)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS)*8) in INT10_GetPixel() [all …]
|
H A D | int10_misc.cpp | 112 switch (CurMode->type) { in INT10_GetFuncStateInformation() 114 if (CurMode->mode==0x7) col_count=1; else col_count=16;break; in INT10_GetFuncStateInformation() 120 if (CurMode->mode==0x11 || CurMode->mode==0x0f) in INT10_GetFuncStateInformation() 128 LOG(LOG_INT10,LOG_ERROR)("Get Func State illegal mode type %d",CurMode->type); in INT10_GetFuncStateInformation() 133 mem_writeb(save+0x29,CurMode->ptotal); in INT10_GetFuncStateInformation() 135 switch (CurMode->sheight) { in INT10_GetFuncStateInformation() 146 if (CurMode->type==M_TEXT) mem_writeb(save+0x2d,0x21); in INT10_GetFuncStateInformation()
|
/dports/editors/lazarus/lazarus/ide/ |
H A D | buildmodesmanager.pas | 187 CurMode: TProjectBuildMode; 446 CurMode:=fBuildModes[i]; 470 CurMode:=fBuildModes[i] 472 CurMode:=nil; 496 CurMode:=nil; 507 if CurMode<>nil then 532 CurMode:=fBuildModes[i]; 591 CurMode:=fBuildModes[i]; 636 CurMode:=fBuildModes[i]; 648 CurMode.InSession:=b; [all …]
|
H A D | buildmodediffdlg.pas | 182 CurMode: TProjectBuildMode; 203 CurMode:=BuildModes[i]; 204 if CurMode=BaseMode then continue; 207 ModeNode:=DiffTreeView.Items.Add(nil, Format(lisMMFromTo, [CurMode. 211 BaseMode.CreateDiff(CurMode,DiffTool); 214 OldMode:=CurMode.Identifier;
|
H A D | modematrixopts.pas | 808 CurMode: string; 820 SetLength(CurMode,l); 821 System.Move(StartP^,CurMode[1],l); 824 for i:=length(CurMode) downto 1 do 825 if CurMode[i]=',' then 826 System.Insert(',',CurMode,i); 829 Result+=CurMode; 864 CurMode: String; 873 CurMode:=copy(CurModes,StartPos,p-StartP); 875 if DisableModeEvent(CurMode) then begin [all …]
|
/dports/editors/lazarus-qt5/lazarus/ide/ |
H A D | buildmodesmanager.pas | 187 CurMode: TProjectBuildMode; 446 CurMode:=fBuildModes[i]; 470 CurMode:=fBuildModes[i] 472 CurMode:=nil; 496 CurMode:=nil; 507 if CurMode<>nil then 532 CurMode:=fBuildModes[i]; 591 CurMode:=fBuildModes[i]; 636 CurMode:=fBuildModes[i]; 648 CurMode.InSession:=b; [all …]
|
H A D | buildmodediffdlg.pas | 182 CurMode: TProjectBuildMode; 203 CurMode:=BuildModes[i]; 204 if CurMode=BaseMode then continue; 207 ModeNode:=DiffTreeView.Items.Add(nil, Format(lisMMFromTo, [CurMode. 211 BaseMode.CreateDiff(CurMode,DiffTool); 214 OldMode:=CurMode.Identifier;
|
H A D | modematrixopts.pas | 808 CurMode: string; 820 SetLength(CurMode,l); 821 System.Move(StartP^,CurMode[1],l); 824 for i:=length(CurMode) downto 1 do 825 if CurMode[i]=',' then 826 System.Insert(',',CurMode,i); 829 Result+=CurMode; 864 CurMode: String; 873 CurMode:=copy(CurModes,StartPos,p-StartP); 875 if DisableModeEvent(CurMode) then begin [all …]
|
/dports/editors/lazarus-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/ide/ |
H A D | buildmodesmanager.pas | 195 CurMode: TProjectBuildMode; 467 CurMode:=fBuildModes[i]; 496 CurMode:=fBuildModes[i] 498 CurMode:=nil; 522 CurMode:=nil; 533 if CurMode<>nil then 558 CurMode:=fBuildModes[i]; 617 CurMode:=fBuildModes[i]; 662 CurMode:=fBuildModes[i]; 674 CurMode.InSession:=b; [all …]
|
H A D | buildmodediffdlg.pas | 188 CurMode: TProjectBuildMode; 209 CurMode:=BuildModes[i]; 210 if CurMode=BaseMode then continue; 213 ModeNode:=DiffTreeView.Items.Add(nil, Format(lisMMFromTo, [CurMode. 217 BaseMode.CreateDiff(CurMode,DiffTool); 220 OldMode:=CurMode.Identifier;
|
H A D | modematrixopts.pas | 808 CurMode: string; 820 SetLength(CurMode,l); 821 System.Move(StartP^,CurMode[1],l); 824 for i:=length(CurMode) downto 1 do 825 if CurMode[i]=',' then 826 System.Insert(',',CurMode,i); 829 Result+=CurMode; 864 CurMode: String; 873 CurMode:=copy(CurModes,StartPos,p-StartP); 875 if DisableModeEvent(CurMode) then begin [all …]
|
/dports/editors/lazarus-qt5-devel/lazarus-6df7e8756882f7d7f28f662011ee72f21746c580/ide/ |
H A D | buildmodesmanager.pas | 195 CurMode: TProjectBuildMode; 467 CurMode:=fBuildModes[i]; 496 CurMode:=fBuildModes[i] 498 CurMode:=nil; 522 CurMode:=nil; 533 if CurMode<>nil then 558 CurMode:=fBuildModes[i]; 617 CurMode:=fBuildModes[i]; 662 CurMode:=fBuildModes[i]; 674 CurMode.InSession:=b; [all …]
|
H A D | buildmodediffdlg.pas | 188 CurMode: TProjectBuildMode; 209 CurMode:=BuildModes[i]; 210 if CurMode=BaseMode then continue; 213 ModeNode:=DiffTreeView.Items.Add(nil, Format(lisMMFromTo, [CurMode. 217 BaseMode.CreateDiff(CurMode,DiffTool); 220 OldMode:=CurMode.Identifier;
|
H A D | modematrixopts.pas | 808 CurMode: string; 820 SetLength(CurMode,l); 821 System.Move(StartP^,CurMode[1],l); 824 for i:=length(CurMode) downto 1 do 825 if CurMode[i]=',' then 826 System.Insert(',',CurMode,i); 829 Result+=CurMode; 864 CurMode: String; 873 CurMode:=copy(CurModes,StartPos,p-StartP); 875 if DisableModeEvent(CurMode) then begin [all …]
|