Search found 51 matches
- Sun Apr 04, 2010 10:01 am
- Forum: QBasic / QuickBasic related
- Topic: Temperature sensor
- Replies: 2
- Views: 1495
How do you intend to connect the output of the temperature sensing device to the Com port? This device is just a sensing unit which will return a value (voltage?) on the output pin depending on the current operating temperature. e.g. For an input voltage of 5v at a temperature of 20C the output migh...
- Wed Mar 03, 2010 8:03 am
- Forum: QBasic / QuickBasic related
- Topic: Looking to learn how to write QB
- Replies: 4
- Views: 1834
Quick Basic download.
And, of course, Quick Basic Cafe has its own downloads:
http://www.qbcafe.net/qbc/english/downl ... iler.shtml
http://www.qbcafe.net/qbc/english/downl ... iler.shtml
- Sun Jun 21, 2009 9:37 am
- Forum: QBasic / QuickBasic related
- Topic: Installing qb45
- Replies: 9
- Views: 4829
Petersull - Welcome to the QBCafe forums. I start QBasic 4.5 using a shortcut to a batch file. Here's the .bat code: @echo off cls cd /d d:\my downloads\qbasic45 qb.exe /l qb.qlb cd /d c:\ exit /b Obviously you'd need to tailor the path to suit your setup. The shortcut option is selected to run in f...
- Sat Dec 06, 2008 9:48 am
- Forum: QBasic / QuickBasic related
- Topic: Expression too Complex, Severe Error
- Replies: 5
- Views: 2709
Here's MS on the Expression too Complex error when using BC.Exe http://support.microsoft.com/kb/39239 While your code may fall below the magic number 19 it's worth a try. I understand that the caret (^) indicates that the error is in the line prior to the one referenced so that 1B9B 01AE 1250 LOCATE...
- Wed Nov 12, 2008 10:24 am
- Forum: QBasic / QuickBasic related
- Topic: TIME$
- Replies: 7
- Views: 3176
Mmmm...............
That's a lot of coding...........
- Sat Oct 25, 2008 5:46 am
- Forum: QBasic / QuickBasic related
- Topic: Assemblers Post ALU
- Replies: 1
- Views: 2058
I'm not really into Assembly but if you want to see what your coding looks like in Assembly I posted this: For anyone interested in seeing what their QB program looks like in Assembly. This listing shows the QB statements followed by the Assembly codings: Compile your .bas listing with the BC.EXE co...
- Wed Apr 23, 2008 11:35 am
- Forum: QBasic / QuickBasic related
- Topic: Hexadecimal Routines for QBasic
- Replies: 6
- Views: 5688
Interesting question but I don't understand what you mean. Hex arithmetic calculations are the same as decimal except that you must prefix the hex number with &H So: print &HC - &HB will result in 1 as will print 12 - 11 Also, what's a hexadecimal byte? A byte consists of 8 bits and the value contai...
- Mon Mar 31, 2008 11:38 pm
- Forum: QBasic / QuickBasic related
- Topic: Output to parallel port
- Replies: 12
- Views: 3621
Great news about port 966, did you try 956?. I've so far had success with Win.ME and bombed with W2k/pro, XP Home, XP Pro. Haven't been able to devote a lot of time to this gem of a problem but will shortly try barebones Dos 7.1 (yes, Wengier Wu's version) and Win.98se. Pity tho', I've not got any I...
- Mon Mar 31, 2008 2:18 am
- Forum: QBasic / QuickBasic related
- Topic: Output to parallel port
- Replies: 12
- Views: 3621
Actually the 956 is correct, normal for an IBM Thinkpad. I can go into Device Manager and examine LPT1, and the resources listed are 03BC-03BE, which is 956 decimal. You are, of course, correct about the 956 port address. I should have done a bit more research before jumping in with both feet :roll...
- Sat Mar 29, 2008 3:02 am
- Forum: QBasic / QuickBasic related
- Topic: Output to parallel port
- Replies: 12
- Views: 3621
Ports
BTW when programming ports I have found it much easier to name the port, then if the port number must be changed there's just one change to make - such as: outport% = &h2FB out outport%,123 d%=inp (outport%) :print d% And you can save a bit of coding by not using o%= or d%= -- OUT outport%,25 PRINT ...
- Sat Mar 29, 2008 2:36 am
- Forum: QBasic / QuickBasic related
- Topic: Output to parallel port
- Replies: 12
- Views: 3621
Parallel port
I think your calculation of 956 being the port address is incorrect. 956 is possibly being written to by the system thereby returning decimal 255 every time. I changed the port address to 888, a more familiar one, and ran your code in the QB IDE under Win ME without problem. Here's the code I used: ...
- Fri Mar 28, 2008 9:04 am
- Forum: QBasic / QuickBasic related
- Topic: Output to parallel port
- Replies: 12
- Views: 3621
Programming Ports
It's an unfortunate fact of QuickBasic that when running in any of the NT systems the ports are not direcly accessible even when running in the Command Shell (often called Dos but it isn't). There's a good read here http://www.beyondlogic.org/porttalk/porttalk.htm Another possible workaround is here...
- Fri Feb 15, 2008 7:43 am
- Forum: QBasic / QuickBasic related
- Topic: Finding GXSTB graphic library
- Replies: 4
- Views: 1801
Genus is mentioned here http://www.dans20thcenturyabandonware.c ... og-dos.txt and there's a link at the bottom of the page for more info. I don't think it's a freebie.
Hope this helps.
V..
Hope this helps.
V..
- Wed Dec 26, 2007 10:18 pm
- Forum: Off Topic
- Topic: Happy New Year
- Replies: 0
- Views: 2636
Happy New Year
Nobody came to wish anybody a Merry Christmas - my excuse is that I was AWOL....
So to try to make up I wish you and your families, friends and acquaintances a very Healthy, Happy, and Prosperous New Year for 2008
So to try to make up I wish you and your families, friends and acquaintances a very Healthy, Happy, and Prosperous New Year for 2008
- Mon Dec 17, 2007 8:26 am
- Forum: QBasic / QuickBasic related
- Topic: converting decimal to HH:MM:SS?
- Replies: 5
- Views: 2464