AMOS:Bug Input

From Amiga Coding
Revision as of 21:01, 28 September 2007 by Spellcoder (talk | contribs) (Description of Input bug was too long so I gave it it's own page (also improved description))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

(Discovered by Spellcoder, somewhere before 2000)


If text from Input command reacher right side of screen, AMOS will freeze for a while. When the input is very close behind a Screen Open, the screen may not have appeared yet when AMOS hangs. (leaving you a black screen). Some time later (half a minute?) AMOS resumes.

How long the text needs to be for this to happen seems to depend on the width of the screen.

Screen Open 0,320,200,4,Lowres
Input "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?";A$

This example uses 38 chars (so it's 38*8 pixels = 304 pixels width).
The cursor is also 8 pixels (304+8=312).

(not tested yet if it happens earlyer if you place the cursor in the middle of the screen)