add partial ega-only machine
Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@2992
This commit is contained in:
parent
5c9a311f7b
commit
6188566e38
23 changed files with 208 additions and 111 deletions
|
@ -16,7 +16,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
/* $Id: dev_con.h,v 1.32 2007-06-30 19:33:45 c2woody Exp $ */
|
||||
/* $Id: dev_con.h,v 1.33 2007-09-20 16:42:43 c2woody Exp $ */
|
||||
|
||||
#include "dos_inc.h"
|
||||
#include "../ints/int10.h"
|
||||
|
@ -62,7 +62,7 @@ bool device_CON::Read(Bit8u * data,Bit16u * size) {
|
|||
readcache=0;
|
||||
}
|
||||
while (*size>count) {
|
||||
reg_ah=(machine==MCH_VGA)?0x10:0x0;
|
||||
reg_ah=(IS_EGAVGA_ARCH)?0x10:0x0;
|
||||
CALLBACK_RunRealInt(0x16);
|
||||
switch(reg_al) {
|
||||
case 13:
|
||||
|
|
|
@ -887,7 +887,7 @@ Bitu keyboard_layout::read_codepage_file(const char* codepage_file_name, Bit32s
|
|||
dos.loaded_codepage=(Bit16u)(codepage_id&0xffff);
|
||||
|
||||
// update font if necessary
|
||||
if (font_changed && (CurMode->type==M_TEXT) && (machine==MCH_VGA)) {
|
||||
if (font_changed && (CurMode->type==M_TEXT) && (IS_EGAVGA_ARCH)) {
|
||||
INT10_LoadFont(Real2Phys(int10.rom.font_16),true,256,0,0,16);
|
||||
}
|
||||
INT10_SetupRomMemoryChecksum();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue