This message was edited by angelusMortis at 2005-10-17 3:23:39
This message was edited by angelusMortis at 2005-10-17 3:22:28
:
This message was edited by pmcastillo at 2005-10-15 16:1:19
: I tried to search Ray Duncan's "Advanced MSDOS Programming" (scanned version) on Yahoo! and Google, but I was unable to find it. I also made a research about the port 61h and this is what I got especially on Port 61h:
:
: Ports by Wim Osterholt Said:
http://mudlist.eorbit.net/~adam/pickey/ports.html
:
: 0061 -W PPI Programmable Peripheral Interface 8255 (XT only)
: system control port (see #P061)
:
:
: Clip-X Said:
http://www.clipx.net/ng/interrupts_and_ports/ng29520.php
:
: Port 061 - 8255A-5 Port B
:
: 1xxx xxxx 0=Keyboard enable, 1=Keyboard acknowledge
: PS/2: Write: Reset Timer 0 Output Latch (IRQ0)
: Read: Parity check (1=parity check occured).
: x1xx xxxx PS/2: Read: 1=Channel check has occured.
: xx1x xxxx 0=Enable parity error signals from expansion
: ports
: PS/2: Read: Timer 2 Output. This bit indicates the
: condition of the timer/counter 2 output
: signal.
: xxx1 xxxx 0=RAM parity error enable
: PS/2: Read: This bit tiggles for each refresh request.
: xxxx 1xxx Casette motor on/off (only old PCs)
: PS/2: Enable Channel Check (0=enabled - set to 1,
: during a power-on reset).
: xxxx x1xx Undefined/Speed Switch
: On some XT-clones, this bit is used to switch
: between 4.77 MHz and 8MHz mode.
: 0=4.77 MHz, 1=8 MHz.
: PS/2: Enable Parity Check (0=enabled - set to 1,
: during a power-on reset).
: xxxx xx1x 1=Speaker enabled
: xxxx xxx1 Speaker input gate
: 1=8253 channel 2
: 0=Direct speaker control via bit 1
:
:
: And Wow! Port 61h Isn't just for Internal Speakers!
:
: QUESTIONS ABOUT PORTS:
:
: (1) Correct me if I'm wrong, "The ports are defined by the chips used" and "Ports differ from every BIOS". So, if my computer, the Port 61h, is the speaker, then it maybe different in other computers.
:
: (2) Correct me if I'm wrong, "Processors defines the INTERRUPTS, while the BIOS defines the PORTS".
:
: (2) I visited:
http://www.bioscentral.com/ , which BIOS is good to start learning with?
:
: (3) Next, What is 8255? and 8253 counter timer? and MC146818 real time clock chip?
:
: NEXT PROJECT:
:
: My next project would be, multitasking in Assembly, coz I want my sound program to run on background.
:
:
:
:
(1) thats wrong. then portlists wouldnt exist. there is a standard.
(2) thats wrong either. Ralf Browns interruptlist would be completely useless then. you should search for it on google. he also had a portlist.
(3) hmm dont know, sorry.
(4) every pc needs a timer chip. you can access it through port 40h if i remember right. (see Ralf Browns portlist for more)