ROM-Resident Routine PUTBYTE

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

ROM-Resident Routine PUTBYTE

4,072件の閲覧回数
Brusse
Contributor I
Hi,
Is it possible to use then ROM-Resident Routine PUTBYTE in a 68HC908QT4 (Classic). I found the routine in the new improved 68HC908QT4A but can´t find any documentation about Classic.
ラベル(1)
0 件の賞賛
返信
4 返答(返信)

1,250件の閲覧回数
bigmac
Specialist III

Hello Brusse,

The PUTBYTE  routine should be located at address $FED0 for the QT4 (classic).

Regards,
Mac

 

0 件の賞賛
返信

1,250件の閲覧回数
Brusse
Contributor I

Many thanks, Mac

Do you know if there is any special conciderations to deal with before i make a call to the routine, i guess the charater to be send should be held in Acc. (have you found this information in some docs?)

0 件の賞賛
返信

1,250件の閲覧回数
bigmac
Specialist III

Hello Bru,

Have a look at AN1831 (Rev 3), where the code for the ROM routine RDVRRNG makes a call to PUTBYTE.  I think I have also read that the H:X register value is preserved by PUTBYTE.

I have not yet done so myself, but it may not be too onorous to disassemble this code, using an actual device, to find out how the routine works.

Regards,
Mac

 

0 件の賞賛
返信

1,250件の閲覧回数
gbm
Contributor II
Yes, it is possible. The built in monitor code uses it.
0 件の賞賛
返信