Search found 2466 matches

by burger2227
Tue Oct 28, 2008 11:52 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22905

Steve, if you count from 0 to 7 you get 8 numbers. You will have to remember that when working with 0 based arrays. You would have 8 different speeds plus the OUT 888, 0 for stop. When all data pins are logic 0 (off) the motor stops. The acceleration and deceleration are incrimented in 8 square wave...
by burger2227
Mon Oct 27, 2008 4:43 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22905

Please don't post the data! It will take up too much space. Since you are using the parallel port to drive the motor, you can use the 8 data pins for different speeds. Make sure that those bits are cleared at reboot! Otherwise the motor will start running perhaps. You could use the Control pin C3 t...
by burger2227
Fri Oct 24, 2008 8:06 pm
Forum: Freebasic Questions & Answers
Topic: Hey, burger2227
Replies: 5
Views: 55193

HATE?

I can't really hate FB, because I barely tried it. I'm not happy with it's "leaders" is all.

I could hate Lachie worse, but why bring up the past? I'm just glad he did not take my post as a compliment, lol.

When you post it, I will try it and post feedback. How's that?

Ted
by burger2227
Fri Oct 24, 2008 6:52 pm
Forum: Freebasic Questions & Answers
Topic: Hey, burger2227
Replies: 5
Views: 55193

Sorry

I don't do games much, as I am too slow, lol. Also I don't do FB.

I'm sure Lachie would like to review it and post it on his site.

Ted

PS: Please don't post FB code on QBasicStation. It confuses people. EXE's are fine.
by burger2227
Fri Oct 24, 2008 2:50 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22905

True Ralph

There should be some kind of algorithm to determine the values directly in the program without the need for all of that data. After all, how did you create the graphical curve in the first place? How did you get the data for the file? One problem is that QB can only time accurately down to .05 secon...
by burger2227
Thu Oct 23, 2008 9:55 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22905

GET is used to read file information to a variable. You can GET consecutive data without a position reference if you are reading a Binary file from the start. Thus you can use GET #1, , variable for same types of data. Random files use record fields of data. One line may hold many different types of...
by burger2227
Thu Oct 23, 2008 2:42 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Array Size Limits /AH under WinXp
Replies: 15
Views: 22905

Quicker?

My advice is to save as much memory as possible by not pushing Array limits! Reading data from a file is better than trying to load a "TON" of information all at once. Usually you will not need all of the data at once either, so use the file and save yourself a lot of agony...........Learn...
by burger2227
Wed Oct 22, 2008 9:22 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 31120

A stepper motor can use square wave pulses, but the number of pulses determines the location of the shaft. It could be determined using a port program or through an independant Timer circuit. No need for a sine wave.

Ted
by burger2227
Mon Oct 20, 2008 8:23 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: Printer Problems
Replies: 11
Views: 24210

WHAT do you think my DOS program did? READ the thread! 2. First, find out the name of your computer. My code finds the COMPUTERNAME for you in Qbasic code! As for Persistant, I have not found that to be necessary on my XP. After reboot, it works anyway. If you try to do my routine again, I get an er...
by burger2227
Mon Oct 20, 2008 1:36 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 31120

Unfortunately digital cannot do curves the same way as analog. All that you can do is turn on a port bit for different amounts of time. Ports always send the same voltage from the pins. An excellent way to generate square waves is to use a 555 timer and a logic gate on your motor board driven by the...
by burger2227
Sun Oct 19, 2008 9:20 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HTML to QB Colors
Replies: 4
Views: 8536

Some screen modes like 0, 7 and 9 use DAC color assignments. Some of those settings may be different than the default attribute settings in screen 12 and 13. There is a way to convert DAC to default, but it involves setting all DAC values to normal attribute values and then restoring all default set...
by burger2227
Fri Oct 17, 2008 9:33 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: HTML to QB Colors
Replies: 4
Views: 8536

Since HTML values are 4 times what QB color values are, convert from Hex to decimal and divide by 4. (255 \ 4 = 63). Use Integer division or it will round up!

That should get you close.

Ted
by burger2227
Fri Oct 17, 2008 3:09 pm
Forum: News and Announcements
Topic: QBASIC.COM gone?
Replies: 102
Views: 372270

Perhaps you .......................

I have been in contact with Pete and he is still waiting to take the Forum over when the security is done being worked on by N54.

Perhaps this weekend he hopes

Ted
by burger2227
Thu Oct 16, 2008 7:22 pm
Forum: News and Announcements
Topic: QBASIC.COM gone?
Replies: 102
Views: 372270

It must have been restored today. But the forum is linked directly to the N54 Qbasic Forum and I still cannot access that. As for the rest of Mark's site, why bother lol.

Ted
by burger2227
Thu Oct 16, 2008 6:39 pm
Forum: General Discussion
Topic: looking for music composing program
Replies: 7
Views: 16670

You did not specify a language...........

Cosidering that Qbasic only uses a cheap speaker, I would try FB for help on sound because it can use your sound card I would hope. I would recommend QB64, but it is still being developed and I don't know how far sound functions have progressed yet. As to a premade program, it would probably cost yo...
by burger2227
Thu Oct 16, 2008 5:03 pm
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 31120

Hello Ralphy boy.............

Jeesh Ralph, you found me out! Did the avatar of Clippy give it away, LOL?

I have some interesting port routines in my Q-Basics.zip Demo at QbasicStation.com Member files, chapter 11.

BTW, VB and NET can also be used to run a port using INPOUT32.DLL for INP and OUT functions (free).

Ted
by burger2227
Thu Oct 16, 2008 4:58 pm
Forum: General Discussion
Topic: looking for music composing program
Replies: 7
Views: 16670

What programming languages are you familiar with?

DOS requires you to have a speaker on the motherboard unless your laptop can play it on the souncard.

Ted
by burger2227
Thu Oct 16, 2008 2:19 am
Forum: General Discussion
Topic: VB for DOS - Screen Modes
Replies: 3
Views: 8547

I have got to agree there! M$ always reinvents the new "wheels". Same as VB and now NET. NET costs over $1K already and can be up to $10K for advanced programming packages. M$ also likes to ignore backward compatabilities in the last 8 years and soon will try to get rid of OLD stuff to mak...
by burger2227
Thu Oct 16, 2008 2:00 am
Forum: News and Announcements
Topic: QBASIC.COM gone?
Replies: 102
Views: 372270

QBASIC.COM gone?

Apparently Qbasic.com is hacked also. This is more than just ignorant!

Ted
by burger2227
Thu Oct 16, 2008 1:39 am
Forum: QBASIC and QB64 Questions & Answers
Topic: No sound from QB45 running under WinXp
Replies: 19
Views: 31120

Do you have a DOG? Crank SOUND up to over 10,000 and watch him cringe or bark LOL. Humans can hear close to 8000 or more if their hearing is good. The interval of 2 is too small. 18 = about 1 second. So you had 1/9th of a second per loop. Also ANY sound or PLAY routine delays the program execution s...