Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Yet Another CHALLENGE!!!
#1
Hmmm, maybe it's not as good as the title suggests Wink

Anyways try this guys:

Who can write the quickest, easiest, fastest routine to save a 320x200 screen?

Requirements:

Qbasic 4.5 and ASM ONLY!

I guess that's it, LOL!
earn.
Reply
#2
Why'd you take it down Dav? It was good (except for the lack of reloading-the-screen code Wink)
earn.
Reply
#3
:oops: I was redoing it a little. Aww heck, here it is again...

The easiest, smallest way I can think of:

Code:
DEF SEG = &HA000
BSAVE "320x200.BSV", 0, 64000

- Dav

(you're quick Seph. I only had it up for a few secs)
Reply
#4
Yeah I keep a sharp eye on my topics (when I'm not busy) Smile
earn.
Reply
#5
Code:
SCREEN 7,,0,0

SUB SaveScreen
  PCOPY 0,1
END SUB

SUB LoadScreen
  PCOPY 1,0
END SUB


What do ya know...screen 7 is 320x200, and the code saves it to memory (Hey, you never said it had to be saved to a file....)

Tongue
Reply
#6
Damn you, got me on a technicality... Okay, FILES! Wink
earn.
Reply
#7
then dav's solution is the one. to load it:

Code:
def seg = &HA000
bload "file.bsv", 0
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#8
Hmmm, perhaps I should look into my contests before I start them LOL
earn.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)