Help with CALL ABSOLUTE
Help with CALL ABSOLUTE
Im trying to learn to use ASM with QB and everytime I do it says Subprogram not defined and CALL is highlighted. Anyone know what the problem is?
_MOUSEX is not the answer
_MOUSEX is the question
Yes is the answer
_MOUSEX is the question
Yes is the answer
- Seb McClouth
- Veteran
- Posts: 342
- Joined: Wed Nov 09, 2005 7:47 am
- Location: Inside the Matrix...
- Contact:
show us your code, and we might be able to shine a light...
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
If you're using Qbasic it should work but in Quick Basic you need the following:
Hope that helps!http://www.qbasic.com/classic/q&a.html wrote: ...load QBasic up like this from the command line: qb /l. This will fix all of your problems with programs that use the CALL ABSOLUTE command. Have fun.
- Seb McClouth
- Veteran
- Posts: 342
- Joined: Wed Nov 09, 2005 7:47 am
- Location: Inside the Matrix...
- Contact:
Anywayz, just show us the code... It might be easier to pinpoint the location of the problem...
QBinux is a Linux distribution with the aim of integrating the work of the vast community of free software developers at Pete's QBASIC Site in order to create a modern, performant, safe and easy to use system for system administrators and desktop users.
-
- Veteran
- Posts: 399
- Joined: Wed Mar 02, 2005 9:01 pm
- Location: Nashville, Tennessee
- Contact:
Yeah, some code would be nice.
But, to be safe, try this: Load QuickBASIC with the /l option, which loads the QB library for assembly support (like CALL ABSOLUTE). Then, add the following line somewhere in the start of your program:
But, to be safe, try this: Load QuickBASIC with the /l option, which loads the QB library for assembly support (like CALL ABSOLUTE). Then, add the following line somewhere in the start of your program:
Code: Select all
'$INCLUDE 'qb.bi'