Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jedeoric committed Apr 9, 2024
1 parent 12345ed commit d5cbcd4
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 13 deletions.
18 changes: 15 additions & 3 deletions docs/api/2024.2/assembly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1556,7 +1556,7 @@ <h2 id="ch395_set_des_port_sn">ch395_set_des_port_sn</h2>
</ul>
<p><strong><em>Example</em></strong></p>
<div class="highlight"><pre><span></span><code><span class="w"> </span><span class="k">lda</span><span class="w"> </span><span class="p">#</span><span class="mh">$01</span>
<span class="w"> </span><span class="k">ldx</span><span class="w"> </span><span class="p">#</span><span class="mi">80</span>
<span class="w"> </span><span class="k">ldy</span><span class="w"> </span><span class="p">#</span><span class="mi">80</span>
<span class="w"> </span><span class="k">ldx</span><span class="w"> </span><span class="p">#</span><span class="mh">$00</span>
<span class="w"> </span><span class="k">jsr</span><span class="w"> </span><span class="n">ch395_set_des_port_sn</span>
<span class="w"> </span><span class="k">rts</span>
Expand Down Expand Up @@ -1663,7 +1663,17 @@ <h2 id="ch395_set_proto_type_sn">ch395_set_proto_type_sn</h2>
<p><strong><em>Input</em></strong></p>
<ul>
<li>Accumulator : Socket id</li>
<li>X Register : Proto mode</li>
</ul>
<p><strong><em>Modify</em></strong></p>
<ul>
<li>Y Register tmp</li>
</ul>
<p><strong><em>Example</em></strong></p>
<div class="highlight"><pre><span></span><code><span class="w"> </span><span class="k">lda</span><span class="w"> </span><span class="p">#</span><span class="mh">$00</span><span class="w"> </span><span class="c1">; Socket</span>
<span class="w"> </span><span class="k">ldx</span><span class="w"> </span><span class="p">#</span><span class="n">CH395_PROTO_TYPE_TCP</span>
<span class="w"> </span><span class="k">jsr</span><span class="w"> </span><span class="n">ch395_set_proto_type_sn</span>
</code></pre></div>
<hr>
<h2 id="ch395_set_retran_count">ch395_set_retran_count</h2>
<p><strong><em>Description</em></strong></p>
Expand Down Expand Up @@ -1702,8 +1712,8 @@ <h2 id="ch395_set_sour_port_sn">ch395_set_sour_port_sn</h2>
<p><strong><em>Input</em></strong></p>
<ul>
<li>Accumulator : Socket id</li>
<li>Y Register : Low ptr address</li>
<li>X Register : High ptr address</li>
<li>Y Register : Low port</li>
<li>X Register : High port</li>
</ul>
<p><strong><em>Modify</em></strong></p>
<ul>
Expand All @@ -1724,6 +1734,8 @@ <h2 id="ch395_set_ttl">ch395_set_ttl</h2>
</ul>
<hr>
<h2 id="ch395_tcp_connect_sn">ch395_tcp_connect_sn</h2>
<p><strong><em>Description</em></strong></p>
<p>Performs tcp connect</p>
<p><strong><em>Input</em></strong></p>
<ul>
<li>Accumulator : Socket id</li>
Expand Down
18 changes: 15 additions & 3 deletions docs/api/assembly/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1210,7 +1210,7 @@ <h2 id="ch395_set_des_port_sn">ch395_set_des_port_sn</h2>
</ul>
<p><strong><em>Example</em></strong></p>
<div class="highlight"><pre><span></span><code><span class="w"> </span><span class="k">lda</span><span class="w"> </span><span class="p">#</span><span class="mh">$01</span>
<span class="w"> </span><span class="k">ldx</span><span class="w"> </span><span class="p">#</span><span class="mi">80</span>
<span class="w"> </span><span class="k">ldy</span><span class="w"> </span><span class="p">#</span><span class="mi">80</span>
<span class="w"> </span><span class="k">ldx</span><span class="w"> </span><span class="p">#</span><span class="mh">$00</span>
<span class="w"> </span><span class="k">jsr</span><span class="w"> </span><span class="n">ch395_set_des_port_sn</span>
<span class="w"> </span><span class="k">rts</span>
Expand Down Expand Up @@ -1317,7 +1317,17 @@ <h2 id="ch395_set_proto_type_sn">ch395_set_proto_type_sn</h2>
<p><strong><em>Input</em></strong></p>
<ul>
<li>Accumulator : Socket id</li>
<li>X Register : Proto mode</li>
</ul>
<p><strong><em>Modify</em></strong></p>
<ul>
<li>Y Register tmp</li>
</ul>
<p><strong><em>Example</em></strong></p>
<div class="highlight"><pre><span></span><code><span class="w"> </span><span class="k">lda</span><span class="w"> </span><span class="p">#</span><span class="mh">$00</span><span class="w"> </span><span class="c1">; Socket</span>
<span class="w"> </span><span class="k">ldx</span><span class="w"> </span><span class="p">#</span><span class="n">CH395_PROTO_TYPE_TCP</span>
<span class="w"> </span><span class="k">jsr</span><span class="w"> </span><span class="n">ch395_set_proto_type_sn</span>
</code></pre></div>
<hr>
<h2 id="ch395_set_retran_count">ch395_set_retran_count</h2>
<p><strong><em>Description</em></strong></p>
Expand Down Expand Up @@ -1356,8 +1366,8 @@ <h2 id="ch395_set_sour_port_sn">ch395_set_sour_port_sn</h2>
<p><strong><em>Input</em></strong></p>
<ul>
<li>Accumulator : Socket id</li>
<li>Y Register : Low ptr address</li>
<li>X Register : High ptr address</li>
<li>Y Register : Low port</li>
<li>X Register : High port</li>
</ul>
<p><strong><em>Modify</em></strong></p>
<ul>
Expand All @@ -1378,6 +1388,8 @@ <h2 id="ch395_set_ttl">ch395_set_ttl</h2>
</ul>
<hr>
<h2 id="ch395_tcp_connect_sn">ch395_tcp_connect_sn</h2>
<p><strong><em>Description</em></strong></p>
<p>Performs tcp connect</p>
<p><strong><em>Input</em></strong></p>
<ul>
<li>Accumulator : Socket id</li>
Expand Down
2 changes: 1 addition & 1 deletion docs/api/search/search_index.json

