optimization

This commit is contained in:
boykovra 2024-08-29 12:19:37 +03:00
parent 5fb3ff48fa
commit 4535de201a
5 changed files with 9 additions and 8 deletions

View File

@ -23,7 +23,7 @@ EPRINT
DSS_EXEC DSS_PCHARS DSS_EXEC DSS_PCHARS
LD HL, WCOMMON.LINE_END LD HL, WCOMMON.LINE_END
DSS_EXEC DSS_PCHARS DSS_EXEC DSS_PCHARS
POP BC ; clear add from stack POP BC ; clear addr from stack
DSS_EXEC 0x0200+DSS_EXIT ; and exit DSS_EXEC 0x0200+DSS_EXIT ; and exit
; ------------------------------------------------------ ; ------------------------------------------------------

View File

@ -513,4 +513,4 @@ RS_BUFF
ENDMODULE ENDMODULE
END ENDIF

View File

@ -165,9 +165,10 @@ CHK_ERROR
.MSG_ERR_UPT .MSG_ERR_UPT
DB "Unknown TFTP packet received!",0 DB "Unknown TFTP packet received!",0
; Buffer for UDP datagram with TFTP payload ; Length of TFTP packet
TFTF_PACKET_LEN TFTF_PACKET_LEN
DW 0 DW 0
; Buffer for UDP datagram with TFTP payload
TFTP_BUFF TFTP_BUFF
DS 516,0 DS 516,0

View File

@ -205,11 +205,11 @@ GET_SRV_PARAMS
.GSNP_NXT .GSNP_NXT
INC HL INC HL
LD A,(HL) LD A,(HL)
CP A,'/' ; end slash CP '/' ; end slash
JR Z,.GSN_EN JR Z,.GSN_EN
CP A,'0' CP '0'
JP M,.GSN_EPN JP M,.GSN_EPN
CP A,0x3A ; >'9'? CP 0x3A ; >'9'?
JP P,.GSN_EPN JP P,.GSN_EPN
LD (DE),A LD (DE),A
INC DE INC DE
@ -555,4 +555,4 @@ TMP_BUFF EQU WIFI.RS_BUFF + RS_BUFF_SIZE
END MAIN.START END ;MAIN.START