Disable
Previous  Next

Description: Disables <DeviceType>

     Syntax:
     
Disable <DeviceType> [, <DeviceId>]

Part
Description
<DeviceType>
Required.The target device to disable.
<DeviceId>
Required. This sets the Data Type of the variable

<DevideType>
Description
InterruptExternal
Interrupt External
ExtInt
InterruptExtInt
Disables the external interrupt from the controller/expansion ports. The HV counter is no longer being latched, so you can read it at this point.

You will need to specify the <DeviceId> in order for it to function properly.
InterruptHBlank
Interrupt HBlank
HBlank
Disables the horizontal interrupt.
InterruptVBlank
Interrupt VBlank
VBlank
Disables the vertical interrupt.
Screen
Disables the screen. Blanking signals are still sent to the TV and the only component drawn is the backdrop color. Horizontal and vertical interrupts are disabled, as are the status signals, so any status dependent routines will freeze, such as Sleep.
Sram
Disables Sram access.
Window
Resets the Window plane.

Notes:<DeviceId> is only for the external interrupts. Valid values are:

Example:

        Disable ExtInt, 1
        Disable VBlank