Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
jedeoric committed Jan 27, 2024
1 parent 5341db5 commit 3baba53
Showing 1 changed file with 14 additions and 13 deletions.
27 changes: 14 additions & 13 deletions src/_ch376_set_bytes_read.s
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,7 @@

.import _ch376_wait_response

.proc ch376_set_bytes_write
;;@brief Set bytes to write. Manage only 16 bits. Others bytes are set to 0 to provide 32 bits integer to ch376 chip
;;@inputA Low value
;;@inputY High value
;;@modifyX
;;@modifyA
;;@```ca65
;;@` lda #$02
;;@` ldy #$10
;;@` jsr ch376_set_bytes_write
;;@```
jmp ch376_set_bytes_read::write_entry_point
.endproc


.proc _ch376_set_bytes_write
;;@proto void ch376_set_bytes_write(unsigned int nb);
Expand Down Expand Up @@ -69,3 +57,16 @@ write_entry_point:



.proc ch376_set_bytes_write
;;@brief Set bytes to write. Manage only 16 bits. Others bytes are set to 0 to provide 32 bits integer to ch376 chip
;;@inputA Low value
;;@inputY High value
;;@modifyX
;;@modifyA
;;@```ca65
;;@` lda #$02
;;@` ldy #$10
;;@` jsr ch376_set_bytes_write
;;@```
jmp ch376_set_bytes_read::write_entry_point
.endproc

0 comments on commit 3baba53

Please sign in to comment.