Difference between revisions of "AMOS:Bug Input"

From Amiga Coding
Jump to: navigation, search
(Description of Input bug was too long so I gave it it's own page (also improved description))
 
Line 1: Line 1:
(Discovered by Spellcoder, somewhere before 2000)<br />
 
 
 
 
If text from Input command reacher right side of screen, AMOS will freeze for a while.
 
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.
 
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.
 
(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.
 
How long the text needs to be for this to happen seems to depend on the width of the screen.
Line 10: Line 8:
 
  Screen Open 0,320,200,4,Lowres
 
  Screen Open 0,320,200,4,Lowres
 
  Input "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?";A$
 
  Input "ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!?";A$
 +
  
 
This example uses 38 chars (so it's 38*8 pixels = 304 pixels width).<br />
 
This example uses 38 chars (so it's 38*8 pixels = 304 pixels width).<br />
 
The cursor is also 8 pixels (304+8=312).<br />
 
The cursor is also 8 pixels (304+8=312).<br />
 +
  
 
(not tested yet if it happens earlyer if you place the cursor in the middle of the screen)
 
(not tested yet if it happens earlyer if you place the cursor in the middle of the screen)
 +
 +
 +
==Tested with==
 +
AMOSPro V2.00 uncompiled - has the bug<br />
 +
AMOSPro V2.00 compiled - not tested yet<br />
 +
AMOS V1.36 uncompiled - not tested yet<br />
 +
AMOS V1.36 compiled - not tested yet<br />
 +
 +
 +
==Credits==
 +
* bug discovered by Spellcoder somewhere before 2000
 +
* bug tested/descriped by Spellcoder on 28 sep 2007

Revision as of 16:08, 5 October 2007

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)


Tested with

AMOSPro V2.00 uncompiled - has the bug
AMOSPro V2.00 compiled - not tested yet
AMOS V1.36 uncompiled - not tested yet
AMOS V1.36 compiled - not tested yet


Credits

  • bug discovered by Spellcoder somewhere before 2000
  • bug tested/descriped by Spellcoder on 28 sep 2007