[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 264: mysqli_fetch_assoc(): Couldn't fetch mysqli_result
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/db/driver/mysqli.php on line 326: mysqli_free_result(): Couldn't fetch mysqli_result
Pete's QBASIC Site Discuss QBasic, Freebasic, QB64 and more 2008-05-07T08:51:09-05:00 http://petesqbsite.com/phpBB3/app.php/feed/topic/2670 2008-05-07T08:51:09-05:00 2008-05-07T08:51:09-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=17189#p17189 <![CDATA[Some questions]]> .

Glad it could be of help. I can't wait to see what you'll come with :-).

Statistics: Posted by MystikShadows — Wed May 07, 2008 8:51 am


]]>
2008-05-06T20:11:01-05:00 2008-05-06T20:11:01-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=17187#p17187 <![CDATA[Some questions]]>
Scancodes probably come form WinAPI too...

Now I just need to get the playback routine called every 49.4Hz (the closest speed to Mega Drive I got using PCs PIT in QB version).

What a big bite... I need to digest it a little...

EDIT : if anyone's interested in the DOS verison, here's some OLD version : http://www.spritesmind.net/_GenDev//for ... .php?t=220 (latest is 0.4a, but its used for commercial stuff...)

Statistics: Posted by TmEE — Tue May 06, 2008 8:11 pm


]]>
2008-05-06T19:33:49-05:00 2008-05-06T19:33:49-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=17186#p17186 <![CDATA[Some questions]]>
Part one .MID File format
http://www.petesqbsite.com/sections/exp ... .html#midi

Part Two - Processing of a midi file with interpreted results.
http://www.petesqbsite.com/sections/exp ... ogramming2

Part tree - Actual formatting and sending of MIDI messages to the MIDI devices.
http://www.petesqbsite.com/sections/exp ... ogramming3

The last one shows how to use the API to open MIDI channels formulate and send MIDI messages of all types (note on/off, and the likes.).

For good timing, the API again in Windows, see the QueryPerformanceTimer function for details.


Hope these help.

Statistics: Posted by MystikShadows — Tue May 06, 2008 7:33 pm


]]>
2008-05-06T18:40:55-05:00 2008-05-06T18:40:55-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=17185#p17185 <![CDATA[Some questions]]>
I'll try to understand the ON TIMER emulation.... I have zero experience with windows programming... and I will not do any pmode DOS stuff...

And for MIDI, writing to $330 won't do in Windows... only in DOS it seems... and I DO NOT want to use any libraries. And I need something very basic.. I don't play MIDI files, I just send in some MIDI commands... stuff like Key On/Off, Program change, Parameter change etc.... I guess Windows API comes here...

Statistics: Posted by TmEE — Tue May 06, 2008 6:40 pm


]]>
2008-05-06T15:50:16-05:00 2008-05-06T15:50:16-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=17182#p17182 <![CDATA[Some questions]]> multikey
as those found in QB libraries.

2.-You can emulate ON-TIMER using a background thread. See code .This solution won't compile for DOS...

3.- FB can write to port to $330 if your present compiler can do it. But this is not likely to work in other people's soundcards. For alternative solutions see this thread

Statistics: Posted by Antoni — Tue May 06, 2008 3:50 pm


]]>
2008-05-06T14:16:35-05:00 2008-05-06T14:16:35-05:00 http://petesqbsite.com/phpBB3/viewtopic.php?p=17181#p17181 <![CDATA[Some questions]]>
1) How can I get keyboard scan codes ? INP(&H60) doesn't do anymore...

2) There is no ON TIMER anymore... I need something that executes part of code after (insert time here)... in QB45 I just wrote new value to PIT and got ON TIMER(1) to do what required...

3) I can do MIDI anymore by just writing to $330 ($ means HEX here... I'm 68K programmer... Mega Drive / Genesis kicks @$$)...

Statistics: Posted by TmEE — Tue May 06, 2008 2:16 pm


]]>