Posts: 83
Threads: 11
Joined: Apr 2004
So how should I place:
DEF SEG = VARSEG(tiles(0))
BSAVE "yourfile.ext", VARPTR(tiles(0)), 13800
First I would BLOAD like I did (this is just for example)
Once I do that and have them PUT on the screen, would I then need to get the ones that I want and then use BSAVE?
Better yet, let's say I wanted to BSAVE what I BLOADed.
I want to BSAVE them into a different file besides c:\paga\paga1.012
Let's say c:\qbasic\paga1.018
From code I've given, can you show how I would place the code you showed me for BSAVEing into it and eliminate what I don't need?
I'm your Huckleberry; that's just my game."
Doc Holiday, TOMBSTONE
Posts: 1,752
Threads: 21
Joined: Jun 2002
I already showed you everything you need to know. If you know how to use GET, you can replace the tiles with whatever you want. You put the BSAVE code at the end of your program.
Posts: 83
Threads: 11
Joined: Apr 2004
Ok, thanks for the help; I appreciate it. Hope you got the PCX files I sent you as attachments in your E-mail. Do let me know if you receive them.
I'm your Huckleberry; that's just my game."
Doc Holiday, TOMBSTONE
Posts: 2,771
Threads: 96
Joined: Oct 2003
Quote:Screen 7 provides 8 pages on VGAs and 256k EGAs, 4 pages on 128k EGAs, or 2 pages on 64k EGAs.
Plasma, if screen 7 can provide as many as 8 pageson certain cards, why couldnt they make a mode 320x200 have up to 32 bit colour on certain cards!? (if my maths are correct)
Posts: 1,752
Threads: 21
Joined: Jun 2002
There is. VESA mode 10Fh.
If you're asking why didn't they do it on the VGA, it's because the technology didn't exist then.
Posts: 2,771
Threads: 96
Joined: Oct 2003
Ok, then could they not have provided extra video page support for screen 13, then? (VGA) Or did the technology not stretch that far either?
Posts: 1,752
Threads: 21
Joined: Jun 2002
There is. ModeX. 320x200, 256 colors, 4 pages.
Screen 13 only has 1 page because it's a chained mode. It's much easier to program for because you don't have to worry about switching planes. The tradeoff is you only get one page.
Posts: 2,771
Threads: 96
Joined: Oct 2003
:o
I have heard of Mode X, how do you use it? Or is it only available by using asm?
Posts: 1,752
Threads: 21
Joined: Jun 2002
You set 13h and then unchain it. You can also tweak the resolution if you want, to get modes like 320x240 with 3 pages or 360x480 with 1 page.
Here's a pretty good explanation:
http://www.brackeen.com/home/vga/unchain.html
It's in C, but it's easy to translate to QB. SJ Zero has some QB-only ModeX stuff, but it's only 320x240 IIRC.
Posts: 2,771
Threads: 96
Joined: Oct 2003
Cool, im gonna try out Mode X if I can. Thanks for the link =)