67 if ( image->uncompressedSize ) {
82 switch( resource->
type ) {
84 if ( image->bankAssigned != -1 ) {
87 sprintf(alreadyLoadedLabel,
"%salready", label );
90 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
93 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
135 ef936x_flip_image( _environment, &resource, NULL, NULL, image->frameSize, 0, _direction );
144 ef936x_flip_image( _environment, resource,
"",
"", image->frameSize, image->frameCount, _direction );
158 if ( image->bankAssigned != -1 ) {
161 sprintf(alreadyLoadedLabel,
"%salready", label );
164 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
167 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
201 ef936x_flip_image( _environment, &resource, NULL, NULL, image->frameSize, 0, _direction );
209 ef936x_flip_image( _environment, resource,
"", NULL, image->frameSize, 0, _direction );
217 if ( image->bankAssigned != -1 ) {
220 sprintf(alreadyLoadedLabel,
"%salready", label );
223 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
226 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
229 if ( image->uncompressedSize ) {
232 bank_read_semi_var( _environment, image->bankAssigned, image->absoluteAddress, bankWindowName, image->size );
235 cpu_label( _environment, alreadyLoadedLabel );
238 resource.
realName = strdup( bankWindowName );
241 bank_set( _environment, image->bankAssigned );
245 if ( ! image->readonly && ( image->uncompressedSize == 0 ) ) {
246 bank_write_semi_var( _environment, bankWindowName, image->bankAssigned, image->absoluteAddress, image->size );