Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
The Not So Impossible Challenge: Screen Saver Contest!
#5
[syntax="qbasic"]REM $INCLUDE: 'QB.BI'
DIM inregs AS RegType
DIM outregs AS RegType
SCREEN 13
r = 1: rv = 1
inregs.ax = 0: CALL INTERRUPT(&H33, inregs, outregs)
inregs.ax = 3: CALL INTERRUPT(&H33, inregs, outregs): ox = outregs.cx: oy = outregs.dx
DO
FOR c = 1 TO 110
CIRCLE (160, 100), r, c
r = r + rv
IF r > 320 THEN r = 1: rv = INT(RND * 10) + 1
IF INKEY$ <> "" THEN END
inregs.ax = 3: CALL INTERRUPT(&H33, inregs, outregs)
IF ox <> outregs.cx AND y <> outregs.dx THEN END
WAIT &H3DA, 8
NEXT
LOOP UNTIL INKEY$ <> ""[/syntax]

Smile This complies whith current set rules, 18Lines and Mouse support!!

Enjoy this, :wink: ,...
Kevin (x.t.r.GRAPHICS)

[Image: 11895-r.png]
Reply


Messages In This Thread
The Not So Impossible Challenge: Screen Saver Contest! - by Rattrapmax6 - 02-27-2005, 06:59 PM
Just - by Mango - 02-27-2005, 08:19 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)