67 if ( image->bankAssigned != -1 ) {
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 );
130 resource.
realName = strdup( bankWindowName );
133 tms9918_flip_image( _environment, &resource, NULL, NULL, image->frameSize, 0, _direction );
135 if ( ! image->readonly ) {
143 tms9918_flip_image( _environment, resource,
"",
"", image->frameSize, image->frameCount, _direction );
157 if ( image->bankAssigned != -1 ) {
160 sprintf(alreadyLoadedLabel,
"%salready", label );
163 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
166 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
195 resource.
realName = strdup( bankWindowName );
198 tms9918_flip_image( _environment, &resource, NULL, NULL, image->frameSize, 0, _direction );
200 if ( ! image->readonly ) {
206 tms9918_flip_image( _environment, resource,
"", NULL, image->frameSize, 0, _direction );
214 if ( image->residentAssigned ) {
217 sprintf(alreadyLoadedLabel,
"%salready", label );
220 sprintf( bankWindowId,
"BANKWINDOWID%2.2x", image->residentAssigned );
223 sprintf( bankWindowName,
"BANKWINDOW%2.2x", image->residentAssigned );
226 if ( image->uncompressedSize ) {
229 bank_read_semi_var( _environment, image->bankAssigned, image->absoluteAddress, bankWindowName, image->size );
232 cpu_label( _environment, alreadyLoadedLabel );
235 resource.
realName = strdup( bankWindowName );