Re: to make a TSR
- From: "almas" <almes@xxxxxxxxxx>
- Date: Sun, 27 Apr 2008 23:04:00 +0200
Hi,
Thanks for your answer.
I use port 61h.
I make a file b25 ( 25 bytes à and b12 ( 12 bytes )
B25 use mov ax, 0 A0 A3h B12 use mov al, 0 FFh
that is the most important modification.
When i do
B12 .... some times it is OK, sometimes, no noise
then i run B25 i have always a low frequency noise.
After it, i run again B12 and i have always a noise
Now, i use display byte 07 : the bell
i obtain a nusty noise... but it is a noise !
i did not succed to stay resident the program.
Sure, i can use acloch : 1800 bytes....
But, i just have to make noise after XX minutes or seconds.
Sure, i miss a detail ....
Must i use mov ax; 35 XXh and 25 XX h ?
where XX can be 09 ( didplay text ; or 1C ; take the time ) ?
Regards
Almas
"Dirk Wolfgang Glomp" <dirk@xxxxxxxxxxxxxxxxxxx> a écrit dans le message de
news: mdbhmhsew4m8.m24ilye9t1es$.dlg@xxxxxxxxxxxxx
Am Sat, 26 Apr 2008 14:10:34 +0200 schrieb almas:
mov bx,0010h ; do a first bip, then a second
againbip:
dec bx
mov ax,0a0a3h
out 61h,al
sub cx,cx
loopici:
loop loopici
mov al,ah
out 61h,al
cmp bx,0
jnz againbip
; if i run alone this noise, sometimes, no thing happen
; if i run first the noise above, all is OK
Maybe you have to check the "speaker data status"?
RBIL->inter61d.zip->Ports.a
--------K-P0060006F--------------------------
PORT 0060-006F - KEYBOARD CONTROLLER 804x
...
Bitfields for KB ctrller port B control register (system control port)
[input]:
Bit(s) Description (Table P0393)
7 RAM parity error occurred
6 I/O channel parity error occurred
5 mirrors timer 2 output condition
4 toggles with each refresh request
3 NMI I/O channel check status
2 NMI parity check status
1 speaker data status
0 timer 2 clock gate to speaker status
Note: also supported by OPTi 82C392
SeeAlso: PORT 0061h-R,#P0392
Dirk
.
- Follow-Ups:
- Re: to make a TSR
- From: Dirk Wolfgang Glomp
- Re: to make a TSR
- References:
- to make a TSR
- From: almas
- Re: to make a TSR
- From: Dirk Wolfgang Glomp
- to make a TSR
- Prev by Date: Re: to make a TSR
- Next by Date: Re: delete bytes
- Previous by thread: Re: to make a TSR
- Next by thread: Re: to make a TSR
- Index(es):
Relevant Pages
|