Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SuperPut (if you thought SetVideoSeg was cool, check this..)
#1
No libraries, interrupts, or call absolute...source and example are here. Hope you PureQB nuts find a use for it. Tongue
Code:
'===============================================================
  ' SuperPut by Plasma
  ' Props to Rel for the original idea and RelSpriteFlip
  '---------------------------------------------------------------
  ' Replaces QB's graphics PUT with Rel's optimized routine that
  ' supports clipping, transparency, and flipping.
  '---------------------------------------------------------------
  ' Clipping: Sprites will be clipped if they are partially
  '           off-screen, rather than returning "Illegal Function
  '           Call". This also means you can pass negative
  '           coordinates.
  '
  ' Transparency: Color 0 is always the transparent color,
  '               except when the PSET actionverb is passed
  '               (transparency is then ignored).
  '
  ' New PUT actionverbs:     XOR - not flipped  (default)
  '                         PSET - not flipped &
  '                                  no transparency
  '                       PRESET - flipped horizontally
  '                           OR - flipped vertically
  '                          AND - flipped horizontally &
  '                                  vertically
  '---------------------------------------------------------------
  ' * Works with SCREEN 13 only
  ' * Fully compatible with SetVideoSeg :)
  ' * Compatible with:      QBasic 1.x
  '                     QuickBasic 4.x (IDE & compiled)
  '                         QB PDS 7.1 (IDE & compiled)
  '                          VBDOS 1.0 (IDE & compiled)
  '
  '   Note: If you compile your program, it must be compiled as
  '         a stand-alone EXE!
  '===============================================================
Reply
#2
Sweet.
Reply
#3
:o :o :o :o

Yes!!!! I never thought you were that close!!!!! This is like a dream!!! Man can't wait to get home to test this out. :*)

Great friggin job dude!!!!

:king: =Plasma
y smiley is 24 bit.
[Image: anya2.jpg]

Genso's Junkyard:
http://rel.betterwebber.com/
Reply
#4
Oh YEA!!! Sweet man!!! Ill test it out asap!! Big Grin Big Grin
Reply
#5
Astonishing work. Added to the FAQ.

I fear about PureQB-ers. They are always complaining, and they will complain about the embedded assembly here Tongue just ignore them Big Grin Wink 8)
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#6
omgomgomgomg!!!!1111oneoneone

i want this!
ammit potato!
Reply
#7
Cool!
Reply
#8
Cool.

Rel/Plasma, since Rel apparently is not planning to put up RelSpriteFlip, why not lowercase it?
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply
#9
Thanks guys. Smile

I made a few changes, now you can install/remove the patch multiple times during runtime without any problems. (The updated version is at the original link.)

Quote:Rel/Plasma, since Rel apparently is not planning to put up RelSpriteFlip, why not lowercase it?
eh?
Reply
#10
the FAQ links everything with two capitals.....

In this case ppl would be copying question marks..
Peace cannot be obtained without war. Why? If there is already peace, it is unnecessary for war. If there is no peace, there is already war."

Visit www.neobasic.net to see rubbish in all its finest.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)