Author Topic: CREATESCREEN doesn't work in GP2X  (Read 3439 times)

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2702
    • View Profile
CREATESCREEN doesn't work in GP2X
« on: 2008-Jan-03 »
Erm... thats it... just halts at 'Loading..."
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10760
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
CREATESCREEN doesn't work in GP2X
« Reply #1 on: 2008-Jan-04 »
Thank you. Have to fix that.

Offline Kitty Hello

  • code monkey
  • Administrator
  • Prof. Inline
  • *******
  • Posts: 10760
  • here on my island the sea says 'hello'
    • View Profile
    • http://www.glbasic.com
CREATESCREEN doesn't work in GP2X
« Reply #2 on: 2008-Jan-04 »
Can you give an example? It seems to work for me.

Offline bigsofty

  • Community Developer
  • Prof. Inline
  • ******
  • Posts: 2702
    • View Profile
CREATESCREEN doesn't work in GP2X
« Reply #3 on: 2008-Jan-04 »
Code: (glbasic) [Select]
// CREATESCREEN
PRINT "Monitor", 0,0
GRABSPRITE 1, 0, 0, 64, 10

// Screen 0, Sprite 13
CREATESCREEN 0, 13, 32, 24
// Use screen for all output
USESCREEN 0
   PRINT "Offscreen", 10,10
   DRAWSPRITE 1,32,32
// Switch back to the window
USESCREEN -1

// Draw the screen
DRAWSPRITE 13, 0,0
SHOWSCREEN
MOUSEWAIT
END
...on a F200.
Cheers,

Ian.

“It is practically impossible to teach good programming style to students that have had prior exposure to BASIC.  As potential programmers, they are mentally mutilated beyond hope of regeneration.”
(E. W. Dijkstra)

Offline Wild_Duck

  • Mc. Print
  • *
  • Posts: 15
  • Mo and Me
    • View Profile
CREATESCREEN doesn't work in GP2X
« Reply #4 on: 2008-Jan-07 »
Black screen on my F200 and F100 (I`m greedy)