05-25-2005, 09:55 PM
Ok I set my screen mode with:
And I print something on the screen with a regular print statement.
I loop through the screen to store the screen contents:
I replace the existing text with new text. with LOCATE 1,1 and a couple of print statements
Then I loop back to restore the screen contents.
This techniques works fine in SCREEN 0, but as soon as I try a graphics mode of any type, it fails, it reports no errors, but blanks are printed instead of the character that are supposed to be there.
What's wrong with this?
Code:
SCREEN 21, 8, 8, 1
And I print something on the screen with a regular print statement.
Code:
DIM TempScreen(80,25)
CLS
PRINT "THIS IS A TEST"
PRINT "THIS IS ANOTHER TEST"
PRINT "THIS IS A TEST OF TESTS"
I loop through the screen to store the screen contents:
Code:
FOR OuterCounter = 1 to 30
FOR InnerCounter = 1 to 4
TempScreen(OuterCounter, InnerCounter) = SCREEN(InnerCounter, OuterCounter, 0)
NEXT InnerCounter
NEXT OuterCounter
I replace the existing text with new text. with LOCATE 1,1 and a couple of print statements
Then I loop back to restore the screen contents.
Code:
FOR OuterCounter = 1 to 30
FOR InnerCounter = 1 to 4
LOCATE InnerCounter, OuterCounter
PRINT TempScreen(OuterCounter, InnerCounter)
NEXT InnerCounter
NEXT OuterCounter
This techniques works fine in SCREEN 0, but as soon as I try a graphics mode of any type, it fails, it reports no errors, but blanks are printed instead of the character that are supposed to be there.
What's wrong with this?
hen they say it can't be done, THAT's when they call me ;-).
need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com
need hosting: http://www.jc-hosting.net
All about ASCII: http://www.ascii-world.com