Search found 29 matches

by TRANERAECK
Sun Jan 08, 2012 5:09 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

Have finally done something

I posted what I found on qbcafe it has dll's. Also a library it shiows how to use dll's with qbasic. It was made by Randall L Glass. I am pretty sure you don't want to open the port. The way to do it with windows xp is to use a dll. I am almost positive.
:o
by TRANERAECK
Fri Dec 30, 2011 11:19 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

FORGOT volume setting

ADD in this:
OUT &H70F, 129

AFTER &H705 entry.

7 bits is equal to 128 (explanation: 2^7 power).
I am close to reproducing the sound with hardware volume setting just can't get the process speed to slow down. :(
by TRANERAECK
Fri Dec 30, 2011 10:36 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

HAVE best ever

With the help of a REALTEK AUDIO DATASHEET I have used the archive to find a nice code called SNDBLAST.BAS. I have come up with this code: DIM wav(9000) AS STRING * 1 INPUT "Path: ", Path$ Path$ = "C:\LANGUAJS\TEST.wav" OPEN Path$ FOR BINARY AS #1 GET #1, , WavFile t% = 1 DO WHILE NOT EOF(1) GET #1,...
by TRANERAECK
Thu Dec 15, 2011 12:57 am
Forum: QBASIC and QB64 Questions & Answers
Topic: Easy way to enter the library QB.QLB
Replies: 0
Views: 5485

Easy way to enter the library QB.QLB

Make a shortcut in WINDOWS. Iam on WINDOWS XP. I then went to Properties, right click on the shortcut. I then added under Program the following to QB.EXE /L QB.QLB No the /L QB>QLB isn't underlined in Program just pointing out what to add. This is pretty simple check it with CALL ABSOLUTE you can us...
by TRANERAECK
Tue Dec 06, 2011 8:48 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

FOUND the code OK

