diff --git a/sources/DSS/dss_error.asm b/sources/DSS/dss_error.asm index 776b49a..5189dfa 100644 --- a/sources/DSS/dss_error.asm +++ b/sources/DSS/dss_error.asm @@ -23,7 +23,7 @@ EPRINT DSS_EXEC DSS_PCHARS LD HL, WCOMMON.LINE_END DSS_EXEC DSS_PCHARS - POP BC ; clear add from stack + POP BC ; clear addr from stack DSS_EXEC 0x0200+DSS_EXIT ; and exit ; ------------------------------------------------------ diff --git a/sources/DSS/esplib.asm b/sources/DSS/esplib.asm index 6ab5f7f..a45465e 100644 --- a/sources/DSS/esplib.asm +++ b/sources/DSS/esplib.asm @@ -513,4 +513,4 @@ RS_BUFF ENDMODULE - END \ No newline at end of file + ENDIF \ No newline at end of file diff --git a/sources/DSS/isa.asm b/sources/DSS/isa.asm index b9234f7..e52111a 100644 --- a/sources/DSS/isa.asm +++ b/sources/DSS/isa.asm @@ -55,7 +55,7 @@ ISA_OPEN LD A, 0x11 OUT (C), A ISA_SLOT EQU $+1 - LD A,0x00 + LD A, 0x00 SLA A OR A, 0xD4 ; D4 - ISA1, D6 - ISA2 LD BC, PAGE3 diff --git a/sources/DSS/tftp.asm b/sources/DSS/tftp.asm index 9dbe5ba..0bcbd97 100644 --- a/sources/DSS/tftp.asm +++ b/sources/DSS/tftp.asm @@ -165,9 +165,10 @@ CHK_ERROR .MSG_ERR_UPT DB "Unknown TFTP packet received!",0 -; Buffer for UDP datagram with TFTP payload +; Length of TFTP packet TFTF_PACKET_LEN DW 0 +; Buffer for UDP datagram with TFTP payload TFTP_BUFF DS 516,0 diff --git a/sources/DSS/wtftp.asm b/sources/DSS/wtftp.asm index 20414c6..f1dfdc8 100644 --- a/sources/DSS/wtftp.asm +++ b/sources/DSS/wtftp.asm @@ -205,11 +205,11 @@ GET_SRV_PARAMS .GSNP_NXT INC HL LD A,(HL) - CP A,'/' ; end slash + CP '/' ; end slash JR Z,.GSN_EN - CP A,'0' + CP '0' JP M,.GSN_EPN - CP A,0x3A ; >'9'? + CP 0x3A ; >'9'? JP P,.GSN_EPN LD (DE),A INC DE @@ -555,4 +555,4 @@ TMP_BUFF EQU WIFI.RS_BUFF + RS_BUFF_SIZE - END MAIN.START + END ;MAIN.START