|
-
Jul 26th, 2006, 02:16 PM
#4
Re: QBasic Background Sound
 Originally Posted by AioDCS
I have seen however, sample programs that shows QB can execute machine language instructions using Read/Data functions. But that was a very complex series of codes.
Quite common in those days. Just a string composed of all the machine language code bytes, VarPtr used to find the address of the first byte and Call to execute it. Using Read/Data to poke the bytes into RAM was okay for 8 bit single-processing computers, but got a bit hairy under Windows (and you can't easily execute data space or write to executable space). Most computers (PC, Apple II, Commodore, etc.) had some implementation that allowed it.
All you need is an assembler to assemble the code.
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|