Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jedeoric committed Apr 26, 2024
1 parent a7947e9 commit 9dc3956
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@

## Dependencies

## behavior

Each calls to connect will allocate source port from 170 to 170 + $FF. Each time a connect is performed, source port = source port ++

Because when we connect to same host, we are trying to connect to same source port from Orix and the remote computer won't accept a connexion from a source port when connection is still closing.

4 changes: 2 additions & 2 deletions src/connect.s
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@

; Rotate source port

ldy $24D ; Get source port mapping
ldy $309 ; Get source port mapping
;tay
ldx #$00
lda TR0
jsr ch395_set_sour_port_sn ; Use RES
inc $24D



lda TR0
Expand Down

0 comments on commit 9dc3956

Please sign in to comment.