- implement Tandy special 4-color palette handling
- remove 3d8/3d9 from PCJr mode (PCJr didn't have it) - update INT10 palette functions accordingly - add a level of indirection to Tandy and PCjr palette deconding to fix video recording with on-screen palette changes - enable line-by-line emulation for Tandy too - machine-specific implementation of the color when display is disabled (vgaonly too) - enable the light pen stub on all machines that it is documented for - mask off a bank-selection bit that is not used under a specific circumstance Fixes Alley Cat palette on PCJr, Gauntlet, Ghostbusters, Pirates! on Tandy, Video recording on Tandy/PCJr where the palette is changed on-screen Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3647
This commit is contained in:
parent
959ea1527f
commit
c2622359f9
5 changed files with 327 additions and 130 deletions
|
@ -140,7 +140,8 @@ static Bitu INT10_Handler(void) {
|
|||
reg_ah=(Bit8u)real_readw(BIOSMEM_SEG,BIOSMEM_NB_COLS);
|
||||
break;
|
||||
case 0x10: /* Palette functions */
|
||||
if ((machine==MCH_CGA) || ((!IS_VGA_ARCH) && (reg_al>0x03))) break;
|
||||
if (!IS_EGAVGA_ARCH && (reg_al>0x02)) break;
|
||||
else if (!IS_VGA_ARCH && (reg_al>0x03)) break;
|
||||
switch (reg_al) {
|
||||
case 0x00: /* SET SINGLE PALETTE REGISTER */
|
||||
INT10_SetSinglePaletteRegister(reg_bl,reg_bh);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue