mirror of
https://github.com/tjboldt/Apple2-IO-RPi.git
synced 2024-11-25 21:33:15 +00:00
841b11f9ae
* Update copyright year * Update module to add image support
26 lines
577 B
Go
Executable File
26 lines
577 B
Go
Executable File
// Copyright Terence J. Boldt (c)2020-2023
|
|
// Use of this source code is governed by an MIT
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// This file contains the handler for displaying the menu of choices on
|
|
// the Apple II
|
|
|
|
package handlers
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
// MenuCommand handles the request to show menu options on the Apple II
|
|
func MenuCommand() {
|
|
fmt.Printf("Sending menu...\n")
|
|
comm.WriteString("Apple2-IO-RPi\r" +
|
|
"(c)2020-2023 Terence J. Boldt\r" +
|
|
"\r" +
|
|
"Select an option:\r" +
|
|
"\r" +
|
|
"1. Boot\r" +
|
|
"2. Command Line\r" +
|
|
"3. Load File\r")
|
|
}
|