02-07-2005, 09:20 PM
Quote:PUT can be used to draw images previously saved by the GET statement.Could you publish the format of the PUT buffer so it could be built by an user program avoiding drawing to screen and using GET?
Antoni
Angelo: What's the format of a PUT buffer?
|
02-07-2005, 09:20 PM
Quote:PUT can be used to draw images previously saved by the GET statement.Could you publish the format of the PUT buffer so it could be built by an user program avoiding drawing to screen and using GET?
Antoni
02-07-2005, 09:33 PM
I guess it is:
Code: width 4 bytes (32 bits integer) So if you are working in an 8 bpp mode, you will have just one integer for width, another one for height and then width * height bytes with the image stored in row-order. This is just a guess, anyways.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
02-07-2005, 10:17 PM
Nope, it's QB compatible.
Code: width * 8 2 bytes (16 bit unsigned short)
02-07-2005, 10:40 PM
What Sterling said. Please pay attention that the raw image data is in bytes per pixel, that is, even if you're using SCREEN 1 which is 2bit per pixel, each pixel will take a whole byte into the image.
Also refer to the gfxlib.txt documentation on GET and appendix C for details on the internal pixel formats.
ngelo Mottola - EC++
02-07-2005, 10:59 PM
This means all QB mode 13 sprites can be reused in FB mode 13 without a change!!!
Antoni
02-07-2005, 11:02 PM
Exactly. You also got BLOAD that is completely compatible with QB BSAVEd SCREEN 13 images. FB version of BSAVE creates files that are incompatible with QB though - of course FB BLOAD will be able to load both QB and FB BSAVEd blocks.
ngelo Mottola - EC++
02-08-2005, 12:37 AM
Quote:Exactly. You also got BLOAD that is completely compatible with QB BSAVEd SCREEN 13 images. FB version of BSAVE creates files that are incompatible with QB though - of course FB BLOAD will be able to load both QB and FB BSAVEd blocks. That's awesome ![]() (note to self: learn to RTFM)
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio underBASIC, homegrown musicians [img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
02-09-2005, 12:17 PM
Quote:This means all QB mode 13 sprites can be reused in FB mode 13 without a change!!! Porting my scroller took 10 mins. :*)
02-11-2005, 05:14 AM
can screen 12 qb bsave'd images be bloaded via fb too?
ttp://m0n573r.afraid.org/
Quote:quote: "<+whtiger> you... you don't know which way the earth spins?" ... see... stupidity leads to reverence, reverence to shakiness, shakiness to... the dark side...phear
02-11-2005, 06:57 AM
Quote:can screen 12 qb bsave'd images be bloaded via fb too?Sort of... you'd be able to bload them, but you won't be able to PUT them because FB's screen 12 is 8 bits per pixel, while a screen 12 qb bsave'd image will be 4 bits per pixel. |
« Next Oldest | Next Newest »
|