phat code For every action, there is an equal and opposite malfunction.
Main

Projects

Downloads

Articles

Links

Forum

 

View Message

Back to Messages
Plasma Wed Nov 3 2021 at 1:41 pm
Well
 
 
In order to get accurate system-independent timing in the khz range necessary for bit banging sound samples, you will need to use the Programmable Interrupt Timer (PIT).

You reprogram it to the frequency you want and then install an interrupt handler. There's no good way to create an ISR with QB so you will need a lib or some assembly for that part.
 
 
 
 

Reply to this Message

Name
Subject
Message

No HTML is allowed, except for <code> <b> <i> <u> in the message only.
All URLs and email addresses will automatically be converted to hyperlinks.