Search found 2466 matches

by burger2227
Sat Feb 09, 2008 5:11 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Finding GXSTB graphic library
Replies: 2
Views: 6787

QLB

It is probably one created by a programmer for his own or limited use.

I found nothing in Google, so how did you find the name? Is it used in an $INCLUDE statement or what?

Ted
by burger2227
Fri Feb 08, 2008 2:13 pm
Forum: Pete's QB Site News
Topic: QB Express once again emerges from the dead...
Replies: 12
Views: 57826

Let the magazine die from lack of interest. If there are not enough contributions, wait until there are. There should not be a set schedule if the interest is not there anymore and then you can make a decision that way. At least you cannot be blamed for killing it. You will know that you did the bes...
by burger2227
Thu Feb 07, 2008 2:54 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: binair to bits
Replies: 20
Views: 51430

Conversions

Below converts a decimal number to binary. It uses Integer division and mod with the base 2 system of binary: SUB Dec2Bin COLOR 14: LOCATE 2, 30: PRINT "Decimal to Binary" COLOR 10: LOCATE 5, 20: INPUT "Enter a decimal number: ", num& DO remain = num& MOD 2 'remainder is ...
by burger2227
Tue Feb 05, 2008 2:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: binair to bits
Replies: 20
Views: 51430

AHA

So we got you visiting too! GREAT, welcome aboard. Don't be shy........

Ted
by burger2227
Tue Feb 05, 2008 5:28 am
Forum: QBASIC and QB64 Questions & Answers
Topic: binair to bits
Replies: 20
Views: 51430

OK Seb

Teddy don't bother me sweetheart.......LOL. Thanks for acknowledging, but I see you here a lot and I got a lil pissy because I spent some time posting that. No problemo! But Nod ought to stick with his crayons and quit messing with adults. Why don't you just stick to the FB forum and perhaps learn s...
by burger2227
Mon Feb 04, 2008 10:04 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: binair to bits
Replies: 20
Views: 51430

Hum de dumb

It appears that Sebby has better things to do than reply to our posts.

So I won't bother with that dude no more!

Ted
by burger2227
Sat Feb 02, 2008 5:41 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: binair to bits
Replies: 20
Views: 51430

This Bit of my knowledge:

Binary bits are calculated in AH and AL as a total of 16 bits. The QB Integer byte value also is 2 bytes. AH AL bit (15) 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0 Values 32767 to 256 255 to 1 Each is an exponent of 2 ^ bit so Bit0 = 2 ^ 0 = 1 etc. So lets say bits 3 and 4 are set or on: bitset = 2 ^ 3 + 2 ...
by burger2227
Sun Jan 27, 2008 10:58 pm
Forum: General Discussion
Topic: 3D Rotation Algorithm?
Replies: 5
Views: 13119

Nothing is SIMPLE when you don't know! Especially if it involves a 2 by 4!

How many sites are you gonna post this on?

Ted
by burger2227
Sun Jan 27, 2008 8:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Fastest way to get Keyboard presses
Replies: 21
Views: 71491

Your number is printed many times because it is using a semicolon after a PRINT that is not LOCATEd. What key is code 2 or 3 anyhow? You would need 128 cases for just keypresses alone! The idea to learn INP(&H60) is to find out what keypress creates what code. You can find many of the keys with ...
by burger2227
Sat Jan 26, 2008 7:44 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Fastest way to get Keyboard presses
Replies: 21
Views: 71491

Your silly

This will show you the codes returned when you press most any keys. Save this routine in case you try to use the codes in a program for reference: DO scancode = INP(&H60) LOCATE 5, 10: PRINT scancode LOOP UNTIL scancode = 1 'escape key press Notice that the release code is 128 more than the pres...
by burger2227
Fri Jan 25, 2008 1:39 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Fastest way to get Keyboard presses
Replies: 21
Views: 71491

New thread?

Don't use INPUT...........use an INKEY$ loop that runs until a user presses the enter key. INKEY can also filter out certain key entries, such a only number or letter presses. Look up the ASCII codes for the type of entry you need. When a valid key is pressed, just print an asterisk. You can also al...
by burger2227
Thu Jan 24, 2008 4:47 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Fastest way to get Keyboard presses
Replies: 21
Views: 71491

You again!

Actually PLAY causes the delay, not INKEY$. The PLAY notes are actual musical frequencies for certain tones, but the internal speaker does not work well enough for musicians. ON PLAY can actually be used as a crude delay in programs too. I suggest you PLAY around with it. You probably have already u...
by burger2227
Thu Jan 24, 2008 11:10 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Error during run-time initialization
Replies: 8
Views: 12938

Not sure but

If your InterruptX is the same as QB's you need DS and ES. Otherwise why not just use Interrupt with your above REGTYPE? I am not familiar with QBinux however.

Just a thought,

Ted
by burger2227
Wed Jan 23, 2008 5:10 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Error during run-time initialization
Replies: 8
Views: 12938

Oh, no!

Not another version of Linux!

Aren't there enough already? :roll:
by burger2227
Wed Jan 23, 2008 2:37 am
Forum: Freebasic Questions & Answers
Topic: Screen 12 isn't working...
Replies: 12
Views: 30621

Waddaya mean?

You wrote your own compiler(doubtful) or you went for a better virgin?

What is your problem Man? Get a version that woks pal.

BTW ass, respond to your other posts or get lost!

Ted
by burger2227
Sat Jan 19, 2008 2:01 pm
Forum: General Discussion
Topic: For those of you who follow the Gregorian calendar...
Replies: 5
Views: 10546

Guess what?

Code: Select all

INPUT "Enter the year: ", Y
IsleapYear = (Y MOD 4 = 0) - (Y MOD 100 = 0) + (Y MOD 400 = 0) 
February is happy too!

Ted
by burger2227
Fri Jan 18, 2008 8:31 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Im A newb.
Replies: 8
Views: 22159

Download

I have an instruction demo for Quickbasic at QbasicStation.com Member files that has many examples with code for qbasic. http://www.qbasicstation.com/index.php?c=p_member&filecat=3 Q-BASICS.ZIP covers everything from PRINT to graphics functions. Uses QB4.5 available in Member File Utilities sect...
by burger2227
Thu Jan 17, 2008 11:13 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Besides WAIT &H8D3, what's another way to to reduce flic
Replies: 5
Views: 11410

What exactly are you erasing? Are you using CLS? CLS will cause flickering.

SCREEN 9 can use page flipping to stop flicker. Screen 12 cannot.

How does it look in FB? It might be better to use that.

Ted
by burger2227
Tue Jan 15, 2008 1:50 pm
Forum: General Discussion
Topic: 64 bit QBASIC
Replies: 32
Views: 73797

I could, but then you folks would lose interest

Ok kids, lets get back to the basics here. I have been elected King of the Flamers here. Nod is Queen and EK is the "Royal pain in the Arse" LOL. FACTS: 1) The Network 54 QB Forum is the busiest QB Forum on the web for questions and FAQs. 2) We may disagree about coding, but we NEVER fight...
by burger2227
Tue Jan 15, 2008 12:57 pm
Forum: Freebasic Questions & Answers
Topic: Is FB QB in disguise?
Replies: 54
Views: 129944

100% ?

It is obvious that nothing will never be 100% completed , just as surely as any program you make can always use a few more tweaks or additions. Is any project ever 100% done? If FB could have just added functionality and kept 100% compatability with previous versions of QB and FB, there would be abs...