QuickBasic code generation

If you have questions about any aspect of QBasic programming, or would like to help fellow programmers solve their problems, check out this board!

Moderators: Pete, Mods

Post Reply
victorf
Newbie
Posts: 5
Joined: Mon Jul 04, 2005 1:58 pm

QuickBasic code generation

Post by victorf »

I have just acquired a copy of QuickBasic 4.5 and will be using it to produce code for a 16 bit 80188 level embedded controller. This requires the generated code bi 16 bit. The controller came with Borland's Turbo C++ version 4.5 (I think that is the version) which is the development platform from the controller manufacturer. They have told me that any development system that produces 16 bit .exe or .com files will get the job done. So, the question is; does QuickBasic 4.5 produce 16 bit code? Also, how about Visual Basic for DOS less the 'windowing stuff' of course?

Any enlightenment will be appreciated. :)

Vic Fraenckel
victorf ATSIGN windreader DOT com
Rattrapmax6
Veteran
Posts: 1055
Joined: Sun Jan 02, 2005 2:11 pm
Location: At my computer
Contact:

Post by Rattrapmax6 »

QuickBasic 4.5 is a 16bit compiler... Along with QuickBasic7.1, or beter know as PDS7.1,... And if you want to top it, FreeBasic (A near 99% replica of QuickBasic, modeled to be just like it) compiles 32bit apps.. :wink:
-Kevin (aka:Rattra)
(x.t.r.GRAPHICS)
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

To get any and all versions of QB or PDS or VB-DOS you can always get them here:

http://www.ojodepez-fanzine.net/network/qbdl/
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

I have always gone to (the dead) www.qbnz.com under the software section of the downloads.
Image
victorf
Newbie
Posts: 5
Joined: Mon Jul 04, 2005 1:58 pm

RE:QuickBasic code generation

Post by victorf »

Thanks for the responses.

I believe the questions were; 1.) Does QuickBasic 4.5 generate 16 bit code? and 2.) Does Visual Basic for DOS generate 16 bit code?


Rattrapmax6 has answered question 1. What about question 2?

Any enlightenment will be appreciated. :)

Vic
victorf ATSIGN windreader DOT com
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni »

VBDOS creates 16 bit code too.

Be warned QB-VBDOS comms had some quirks, some word widths wre incompatible with some stop bit numbers. I can find the exact values if you need them..

This old forum archive can be useful as a reference, 15 years ago QB was more used for comms than today
http://www.outer-court.com/basic/echo/index.htm
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

D*MN! YOU ALWAYS GET HERE FIRST!!!
Image
MystikShadows
Veteran
Posts: 703
Joined: Sun Nov 14, 2004 7:36 am
Contact:

Post by MystikShadows »

lol Nathan....what can we say...you gotta wake up earlier ;-)...
When God created light, so too was born, the first Shadow!

MystikShadows

Need hosting? http://www.jc-hosting.net

Interested in Text & ASCII development? Look no further!
http://www.ascii-world.com
victorf
Newbie
Posts: 5
Joined: Mon Jul 04, 2005 1:58 pm

Post by victorf »

Antoni wrote:
Be warned QB-VBDOS comms had some quirks, some word widths wre incompatible with some stop bit numbers. I can find the exact values if you need them..
I would be interested in those exact values as part of my project would require RS232 comms with a microcontroller based sensor board that spits out data via RS232.

I am glad to hear that VBDOS also produces 16 bit code and am considering using it (in non-visual mode). I have some experience using it. I thought I was the only person that ever heard of it. I usually get blank stares when I mention it. I will have a go with QB4.5 first however.

Thanks for all replies of substance.

Regards,

Vic Fraenckel
victorf ATSIGN windreader DOT com
Antoni
Veteran
Posts: 132
Joined: Wed Jun 15, 2005 3:01 pm
Contact:

Post by Antoni »

victor:
My memory degrades every year. The limitation is the compiler does'nt allow 8 bits data to have parity. I found it in Dav's MS Knowledge base for QB database. http://qbnz.com/dav/qbkb/?action=dict_find. Do a search for COM1, you will find interesting things.

I forgot most of the issues about QB and comms, ten years ago I did a sort of texmode SCADA running a set of building HVAC controllers from Sauter.
Windows has made me drop the topic, too difficult unless you use VB.
User avatar
{Nathan}
Veteran
Posts: 1169
Joined: Thu Aug 19, 2004 6:08 pm
Location: The wetlands of central Ohio, USA
Contact:

Post by {Nathan} »

Hey... I got up at 3:00 GMT today...
Image
Post Reply