Search found 2466 matches

by burger2227
Sun Dec 23, 2007 2:03 am
Forum: News and Announcements
Topic: Scrolling engine
Replies: 20
Views: 58608

He made a promise, but who knows?

My code is free to use and you NEVER have to give me ANY credit! But don't post your code later and say, I did it all and I want credit if you even use part of it. That is totally IGNORANT after all we all helped the man do basic stuff (no pun intended)! I think he has come a long way, but he forgot...
by burger2227
Sat Dec 22, 2007 2:32 pm
Forum: General Discussion
Topic: What programming languages have a bit as variable type?
Replies: 9
Views: 22006

Why not have it?

Apparently there are some uses for it. Serial ports send bits of information and I am sure somebody could use it in other ventures. What would a person who does not even code anymore use it for N ? Why would somebody go to the trouble of making one if it did not provide some kind of an advantage? Hm...
by burger2227
Sat Dec 22, 2007 2:04 pm
Forum: News and Announcements
Topic: Scrolling engine
Replies: 20
Views: 58608

Talk like the moron you are if you like. You TROLL this place like a lost child looking for something to say! I would not try a petition until you clean up all of your nasty posts. N, I cannot figure why anybody here even tolerates your childishness. Do you realize that 12 year olds that are smarter...
by burger2227
Fri Dec 21, 2007 7:26 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: INP and OUT Port
Replies: 37
Views: 65740

PROBLEMS

Apparently the 1144 chip is sending multiplexed signals to the port status pins. The values returned by INP(289) are not integers and are sometimes just wrong! The readings should be combinations of: 8, 16, 32, 64 and 128. Some readings are 7 and 127 instead. There could be connection or power suppl...
by burger2227
Fri Dec 21, 2007 7:19 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Loading a BMP file to show
Replies: 19
Views: 25375

Remember the squish idea. You may need it someday, especially for pictures of people.

There are other tutorials and code that does not work at all here. That was only one small example of a minor few mistakes. Try the FAST bitmap loader in one of the Interrupt tutorials. It does not work at all!

Ted
by burger2227
Fri Dec 21, 2007 7:01 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Putting variables in the DRAW command.
Replies: 20
Views: 26090

Even if Lee had the background option, ALL of the background would be changed. However, with 256 color attributes, you can always change parts to other color shades using different attribute numbers. PRINT will still have the default black attribute 0 behind the text however. I have an interrupt Fun...
by burger2227
Fri Dec 21, 2007 1:54 pm
Forum: News and Announcements
Topic: Scrolling engine
Replies: 20
Views: 58608

Well, you might as well freeload there. All I asked was a simple question and you seem to be oblivious to what I asked. I for one will not miss your numerous posts about doing things in QB, but the FB community should get their fair shake! It is only fair to them that you steal their ideas too! I ho...
by burger2227
Thu Dec 20, 2007 11:57 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Putting variables in the DRAW command.
Replies: 20
Views: 26090

Most newer programmers do not DIM all of their variables, especially if they are just experimenting. There is absolutely nothing wrong with type suffixes. Look in any book on Basic! As for the fleas, I must have got them from you! What kind of animal are you anyhow? They are easy to spot on my thin ...
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: 25375

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: 26090

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: 25375

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 f...
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: 18869

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: 25375

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: 26090

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: 25375

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: 58608

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: 18869

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: 24676

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 &am...
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: 18869

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 look...
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: 18869

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

But that rule is true in QB too.

:roll: