-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
static build runs under minimal wine installation and passes regression tests
- Loading branch information
1 parent
c22b590
commit a140711
Showing
10 changed files
with
130 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ test_roms/* | |
roms | ||
.gopher2600/* | ||
gopher2600 | ||
gopher2600.exe | ||
*.dot | ||
*.ps | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
// This file is part of Gopher2600. | ||
// | ||
// Gopher2600 is free software: you can redistribute it and/or modify | ||
// it under the terms of the GNU General Public License as published by | ||
// the Free Software Foundation, either version 3 of the License, or | ||
// (at your option) any later version. | ||
// | ||
// Gopher2600 is distributed in the hope that it will be useful, | ||
// but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
// GNU General Public License for more details. | ||
// | ||
// You should have received a copy of the GNU General Public License | ||
// along with Gopher2600. If not, see <https://www.gnu.org/licenses/>. | ||
|
||
// +build windows | ||
|
||
// Package colorterm implements the Terminal interface for the gopher2600 | ||
// debugger. It supports color output, history and tab completion. | ||
package colorterm | ||
|
||
import ( | ||
"fmt" | ||
|
||
"github.com/jetsetilly/gopher2600/debugger/terminal" | ||
) | ||
|
||
// ColorTerminal implements debugger UI interface with a basic ANSI terminal | ||
type ColorTerminal struct { | ||
} | ||
|
||
// Initialise perfoms any setting up required for the terminal | ||
func (ct *ColorTerminal) Initialise() error { | ||
return fmt.Errorf("color terminal not available on windows") | ||
} | ||
|
||
// CleanUp perfoms any cleaning up required for the terminal | ||
func (ct *ColorTerminal) CleanUp() { | ||
} | ||
|
||
// RegisterTabCompletion adds an implementation of TabCompletion to the | ||
// ColorTerminal | ||
func (ct *ColorTerminal) RegisterTabCompletion(tc terminal.TabCompletion) { | ||
} | ||
|
||
// IsInteractive satisfies the terminal.Input interface | ||
func (ct *ColorTerminal) IsInteractive() bool { | ||
return false | ||
} | ||
|
||
// Silence implements terminal.Terminal interface | ||
func (ct *ColorTerminal) Silence(silenced bool) { | ||
} | ||
|
||
// TermRead implements the terminal.Input interface | ||
func (ct *ColorTerminal) TermRead(input []byte, prompt terminal.Prompt, events *terminal.ReadEvents) (int, error) { | ||
return 0, nil | ||
} | ||
|
||
// TermReadCheck implements the terminal.Input interface | ||
func (ct *ColorTerminal) TermReadCheck() bool { | ||
return false | ||
} | ||
|
||
// TermPrintLine implements the terminal.Output interface | ||
func (ct *ColorTerminal) TermPrintLine(style terminal.Style, s string) { | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters