Subject: QB64
From: Rotary Engine
Date: 6/5/2010, 5:49 AM
To: AAA Put this in the To box


There is a move afoot to resurrect QB.

http://qb64.net/wiki/index.php?title=Keyword_Reference_-_Alphabetical

This is a lot more complex and powerful.

Paul Lamar

Paul,

Cool, I just received the two books I bought on QBasic.  I guess I'll have
to read them now.  ;-)

Mark

BTW Mark. Do you have any opto isolators? Needed before you hook
up the Hytech. Anything over 5 volts input will destroy it.


It is now possible to use  QB64 and some of the I/O cards from Mesa
Electronics to build an EFI system around a cheap ($90) Atom PC mother board.

http://www.mesanet.com/

This company supplies the cards that Real Time Linux and the Enhanced
Machine Control (EMC) open source software for NC machine tools use.
If it can control an NC machine it can control an internal
combustion engine. However it is a lot more hardware and more costly
than a ZBasic with AVR computer approach. QB64 is more like ZBasic
than QB is to ZBasic. Mesa I/O cards run a couple of hundred dollars
each.

These are some of the key QB64 instructions among others that make this possible.
Finally!!!!

.....................................................................
INP reads register or port values from a specified address.
Syntax: i = INP(address)
* Address can be a Decimal or Hexadecimal INTEGER value.
* INP reads directly from an address unlike the PEEK function(which reads from memory).
* It does not require a DEF SEG address like PEEK does.
.......................................................
OUT sends values to register or port addresses.
Syntax: OUT address%, value%
* Address is an integer expressed in Decimal or Hexadecimal.
* WARNING! Be sure that the address is useable. OUT accesses
  directly unlike POKE and can cause permanent PC damage!
* Values sent are normally only 0 to 255 per one byte register(8 bits).
..............................................
The INTERRUPT statement is an assembly routine for accessing
   computer information registers.
Syntax: CALL INTERRUPT(intnum, inregs, outregs)
* Available on QuickBasic versions 4 up, it requires the library to be
 loaded. Command line: QB.EXE /L in QB4.5 .
* Interrupt number is the interrupt reference vector table address.
 See: Ralf Brown's Interrupt List
* Inregs are the values placed into the call and outregs are the
 register return values.
* INTERRUPT can only use ax, bx, cx, dx, bp, si, di, and the flags values.
.........................................................

It will be  a few years before the bugs are sorted.

Running real (old DOS ) QB in a Windows command window will be more reliable
and less likely to destroy you computer. I don't recommend QB64 for
beginners. It has the power to screw things up big time!!!!!!!!!!!!!

Paul Lamar
-- 
The Rotary Engine NewsLetter. Powered by Linux.
ACRE NL web site. http://www.rotaryeng.net
Youtube key word PaulLamar2
Copyright 1998-2010 All world wide rights reserved.