Hi again,
How will the below codes generate some tone although you disable the speaker?
How do the codes work?
; disables the speaker, and stop using channel 2
mov dx, 0x61
out dx, 0
; generates tone from speaker
out dx, 11111101b
thanks
Search found 2 matches
- Sun Apr 20, 2008 10:54 pm
- Forum: Beginning OS Development
- Topic: speaker programming
- Replies: 1
- Views: 15098
- Sun Apr 20, 2008 9:57 pm
- Forum: Beginning OS Development
- Topic: pit programming
- Replies: 0
- Views: 45488
pit programming
Hi, In the tutorial, you say: "Counter 0's OUT line indirectly connects to the PIC's IR0 line. Knowing that, when the IR0 line is low, the PIC will call the IRQ 0 handler defined by us. " What is "Connecting Indirectly"? Why will the PIC call the IRQ 0 handler defined by us,when the IR0 line is low?...