Skip to content

Commit

Permalink
Added licence header to all source files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Threetwosevensixseven committed Jan 31, 2020
1 parent 7a955b0 commit ffc4ea1
Show file tree
Hide file tree
Showing 21 changed files with 290 additions and 26 deletions.
14 changes: 14 additions & 0 deletions build/readme.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

To build NXTP on Windows 10 from source you obtained from the ZX Spectrum Next� distro or gitlab repository:

DO THIS ONCE:
Expand Down
Binary file modified dot/NXTP
Binary file not shown.
14 changes: 14 additions & 0 deletions src/asm/constants.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
; constants.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

; Application
CoreMinVersion equ $3004 ; 3.00.04 has 28MHz
TestVersion equ "0004" ; Only used to make sure latest version is uploaded to board
Expand Down
14 changes: 14 additions & 0 deletions src/asm/esp.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
; esp.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

Cmd proc
CIPSTART1: db "AT+CIPSTART=\"TCP\",\""
CIPSTART1Len equ $-CIPSTART1
Expand Down
16 changes: 14 additions & 2 deletions src/asm/esxDOS.asm
Original file line number Diff line number Diff line change
@@ -1,8 +1,20 @@
; esxDOS.asm
;
; NOTE: File paths use the slash character (‘/’) as directory separator (UNIX style)

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

; NOTE: File paths use the slash character (‘/’) as directory separator (UNIX style)

esxDOS proc

Expand Down
14 changes: 14 additions & 0 deletions src/asm/macros.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
; macros.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

VersionPrefix equ "1."

include "version.asm", 1 ; Auto-generated by ..\build\cspect.bat or builddot.bat
Expand Down
16 changes: 15 additions & 1 deletion src/asm/main.asm
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
; main.asm
; main.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
; Assembles with regular version of Zeus (not Next version),
zeusemulate "48K", "RAW", "NOROM" ; because that makes it easier to assemble dot commands
zoSupportStringEscapes = true; ; Download Zeus.exe from http://www.desdes.com/products/oldfiles/
Expand Down
14 changes: 14 additions & 0 deletions src/asm/msg.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
; msg.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

Msg proc
Startup: db "NXTP v1."
BuildNo()
Expand Down
14 changes: 14 additions & 0 deletions src/asm/parse.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
; parse.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

FindColonOrCR proc
ld bc, 0
Loop: ld a, (hl)
Expand Down
14 changes: 14 additions & 0 deletions src/asm/vars.asm
Original file line number Diff line number Diff line change
@@ -1,5 +1,19 @@
; vars.asm

; Copyright 2019-2020 Robin Verhagen-Guest
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.

ArgsStart: dw $0000
ArgsEnd: dw $0000
ArgsLen: dw $0000
Expand Down
26 changes: 13 additions & 13 deletions src/asm/version.asm
Original file line number Diff line number Diff line change
@@ -1,38 +1,38 @@
; version.asm
;
; Auto-generated by ZXVersion.exe
; On 27 Jan 2020 at 19:18
; On 31 Jan 2020 at 08:49

BuildNo macro()
db "61"
db "62"
mend

BuildNoValue equ "61"
BuildNoWidth equ 0 + FW6 + FW1
BuildNoValue equ "62"
BuildNoWidth equ 0 + FW6 + FW2



BuildDate macro()
db "27 Jan 2020"
db "31 Jan 2020"
mend

BuildDateValue equ "27 Jan 2020"
BuildDateWidth equ 0 + FW2 + FW7 + FWSpace + FWJ + FWa + FWn + FWSpace + FW2 + FW0 + FW2 + FW0
BuildDateValue equ "31 Jan 2020"
BuildDateWidth equ 0 + FW3 + FW1 + FWSpace + FWJ + FWa + FWn + FWSpace + FW2 + FW0 + FW2 + FW0



BuildTime macro()
db "19:18"
db "08:49"
mend

BuildTimeValue equ "19:18"
BuildTimeWidth equ 0 + FW1 + FW9 + FWColon + FW1 + FW8
BuildTimeValue equ "08:49"
BuildTimeWidth equ 0 + FW0 + FW8 + FWColon + FW4 + FW9



BuildTimeSecs macro()
db "19:18:14"
db "08:49:48"
mend

BuildTimeSecsValue equ "19:18:14"
BuildTimeSecsWidth equ 0 + FW1 + FW9 + FWColon + FW1 + FW8 + FWColon + FW1 + FW4
BuildTimeSecsValue equ "08:49:48"
BuildTimeSecsWidth equ 0 + FW0 + FW8 + FWColon + FW4 + FW9 + FWColon + FW4 + FW8
16 changes: 15 additions & 1 deletion src/core/NxtpClient/Program.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using NxtpData;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using NxtpData;
using NxtpData.Request;
using NxtpData.Response;
using System;
Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpData/Request/INxtpRequest.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using NxtpData.Response;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using NxtpData.Response;
using System;
using System.Collections.Generic;
using System.Text;
Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpData/Request/NxtpRequestFactory.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using NxtpData.Response;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using NxtpData.Response;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpData/Request/NxtpRequestV1.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using System;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Text;
using NxtpData.Response;
Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpData/Response/INxtpResponse.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using System;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Text;

Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpData/Response/NxtpResponseV1.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using NxtpData.Request;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using NxtpData.Request;
using System;
using System.Collections.Generic;
using System.Text;
Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpData/TimezoneData.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using System;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Text;

Expand Down
16 changes: 15 additions & 1 deletion src/core/NxtpServer/Classes/Client.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,18 @@
using System;
// Copyright 2019-2020 Robin Verhagen-Guest
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Collections.Generic;
using System.Net;
using System.Net.Sockets;
Expand Down
Loading

0 comments on commit ffc4ea1

Please sign in to comment.