Found this code do not know where the two subs are... There is interesting ideas on the stereo there. It requires the programmer to look up the datasheet on the stereo port to use anything close to what is resembled. If it can be done it would be great. :(
by TRANERAECK
Sat Dec 03, 2011 1:25 am
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

WELL the answer is simple

I have an answer to the problem I looked up my datasheet of REALTEK ALC262 found out by manager realtek is on my machine HDAUDIO and there is all the info you could ask for... have a lot to go over. Search out what realtek HDAUDIO you have and then look up the data sheet this game is an example of s...
by TRANERAECK
Fri Dec 02, 2011 11:52 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

Found this code on a website

I cannot get the VB code to work because I researched Randall L Glass in PowerBasic and the call to winmm.dll is going through kernel32.dll and there are miscellaneous characters to use with winmm.dll such as a note atthe end of winmm.dll entry when called. Check powerbasic call dll from there websi...
by TRANERAECK
Thu Dec 01, 2011 4:23 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

IF IT WAS TO WORK???

HERE is the real play a sound!!!!!!!!!!!!!!!! Graphics is great in QBASIC you could define the pixel with WINDOW and a SCREEN setup but sound? Well have it. You have to use the WINMM.DLL and here is how: REM PROGRAM: SOUN3.BAS REM PROGRAMMER: Gregory Lyons REM Uses info found at www.bytes.com replie...
by TRANERAECK
Mon Nov 21, 2011 10:50 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

Here is some of it finished.

The stuff is in the new post. :twisted:
by TRANERAECK
Mon Nov 21, 2011 10:06 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

Have SUBSYS identity

There is a SUBSYS listed it is 103C2802 AND has rev 1001 as one of the device controls. IF ANYONE knows the corresponding address or can compute this to a number between 0 - 65172 it would help for I think this is for the reg addr and data addr where they will differ by 1 number; hence the 1001 entr...
by TRANERAECK
Mon Nov 21, 2011 9:37 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

FORGOT something

THE stuff I posted Before was dumb. :oops:
by TRANERAECK
Mon Nov 21, 2011 12:00 pm
Forum: General Discussion
Topic: Working on playing sounds through stereo.
Replies: 15
Views: 7850

Working on playing sounds through stereo.

Check my latest post: :P
by TRANERAECK
Sun Nov 13, 2011 6:36 am
Forum: General Discussion
Topic: GOOD IDEA FOR LARGE PROGRAMS
Replies: 0
Views: 3433

GOOD IDEA FOR LARGE PROGRAMS

I have an idea for large programs. You could DECLARE your subs in the main program and then separatley compile two programs and also use GLOBAL VARIABLES with COMMON SHARED then link the separate object files with the linker. I found this code on a website for vbdos. ' Released into the PD Dec 19, 1...
by TRANERAECK
Wed Jul 13, 2011 1:58 am
Forum: General Discussion
Topic: My own qbsite
Replies: 5
Views: 4452

HERE you go

I don't know what happen to the other source I was working on? I lost it somehow but here is a random number generator that I found on my computer hiding on there. I will have to try to connect one file with the other. Thanks for saving my code with that and this you will get random numbers. Code Ex...
by TRANERAECK
Sun Jul 10, 2011 4:12 pm
Forum: General Discussion
Topic: My own qbsite
Replies: 5
Views: 4452

ADDED SOME to the generator

Here is a little more to my generator sorry for the inconvienence with Kiyote as well I was sure my name means Koji Igarashi. Programmer of Castlevania CUrse of Darkness ::Greg Lyons. INPUT "Enter an integer for randoms limit:", VARIABLE% 'capture second hand VALUE1$ = MID$(TIME$, 7, 2) VALUE2% = VA...
by TRANERAECK
Sun Jul 10, 2011 1:26 pm
Forum: General Discussion
Topic: My own qbsite
Replies: 5
Views: 4452

Ill Be around.

Can only post my info at my site. Having trouble making a valid html page do everything. Here is a random number generator I worked on it doesn't calculate real good for many randoms all at one time but for one number every so often it is pretty good. INPUT "Enter an integer for randoms limit:", VAR...
by TRANERAECK
Fri Jul 08, 2011 3:34 pm
Forum: General Discussion
Topic: My own qbsite
Replies: 5
Views: 4452

My own qbsite

Started my own web page it is basic but it has my programs on it, rather then uploading code I will just have them available for download. I will check back from time to time but going to try and start my own forum for qbasic. I hope you check out my site:

http://www.Bagel-Basic.html


See ya.
by TRANERAECK
Sun May 29, 2011 12:21 am
Forum: General Discussion
Topic: How to convert hexadecimal to integer
Replies: 5
Views: 6182

HAVE completed it.

It took sometime but I completed it. I was trying to convert a four digit HEX because it would be two ASCII numbers back to integer. I wanted to reproduce my compiler I had on my TANDY 1000. It was nice and it was in binary, I figured HEX would be simpler. I am not sure what else I did but the Regis...
by TRANERAECK
Thu May 26, 2011 8:06 am
Forum: General Discussion
Topic: MY START to a COMPILER
Replies: 2
Views: 3021

I was posting my start to a compiler this is just a rough outline. I am following web information that is under education at colleges. They say there is four parts to a compiler on a four pass compiler. They are: - Preprocessor - Lexical Analyzer - Parser - Code generator This allows you to create a...
by TRANERAECK
Tue May 24, 2011 9:34 pm
Forum: General Discussion
Topic: MY START to a COMPILER
Replies: 2
Views: 3021

MY START to a COMPILER

Well I said I would post my compiler. It has been a while and I thought this is my start of one so why not? DECLARE SUB OBTAINCHARACTER (initIndex AS INTEGER) DECLARE SUB KEYWORD.PARSE (initIndex AS INTEGER, NEWVARIABLE AS STRING_ REMCONDITION AS STRING, CASEWORD AS STRING) DECLARE SUB VALUE.REM (RE...