diff --git a/http b/http index 79f971e..762e0dd 100644 Binary files a/http and b/http differ diff --git a/src/main.asm b/src/main.asm index efd8399..86f31bc 100644 --- a/src/main.asm +++ b/src/main.asm @@ -232,7 +232,7 @@ Post call Wifi.tcpSendBufferFrame - ;; now send the bank broken down in to chunks of + ;; now send the bank over UART broken down in to chunks of ;; 2048 for 8bit and 1536 for 7bit (to allow for encoding) ld de, State.offset ; load and prepare the offset call StringToNumber16 ; HL = offset @@ -386,7 +386,6 @@ LoadPackets jp Error PreExitCheck - CSP_BREAK ld a, (State.fileMode) cp NOT_WRITING_TO_FILE jr z, .cleanExit diff --git a/src/version.inc.asm b/src/version.inc.asm index 6838df6..2525602 100644 --- a/src/version.inc.asm +++ b/src/version.inc.asm @@ -1,5 +1,5 @@ IFNDEF TESTING - DEFINE VERSION "1.0-24rc" + DEFINE VERSION "1.0-25rc" ELSE DEFINE VERSION "TEST" ENDIF diff --git a/src/wifi.asm b/src/wifi.asm index 71f9cc5..b49252e 100644 --- a/src/wifi.asm +++ b/src/wifi.asm @@ -209,16 +209,16 @@ tcpSendEncodedBufferFrame: ;; work out how much padding is required now we're at the end ld a, (State.padding) - and a + and a ; if padding == 0 then don't add any null bytes jr z, .padNone - cp 2 + cp 2 ; if padding == 2 null out Base64.input + 1 & + 2 (end) jr nz, .padOne xor a - ld (Base64.input+2), a + ld (Base64.input+1), a .padOne xor a - ld (Base64.input+1), a + ld (Base64.input+2), a .padNone scf ; set carry as a flag for encode process @@ -242,7 +242,7 @@ tcpSendEncodedBufferFrame: pop bc - dec bc ; adjust for the 4 bytes we just send + dec bc ; adjust for the 4 bytes we just sent dec bc dec bc dec bc