Project

General

Profile

Actions

Bug #406

open

Channel 0 To Screen Offset or to Screen Display now fail.

Added by Brian Flanagan over 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Target version:
Start date:
07/02/2020
Due date:
% Done:

0%

Estimated time:
Affected version:

Description

The following commands no longer work:

Channel 0 To Screen Offset 0
Channel 1 To Screen Display 0

Instead, they now get a channel_type_not_defined error.

Examples: (Straight from the AMOS Pro manual.)

Screen Offset problem:

Flash Off : Load Iff "AMOSPro_Examples:Iff/Logo.Iff"
   Channel 0 To Screen Offset 0
   Amal 0,"Loop: Move 0,200,100; Move 0,-200,100; Jump Loop"
   Amal On
Wait Key

Screen Display problem:

Screen Open 0,320,500,32,Lowres : Rem Open tall screen
   Screen Display 0,320,250
   Flash Off : Cls 0
   Load Iff "AMOSPro_Examples:Iff/Logo.Iff"
   Screen Copy 0,0,0,320,250 To 0,0,251
   Screen 0: Get Palette (0)
   Channel 0 To Screen Offset 0
   Amal 0,"Loop: Let X=XM-128 ; Let Y=YM-45 ; Pause; Jump Loop"
   Amal On : Wait Key
Actions

Also available in: Atom PDF