src/video/xbios/SDL_xbios.c
changeset 797 d0f1e34290d6
parent 769 b8d311d90021
child 801 ff1058d642dc
equal deleted inserted replaced
796:dec19b813b04 797:d0f1e34290d6
   130 
   130 
   131 /* Xbios driver bootstrap functions */
   131 /* Xbios driver bootstrap functions */
   132 
   132 
   133 static int XBIOS_Available(void)
   133 static int XBIOS_Available(void)
   134 {
   134 {
   135 	unsigned long cookie_vdo;
   135 	unsigned long cookie_vdo, cookie_mil, cookie_hade;
       
   136 
       
   137 	/* Milan/Hades Atari clones do not have an Atari video chip */
       
   138 	if ( (Getcookie(C__MIL, &cookie_mil) == C_FOUND) ||
       
   139 		(Getcookie(C_hade, &cookie_hade) == C_FOUND) ) {
       
   140 		return 0;
       
   141 	}
   136 
   142 
   137 	/* Cookie _VDO present ? if not, assume ST machine */
   143 	/* Cookie _VDO present ? if not, assume ST machine */
   138 	if (Getcookie(C__VDO, &cookie_vdo) != C_FOUND) {
   144 	if (Getcookie(C__VDO, &cookie_vdo) != C_FOUND) {
   139 		cookie_vdo = VDO_ST << 16;
   145 		cookie_vdo = VDO_ST << 16;
   140 	}
   146 	}