Pass tests on Mac
This commit is contained in:
parent
259d7e2cfe
commit
02b6fd0fea
11
README.md
11
README.md
|
@ -277,6 +277,17 @@ cd izapple2/frontend/a2sdl
|
||||||
go build .
|
go build .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### MacOS
|
||||||
|
|
||||||
|
With a working Go installation, run:
|
||||||
|
|
||||||
|
``` terminal
|
||||||
|
brew install SDL2
|
||||||
|
git clone github.com/ivanizag/izapple2
|
||||||
|
cd izapple2/frontend/a2sdl
|
||||||
|
go build .
|
||||||
|
```
|
||||||
|
|
||||||
### Windows
|
### Windows
|
||||||
|
|
||||||
On Windows, CGO needs a gcc compiler. Install [mingw-w64](http://mingw-w64.org/doku.php/download/mingw-builds) and the [SDL2 developer files](https://www.libsdl.org/release/) for mingw-64.
|
On Windows, CGO needs a gcc compiler. Install [mingw-w64](http://mingw-w64.org/doku.php/download/mingw-builds) and the [SDL2 developer files](https://www.libsdl.org/release/) for mingw-64.
|
||||||
|
|
|
@ -55,7 +55,7 @@ func TestWoz(t *testing.T) {
|
||||||
|
|
||||||
// Next choices
|
// Next choices
|
||||||
{"Bouncing Kamungas", all, "Bouncing Kamungas - Disk 1, Side A.woz", 30_000_000, []int{0, 32, 0, 40, 0}},
|
{"Bouncing Kamungas", all, "Bouncing Kamungas - Disk 1, Side A.woz", 30_000_000, []int{0, 32, 0, 40, 0}},
|
||||||
{"Commando", seq, "Commando - Disk 1, Side A.woz", 14_000_000, []int{0, 136, 68, 128, 68, 128, 68, 124, 12, 116, 108}},
|
{"Commando", seq, "Commando - Disk 1, Side A.woz", 15_000_000, []int{0, 136, 68, 128, 68, 128, 68, 124, 12, 116, 108}},
|
||||||
{"Planetfall", all, "Planetfall - Disk 1, Side A.woz", 4_000_000, []int{0, 8}},
|
{"Planetfall", all, "Planetfall - Disk 1, Side A.woz", 4_000_000, []int{0, 8}},
|
||||||
{"Rescue Raiders", all, "Rescue Raiders - Disk 1, Side B.woz", 80_000_000, []int{
|
{"Rescue Raiders", all, "Rescue Raiders - Disk 1, Side B.woz", 80_000_000, []int{
|
||||||
0, 84, 44, 46,
|
0, 84, 44, 46,
|
||||||
|
|
Loading…
Reference in New Issue