Search found 2378 matches

by burger2227
Thu Dec 20, 2007 1:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 13152

Now the image should look stretched. To fix that edit your bitmap by changing the height of it in Photoshop. Set the height to 83% and width to 100%. This will squish the bitmap image, but the image will look perfect in SCREEN 13. If you want to learn how to BSAVE the image and be able to center you...
by burger2227
Thu Dec 20, 2007 1:40 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Putting variables in the DRAW command.
Replies: 20
Views: 12061

Because your a JERK Nodvelt! That's why? Why else would Lee's code not work numbnuts?

Go finish your website! It is just another example of your laziness!
by burger2227
Wed Dec 19, 2007 9:13 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 13152

If you can get more than a single line, then we can worry about the padder. How large is the bitmap? I cannot be over 320 X 200. Program problems: 1) Width and Height are Long variables so use & instead of % no matter what the bitmap size is. 2) FOR y% = iHeight TO 0 STEP -1 has no type suffix for i...
by burger2227
Wed Dec 19, 2007 8:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A good problem for you experts
Replies: 13
Views: 9724

True Mac. I just don't see a great need for not using the brackets. I don't want to have to troubleshoot those kind of problems. The brackets just keep anything odd from happening.

:roll:
Ted
by burger2227
Wed Dec 19, 2007 8:21 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 13152

Did you save it as an 8 bit bitmap? Paint is not the greatest kind of image editor. You should be able to set the palette's BPP to 8 in Photoshop. Your code is from here I gather and it should work for screen 13. Does it load at all? If it is skewed, the bitmap needs a padder. Ted Nodvelt is a well ...
by burger2227
Wed Dec 19, 2007 8:02 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Putting variables in the DRAW command.
Replies: 20
Views: 12061

That would work a lot better using strings for variables.

DRAW "U" + A$

Where A$ is a string number. To convert any number to a string use the STR$(number) function:

A$ = STR$(number)

DRAW does not care about spaces so you do not have to trim it.

Ted
by burger2227
Wed Dec 19, 2007 3:29 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 13152

Do you want a program that you cannot write? Do you want the code? Go to QbasicStation.com and look in Member files / Utilities for BSAVER.ZIP if you are using SCREEN 12 or 13. Nodvelt cannot sum it up better than that unless he posts the entire procedure! Give me a break! He is gone, but if you hav...
by burger2227
Wed Dec 19, 2007 3:17 am
Forum: News and Announcements
Topic: Scrolling engine
Replies: 20
Views: 26748

How soon you forget............ And you take credit for code that somebody else helped make! RUBY NL will always play that game and let everybody think he is a master coder. Actually you sit back like that avitar of a fat lazy bear. Don't get me wrong here, but I have NEVER seen anything that you ma...
by burger2227
Tue Dec 18, 2007 12:38 am
Forum: QBASIC and QB64 Questions & Answers
Topic: A good problem for you experts
Replies: 13
Views: 9724

I dunno Mac

You start playing with fire and your example is not the best either, but neither was mine looking back. IF INP(889) AND 128 > 0 THEN What will happen there? It will run every time the port has a reading, because 128 is always more than 0. Also it could be confused with a conditional operation instea...
by burger2227
Tue Dec 18, 2007 12:15 am
Forum: QBASIC and QB64 Questions & Answers
Topic: 256 colours
Replies: 12
Views: 11656

The color palette actually has 64 ^ 3 color shades for some QB screens. What do you want to do? In SCREEN 12 you can only make 16 colors and 13 can make 256. Any color attribute can be changed using the PALETTE or OUT statements in QB. I prefer OUT because of the math involved using PALETTE: OUT &H3...
by burger2227
Sun Dec 16, 2007 11:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A good problem for you experts
Replies: 13
Views: 9724

You MUST use parenthesis when using the AND, OR and XOR numerical operators in an IF statement as below. These operators are not the same thing as normal IF - AND - OR statements: IF (INP(889) AND 128) THEN PRINT "Valid data" The evaluation will be wrong if you do not use it! The code looks for a bi...
by burger2227
Sun Dec 16, 2007 7:28 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A good problem for you experts
Replies: 13
Views: 9724

I thought GW was dead! OOPS, he is our president boo hoo.

But that rule is true in QB too.

:roll:
by burger2227
Sun Dec 16, 2007 7:18 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: A good problem for you experts
Replies: 13
Views: 9724

Great! Now, do you understand what he actually did?

You can use parenthesis in IF statements when you have many things to compare. Without them, any OR could make the statement true without the other operations.

Ted

PS: Do you really know how to code? You ask an awful lot of questions LOL
by burger2227
Sat Dec 15, 2007 3:12 am
Forum: QBASIC and QB64 Questions & Answers
Topic: CALL ABSOLUTE error "Sub Program Not Defined"
Replies: 7
Views: 8116

Qbasic does not need a library to run ABSOLUTE!

Quickbasic 4.5 and 7.1 require a library for Absolute and Interrupt routines. Qbasic cannot run Interrupt routines.

Make a shortcut to QBX.EXE and add a space /L at the end of the command line in properties. You will have to use the File - Open program menu to run a program using a shortcut.

Ted
by burger2227
Sat Dec 15, 2007 3:01 am
Forum: General Discussion
Topic: 64 bit QBASIC
Replies: 32
Views: 41692

DOSBOX

Try DOSBOX for Screen modes other than default 0. There is a fellow working on a compiler that will work on 64 machines and use your normal 16 bit QB code. So far Galleon is doing a great job and he is adding some new stuff that will not affect the old code. Unlike FB. It is not done yet, but here i...
by burger2227
Thu Dec 13, 2007 2:45 pm
Forum: News and Announcements
Topic: Scrolling engine
Replies: 20
Views: 26748

CREDIT?

What ever happened to the graphics text stuff Ildurest and I showed you?

Did we ever get credit or did you just toss it out?

Ted
by burger2227
Wed Dec 12, 2007 4:28 am
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 36914

Getting close now

Dan got covered with ice and the Steelers lost to New England, but we are just about ready to fire this project up! The coding is pretty much figured out. All we need is for the darn thing to work. Problems at bootup are going to need some new code and/or circuit wiring, but we have it working somew...
by burger2227
Mon Dec 10, 2007 8:14 pm
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 84813

BDZ

Your idea sounds very interesting. I will take a look! I hope you don't have to recode a lot of it when you convert it. And I hope that you can use the latest FB version instead of the older ones. If you read this entire thread, you will see various attacks to Mac for absolutely no reason. So Mac ha...
by burger2227
Mon Dec 10, 2007 2:15 am
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 84813

Hmmmmmmmm

There is BAD BOX again! I remember you when you were a monitor and all you ever seemed to do was pick on people! Who needs you? The great thing is that Qbasic.com crashed and it got rid of a bunch of you! Nodtvelt, that is the dumbest reason I ever heard! Just because you don't like it? WHOGAS about...
by burger2227
Sun Dec 09, 2007 4:47 am
Forum: Freebasic Questions & Answers
Topic: Can I make an image in Paint, then have a FB program load it
Replies: 53
Views: 84813

Why does Galleon's effort bother you? You don't use QB and you dislike the new FB! What is your pleasure? It is not bothering you if somebody prefers another avenue! Show me the code you are "proud of" if you have any. Give me some links and some of your code if possible. It is easy to talk stuff! P...