1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00

Add CBM kernal call TKSA to CBM library

This adds the CBM kernal call TKSA as cbm_k_tksa() to the CBM library.
This commit is contained in:
compyx 2018-05-22 14:16:00 +02:00
parent 81b3c16c7e
commit 30ada49458
11 changed files with 44 additions and 0 deletions

View File

@ -124,6 +124,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -115,6 +115,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -217,6 +217,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -118,6 +118,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -121,6 +121,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -203,6 +203,7 @@ function.
<item><ref id="cbm_k_setlfs" name="cbm_k_setlfs"> <item><ref id="cbm_k_setlfs" name="cbm_k_setlfs">
<item><ref id="cbm_k_setnam" name="cbm_k_setnam"> <item><ref id="cbm_k_setnam" name="cbm_k_setnam">
<item><ref id="cbm_k_talk" name="cbm_k_talk"> <item><ref id="cbm_k_talk" name="cbm_k_talk">
<item><ref id="cbm_k_tksa" name="cbm_k_tksa">
<item><ref id="cbm_k_udtim" name="cbm_k_udtim"> <item><ref id="cbm_k_udtim" name="cbm_k_udtim">
<item><ref id="cbm_k_unlsn" name="cbm_k_unlsn"> <item><ref id="cbm_k_unlsn" name="cbm_k_unlsn">
<!-- <item><ref id="cbm_load" name="cbm_load"> --> <!-- <item><ref id="cbm_load" name="cbm_load"> -->
@ -2284,6 +2285,28 @@ only be used in presence of a prototype.
</quote> </quote>
<sect1>cbm_k_tksa<label id="cbm_k_tksa"><p>
<quote>
<descrip>
<tag/Function/Send TALK secondary address to serial bus
<tag/Header/<tt/<ref id="cbm.h" name="cbm.h">/
<tag/Declaration/<tt/void __fastcall__ cbm_k_tksa (unsigned char addr);/
<tag/Description/This function transmits a secondary address on the serial bus for a TALK device.
<tag/Notes/<itemize>
<item>The function is only available as fastcall function, so it may
only be used in presence of a prototype.
<item>The function can only be called after a call to TALK.
<item>The function will not work after a LISTEN.
</itemize>
<tag/Availability/cc65
<tag/See also/
<ref id="cbm_k_talk" name="cbm_k_talk">
<tag/Example/None.
</descrip>
</quote>
<sect1>cbm_k_udtim<label id="cbm_k_udtim"><p> <sect1>cbm_k_udtim<label id="cbm_k_udtim"><p>
<quote> <quote>

View File

@ -99,6 +99,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -113,6 +113,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -99,6 +99,7 @@ declaration and usage.
<item>cbm_k_basin <item>cbm_k_basin
<item>cbm_k_bsout <item>cbm_k_bsout
<item>cbm_k_clrch <item>cbm_k_clrch
<item>cbm_k_tksa
<item>cbm_load <item>cbm_load
<item>cbm_open <item>cbm_open
<item>cbm_opendir <item>cbm_opendir

View File

@ -204,6 +204,7 @@ void __fastcall__ cbm_k_setlfs (unsigned char LFN, unsigned char DEV,
unsigned char SA); unsigned char SA);
void __fastcall__ cbm_k_setnam (const char* Name); void __fastcall__ cbm_k_setnam (const char* Name);
void __fastcall__ cbm_k_talk (unsigned char dev); void __fastcall__ cbm_k_talk (unsigned char dev);
void __fastcall__ cbm_k_tksa (unsigned char addr);
void cbm_k_udtim (void); void cbm_k_udtim (void);
void cbm_k_unlsn (void); void cbm_k_unlsn (void);
void cbm_k_untlk (void); void cbm_k_untlk (void);

12
libsrc/cbm/c_tksa.s Normal file
View File

@ -0,0 +1,12 @@
;
; Bas Wassink, 22.05.2018
;
; void __fastcall__ cbm_k_tksa (unsigned char addr)
;
.import TKSA
.export _cbm_k_tksa
_cbm_k_tksa = TKSA