2024-01-03 03:51:33 +00:00
|
|
|
// Copyright Terence J. Boldt (c)2020-2024
|
2021-10-30 13:50:00 +00:00
|
|
|
// Use of this source code is governed by an MIT
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2022-01-11 04:00:58 +00:00
|
|
|
// This file contains the handler for displaying the menu of choices on
|
2021-10-30 13:50:00 +00:00
|
|
|
// the Apple II
|
2021-11-03 09:33:09 +00:00
|
|
|
|
2021-06-01 23:08:21 +00:00
|
|
|
package handlers
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
)
|
|
|
|
|
2021-11-03 09:33:09 +00:00
|
|
|
// MenuCommand handles the request to show menu options on the Apple II
|
2021-06-01 23:08:21 +00:00
|
|
|
func MenuCommand() {
|
|
|
|
fmt.Printf("Sending menu...\n")
|
2021-10-30 11:03:18 +00:00
|
|
|
comm.WriteString("Apple2-IO-RPi\r" +
|
2024-01-03 03:51:33 +00:00
|
|
|
"(c)2020-2024 Terence J. Boldt\r" +
|
2021-06-01 23:08:21 +00:00
|
|
|
"\r" +
|
|
|
|
"Select an option:\r" +
|
|
|
|
"\r" +
|
|
|
|
"1. Boot\r" +
|
|
|
|
"2. Command Line\r" +
|
|
|
|
"3. Load File\r")
|
|
|
|
}
|