Large diffs are not rendered by default.

Binary file modified docs/api/sitemap.xml.gz
Binary file not shown.
24 changes: 21 additions & 3 deletions docs/code/2024.2/assembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ This command is used to set the Socket destination port. It is necessary to inpu

```ca65
lda #$01
ldx #80
ldy #80
ldx #$00
jsr ch395_set_des_port_sn
rts
Expand Down Expand Up @@ -777,6 +777,20 @@ Steps for detailed steps.
***Input***

* Accumulator : Socket id
* X Register : Proto mode

***Modify***

* Y Register tmp

***Example***

```ca65
lda #$00 ; Socket
ldx #CH395_PROTO_TYPE_TCP
jsr ch395_set_proto_type_sn
```



---
Expand Down Expand Up @@ -835,8 +849,8 @@ This command is used to set the source port of Socket. It is necessary to input
***Input***

* Accumulator : Socket id
* Y Register : Low ptr address
* X Register : High ptr address
* Y Register : Low port
* X Register : High port

***Modify***

Expand Down Expand Up @@ -865,6 +879,10 @@ This command is used to set Socket TTL. It is necessary to input 1 byte of Socke

## ch395_tcp_connect_sn

***Description***

Performs tcp connect

***Input***

* Accumulator : Socket id
Expand Down
24 changes: 21 additions & 3 deletions docs/code/assembly.md
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ This command is used to set the Socket destination port. It is necessary to inpu

```ca65
lda #$01
ldx #80
ldy #80
ldx #$00
jsr ch395_set_des_port_sn
rts
Expand Down Expand Up @@ -777,6 +777,20 @@ Steps for detailed steps.
***Input***

* Accumulator : Socket id
* X Register : Proto mode

***Modify***

* Y Register tmp

***Example***

```ca65
lda #$00 ; Socket
ldx #CH395_PROTO_TYPE_TCP
jsr ch395_set_proto_type_sn
```



---
Expand Down Expand Up @@ -835,8 +849,8 @@ This command is used to set the source port of Socket. It is necessary to input
***Input***

* Accumulator : Socket id
* Y Register : Low ptr address
* X Register : High ptr address
* Y Register : Low port
* X Register : High port

***Modify***

Expand Down Expand Up @@ -865,6 +879,10 @@ This command is used to set Socket TTL. It is necessary to input 1 byte of Socke

## ch395_tcp_connect_sn

***Description***

Performs tcp connect

***Input***

* Accumulator : Socket id
Expand Down

0 comments on commit d5cbcd4

Please sign in to comment.