78 switch( resource->
type ) {
80 if ( image->bankAssigned != -1 ) {
83 sprintf(alreadyLoadedLabel,
"%salready", label );
86 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
89 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
126 resource.
realName = strdup( bankWindowName );
129 gime_flip_image( _environment, &resource, NULL, NULL, image->frameSize, 0, _direction );
131 if ( ! image->readonly ) {
138 gime_flip_image( _environment, resource,
"",
"", image->frameSize, image->frameCount, _direction );
140 gime_flip_image( _environment, resource, frame->
realName,
"", image->frameSize, image->frameCount, _direction );
144 gime_flip_image( _environment, resource,
"", sequence->
realName, image->frameSize, image->frameCount, _direction );
152 if ( image->bankAssigned != -1 ) {
155 sprintf(alreadyLoadedLabel,
"%salready", label );
158 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
161 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
190 resource.
realName = strdup( bankWindowName );
193 gime_flip_image( _environment, &resource, NULL, NULL, image->frameSize, 0, _direction );
195 if ( ! image->readonly ) {
201 gime_flip_image( _environment, resource,
"", NULL, image->frameSize, 0, _direction );
209 if ( image->bankAssigned != -1 ) {
212 sprintf(alreadyLoadedLabel,
"%salready", label );
215 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
218 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
221 if ( image->uncompressedSize ) {
224 bank_read_semi_var( _environment, image->bankAssigned, image->absoluteAddress, bankWindowName, image->size );
227 cpu_label( _environment, alreadyLoadedLabel );
230 resource.
realName = strdup( bankWindowName );
233 gime_flip_image( _environment, &resource, NULL, NULL, 0, 0, _direction );
235 if ( ! image->readonly && ( image->uncompressedSize == 0 ) ) {
236 bank_write_semi_var( _environment, bankWindowName, image->bankAssigned, image->absoluteAddress, image->size );
240 gime_flip_image( _environment, resource, NULL, NULL, 0, 0, _direction );