Qbasicnews.com

Full Version: New Challenge Forum
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5
Oh, please don't worry about that Wink
Ok, but it is still very frustrating not to be able to access your own site as well as everyone else accessing.
Yeah, getting stuff on the screen is easy: just POKE it to &hB800. But receiving input is a different story. I would have done it with LINE INPUT or INPUT(1), two keyboard I/O commands you forgot to list. :king:
A new challenge:
A program that clears the screen(SCREEN 13), without using any of qb's drawing commands, like PSET, CIRCLE, LINE, CLS(hehe), PUT.
You can't use * or FOR either...
I don't think it's impossible... Big Grin.
Done: HAHAHAH! Big Grin

Code:
SCREEN 13
PRINT "Hello!"
PRINT "Dummy"
PRINT "Press a key to delete"
SLEEP:K$=INKEY$
SCREEN 13
PRINT "Deleted! :D"

Also

Code:
SCREEN 13:DEF SEG=&HA000
BSAVE "CLS", 0,64000
PRINT "Hello!"
PRINT "Dummy"
PRINT "Press a key to delete"
SLEEP:K$=INKEY$
BLOAD "CLS"
PRINT "Deleted! :D"

Wizardlife: saying INPUT I meant EVERY INPUT commands (INPUT a$, LINE INPUT a$, INPUT(1), INPUT$...) Big Grin Wink :rotfl:
Quote:Done: HAHAHAH! Big Grin

A bit dubious(sp?) but it does meet the guidelines hehe

Quote:Wizardlife: saying INPUT I meant EVERY INPUT commands (INPUT a$, LINE INPUT a$, INPUT(1), INPUT$...) Big Grin Wink :rotfl:

Well you can just use INP(61h) or somethhing instead ;-)
Oh cool Big Grin
Now it's your turn, wizardlife... you should post the new challenge Wink
awww, forgot BLOAD... :lol:, ok new guidelines, Challenge ver 2:

all the old ones
BLOAD not allowed
reusing SCREEN 13 or any other screen mode is not allowed

There, I think that's all :bounce: .
Ok, as it seems to be more intresting when many people send in ideas lets do it that way. So PM your challenges and I'll post them one at a time(the author can then post his solution or say which is best.)

So PM or email them to me.
Mines the crappiest but...

Code:
Screen 13
Print "watch this cheap ass hack, used to enter a contest"
Print "here goes, im gonna clear the screen"
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "
Print"                                                                              "

Okay, its slow.... its um very hacky and i didnt check if i put enough prints (i think its 20 that screen 13 has) hope i put enough.[edit] fixed some spelling[/edit]

also you code poke at the screen, and im pretty sure you can hit an interuot to do it for you.
Pages: 1 2 3 4 5