HC908QC16 ROM internal routines

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

HC908QC16 ROM internal routines

4,624件の閲覧回数
robidp82
Contributor I
Dear all,

does anyone know the addresses of the ROM internal routines for the MC68HC908QC16?
The datasheet specifies that these routines are implemented in the QC16.
The related web-site links to the AN2635 although this AN is not about the QC16, so it does not specify its addresses.

Thanks

robidp82
ラベル(1)
0 件の賞賛
返信
6 返答(返信)

1,675件の閲覧回数
Alban
Senior Contributor II
Hello,
 
Have you tried the search engine ? (bottom of list pages)
For "QC16 ROM Routines" it returns "Using flash routines out of ROM (MC68HC908QC16)"
 
It's funny how similar to your question it looks ?! :smileywink:
 
Otherwise, if you have tried and it is something else you were looking for, please ask the question on that thread as it is the subject.
 
Cheers,
Alban.
0 件の賞賛
返信

1,675件の閲覧回数
robidp82
Contributor I
The thread links to the AN2635 as the QC16 datasheet too, but the AN does not specify the ROM internal routines addresses for the QC16.
0 件の賞賛
返信

1,675件の閲覧回数
RockyRoad
Contributor III
robidp82 -
 
Looking back at the thread that Alban point to, I can see that my answer there wasn't very clear.
 
The addresses and call requirements for the ROM routines for the QC16 are the same as for the QB8. So, if you look in AN2635 and use the information there for the QB8, it will work for the QC16.
 
- Rocky
0 件の賞賛
返信

1,675件の閲覧回数
robidp82
Contributor I
I'm trying these addresses for the routines:

GETBYTE $2800
RDVRRNG $2803
ERARNGE $2806
PRGRNGE $2809
DELNUS $280C

and these for the variables:

CTRLBYT $48 (RAM + $08)
CPUSPD $49
LADDR $4A
DATA $4C

but I've still problems to run the routines. Are the addresses corrects?

Thanks a lot

robidp82
0 件の賞賛
返信

1,675件の閲覧回数
blade
Contributor I
The data structure is still org'ed at $0080, not $0040, even for the QC16.
0 件の賞賛
返信

1,675件の閲覧回数
robidp82
Contributor I
It works! :smileyhappy:

Thank you all!

robidp82
0 件の賞賛
返信