diff --git a/Apple2/CommandFirmware.asm b/Apple2/CommandFirmware.asm index 12596d2..206e35a 100644 --- a/Apple2/CommandFirmware.asm +++ b/Apple2/CommandFirmware.asm @@ -1,3 +1,10 @@ +; Copyright Terence J. Boldt (c)2020-2022 +; Use of this source code is governed by an MIT +; license that can be found in the LICENSE file. + +; This file contains the source for the firmware +; that was formerly used to act as a pseudo-shell + ;ProDOS Zero Page Command = $42 ;ProDOS Command Unit = $43 ;ProDOS unit (SDDD0000) diff --git a/Apple2/DriveFirmware.asm b/Apple2/DriveFirmware.asm index 3032c88..af5124f 100644 --- a/Apple2/DriveFirmware.asm +++ b/Apple2/DriveFirmware.asm @@ -1,3 +1,12 @@ +; Copyright Terence J. Boldt (c)2020-2022 +; Use of this source code is governed by an MIT +; license that can be found in the LICENSE file. + +; This file contains the source for the firmware +; that allows the Apple II to boot from the card +; and for ProDOS to recognize the card as two +; hard drivers + ;ProDOS Zero Page Command = $42 ;ProDOS Command Unit = $43 ;ProDOS unit (SDDD0000) diff --git a/Apple2/FileAccessFirmware.asm b/Apple2/FileAccessFirmware.asm index d921a9a..85744b7 100644 --- a/Apple2/FileAccessFirmware.asm +++ b/Apple2/FileAccessFirmware.asm @@ -1,3 +1,11 @@ +; Copyright Terence J. Boldt (c)2020-2022 +; Use of this source code is governed by an MIT +; license that can be found in the LICENSE file. + +; This file contains the source for the firmware +; that was formerly used to copy files from RPi +; to Apple II RAM + ;ProDOS Zero Page Command = $42 ;ProDOS Command Unit = $43 ;ProDOS unit (SDDD0000) diff --git a/Apple2/MenuFirmware.asm b/Apple2/MenuFirmware.asm index 3ea237c..11abf23 100644 --- a/Apple2/MenuFirmware.asm +++ b/Apple2/MenuFirmware.asm @@ -1,3 +1,12 @@ +; Copyright Terence J. Boldt (c)2020-2022 +; Use of this source code is governed by an MIT +; license that can be found in the LICENSE file. + +; This file contains the source for the firmware +; that displays the copyright message on boot +; and checks for the RPi status to be ready before +; attempting to boot + ;ProDOS Zero Page Command = $42 ;ProDOS Command Unit = $43 ;ProDOS unit (SDDD0000) diff --git a/Apple2/RPi.Command.asm b/Apple2/RPi.Command.asm index 79d4afe..47e4962 100644 --- a/Apple2/RPi.Command.asm +++ b/Apple2/RPi.Command.asm @@ -1,3 +1,12 @@ +; Copyright Terence J. Boldt (c)2021-2022 +; Use of this source code is governed by an MIT +; license that can be found in the LICENSE file. + +; This file contains the source for the RPI.COMMAND +; application that runs on the Apple II and extends +; ProDOS BASIC.SYSTEM to add the RPI command which +; allows commands to be executed on the Raspberry Pi + .ORG $300 INBUF = $200 ;GETLN input buffer. WAIT = $FCA8 ;Monitor wait routine. diff --git a/Apple2/Shell.asm b/Apple2/Shell.asm index 89c6828..ef0de12 100755 --- a/Apple2/Shell.asm +++ b/Apple2/Shell.asm @@ -1,3 +1,11 @@ +; Copyright Terence J. Boldt (c)2021-2022 +; Use of this source code is governed by an MIT +; license that can be found in the LICENSE file. + +; This file contains the source for the SHELL +; application that runs on the Apple II to talk +; to the Raspberry Pi + ;ProDOS Zero Page Command = $42 ;ProDOS Command Unit = $43 ;ProDOS unit (SDDD0000) diff --git a/LICENSE b/LICENSE index 4450538..31ffda1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2020-2021 Terence J. Boldt +Copyright (c) 2020-2022 Terence J. Boldt Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/RaspberryPi/apple2driver/a2io/communication.go b/RaspberryPi/apple2driver/a2io/communication.go index e93f7b3..056b0b8 100644 --- a/RaspberryPi/apple2driver/a2io/communication.go +++ b/RaspberryPi/apple2driver/a2io/communication.go @@ -1,4 +1,4 @@ -// Copyright Terence J. Boldt (c)2021 +// Copyright Terence J. Boldt (c)2021-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/RaspberryPi/apple2driver/a2io/gpio.go b/RaspberryPi/apple2driver/a2io/gpio.go index 715ce40..e9b6882 100644 --- a/RaspberryPi/apple2driver/a2io/gpio.go +++ b/RaspberryPi/apple2driver/a2io/gpio.go @@ -1,4 +1,4 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/RaspberryPi/apple2driver/a2io/mockio.go b/RaspberryPi/apple2driver/a2io/mockio.go index d26ec54..fed6172 100644 --- a/RaspberryPi/apple2driver/a2io/mockio.go +++ b/RaspberryPi/apple2driver/a2io/mockio.go @@ -1,4 +1,4 @@ -// Copyright Terence J. Boldt (c)2021 +// Copyright Terence J. Boldt (c)2021-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/RaspberryPi/apple2driver/a2io/userio.go b/RaspberryPi/apple2driver/a2io/userio.go index 7ab8460..d590125 100644 --- a/RaspberryPi/apple2driver/a2io/userio.go +++ b/RaspberryPi/apple2driver/a2io/userio.go @@ -1,4 +1,4 @@ -// Copyright Terence J. Boldt (c)2021 +// Copyright Terence J. Boldt (c)2021-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/RaspberryPi/apple2driver/a2io/vt100.go b/RaspberryPi/apple2driver/a2io/vt100.go index 1497f17..30da0c1 100644 --- a/RaspberryPi/apple2driver/a2io/vt100.go +++ b/RaspberryPi/apple2driver/a2io/vt100.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2021 +// Copyright Terence J. Boldt (c)2021-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains VT100 terminal emulation +// This file contains VT100 terminal emulation package a2io diff --git a/RaspberryPi/apple2driver/driver.go b/RaspberryPi/apple2driver/driver.go index e3011ff..7a60955 100644 --- a/RaspberryPi/apple2driver/driver.go +++ b/RaspberryPi/apple2driver/driver.go @@ -1,10 +1,11 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the main driver code for the Raspberry Pi side of +// This file contains the main driver code for the Raspberry Pi side of // the Apple2-IO-RPi hardware. Commands are sent from the Apple II and // responses are sent back from the Raspberry Pi. + package main import ( diff --git a/RaspberryPi/apple2driver/handlers/block.go b/RaspberryPi/apple2driver/handlers/block.go index 760e061..676ebba 100644 --- a/RaspberryPi/apple2driver/handlers/block.go +++ b/RaspberryPi/apple2driver/handlers/block.go @@ -1,4 +1,4 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/RaspberryPi/apple2driver/handlers/communication.go b/RaspberryPi/apple2driver/handlers/communication.go index e0dab6a..e1ea36b 100644 --- a/RaspberryPi/apple2driver/handlers/communication.go +++ b/RaspberryPi/apple2driver/handlers/communication.go @@ -1,4 +1,4 @@ -// Copyright Terence J. Boldt (c)2021 +// Copyright Terence J. Boldt (c)2021-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. diff --git a/RaspberryPi/apple2driver/handlers/exec.go b/RaspberryPi/apple2driver/handlers/exec.go index ab8e8c5..4f1f0f0 100644 --- a/RaspberryPi/apple2driver/handlers/exec.go +++ b/RaspberryPi/apple2driver/handlers/exec.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the handler for executing Linux and internal +// This file contains the handler for executing Linux and internal // commands package handlers @@ -219,7 +219,7 @@ func a2wifiSelect(linuxCommand string) (string, error) { region := params[4] linuxCommand = "printf \"country=%s\\nupdate_config=1\\nctrl_interface=/var/run/wpa_supplicant\\n\\nnetwork={\\n scan_ssid=1\\n ssid=\\\"%s\\\"\n psk=\\\"%s\\\"\\n}\\n\" " + region + " " + - ssid + " " + + ssid + " " + psk + " " + " > /tmp/wpa_supplicant.conf; " + "sudo mv /tmp/wpa_supplicant.conf /etc/wpa_supplicant/; " + diff --git a/RaspberryPi/apple2driver/handlers/getTime.go b/RaspberryPi/apple2driver/handlers/getTime.go index 23b53a8..a05c892 100644 --- a/RaspberryPi/apple2driver/handlers/getTime.go +++ b/RaspberryPi/apple2driver/handlers/getTime.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the handler for retrieving the ProDOS timestamp +// This file contains the handler for retrieving the ProDOS timestamp // based on the current time package handlers diff --git a/RaspberryPi/apple2driver/handlers/loadFile.go b/RaspberryPi/apple2driver/handlers/loadFile.go index e53dba4..854bda5 100644 --- a/RaspberryPi/apple2driver/handlers/loadFile.go +++ b/RaspberryPi/apple2driver/handlers/loadFile.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the handler for loading files directly from the +// This file contains the handler for loading files directly from the // Raspberry Pi onto the Apple II package handlers diff --git a/RaspberryPi/apple2driver/handlers/loadFile_test.go b/RaspberryPi/apple2driver/handlers/loadFile_test.go index 4efafc9..1269282 100644 --- a/RaspberryPi/apple2driver/handlers/loadFile_test.go +++ b/RaspberryPi/apple2driver/handlers/loadFile_test.go @@ -1,3 +1,10 @@ +// Copyright Terence J. Boldt (c)2020-2022 +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. + +// This file contains the tests for the handler for +// loading files directly from the Raspberry Pi onto the Apple II + package handlers import ( diff --git a/RaspberryPi/apple2driver/handlers/menu.go b/RaspberryPi/apple2driver/handlers/menu.go index 1eafc05..64b7a0d 100755 --- a/RaspberryPi/apple2driver/handlers/menu.go +++ b/RaspberryPi/apple2driver/handlers/menu.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the handler for displaying the menu of choices on +// This file contains the handler for displaying the menu of choices on // the Apple II package handlers diff --git a/RaspberryPi/apple2driver/handlers/menu_test.go b/RaspberryPi/apple2driver/handlers/menu_test.go index a87b898..7ada1f4 100644 --- a/RaspberryPi/apple2driver/handlers/menu_test.go +++ b/RaspberryPi/apple2driver/handlers/menu_test.go @@ -1,3 +1,10 @@ +// Copyright Terence J. Boldt (c)2020-2022 +// Use of this source code is governed by an MIT +// license that can be found in the LICENSE file. + +// This file contains the test for the handler for +// displaying the menu of choices on the Apple II + package handlers import ( diff --git a/RaspberryPi/apple2driver/handlers/reset.go b/RaspberryPi/apple2driver/handlers/reset.go index dcfd190..39788df 100755 --- a/RaspberryPi/apple2driver/handlers/reset.go +++ b/RaspberryPi/apple2driver/handlers/reset.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the handler for displaying the menu of choices on +// This file contains the handler for displaying the menu of choices on // the Apple II package handlers diff --git a/RaspberryPi/apple2driver/handlers/shell.go b/RaspberryPi/apple2driver/handlers/shell.go index 97c3d77..df38961 100755 --- a/RaspberryPi/apple2driver/handlers/shell.go +++ b/RaspberryPi/apple2driver/handlers/shell.go @@ -1,8 +1,8 @@ -// Copyright Terence J. Boldt (c)2020-2021 +// Copyright Terence J. Boldt (c)2020-2022 // Use of this source code is governed by an MIT // license that can be found in the LICENSE file. -// This file is contains the handler for executing Linux shell +// This file contains the handler for executing Linux shell package handlers