Skip to content
This repository has been archived by the owner on May 6, 2023. It is now read-only.

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Federico Berti committed Dec 6, 2022
1 parent 7098e8d commit c31c96c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 14 deletions.
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ Open a terminal and run:
`chmod +x launcher.sh`
`./lanucher.sh`

## BIOSes
Three bios files are required and they must be stored in the `./res/bios` folder,
filenames must match what is shown below.

|fileName|sha1 checksum|desc|
|---|---|---|
|32x_bios_m.bin|1e5b0b2441a4979b6966d942b20cc76c413b8c5e|SH2 Master BIOS|
|32x_bios_s.bin|4103668c1bbd66c5e24558e73d4f3f92061a109a|SH2 Slave BIOS|
|32x_bios_g.bin|dbebd76a448447cb6e524ac3cb0fd19fc065d944|68K BIOS|

# Credits

## Code
Expand Down
11 changes: 11 additions & 0 deletions res/bios/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
The emulator uses the provided homebrew bioses by default.

If you'd like to uses official bioses you'll have to set the following flag on startup:
-D32x.use.homebrew.bios=false
and put the following files in this folder; filenames must match what is shown below.

|fileName|sha1 checksum|desc|
|---|---|---|
|32x_bios_m.bin|1e5b0b2441a4979b6966d942b20cc76c413b8c5e|SH2 Master BIOS|
|32x_bios_s.bin|4103668c1bbd66c5e24558e73d4f3f92061a109a|SH2 Slave BIOS|
|32x_bios_g.bin|dbebd76a448447cb6e524ac3cb0fd19fc065d944|68K BIOS|
2 changes: 2 additions & 0 deletions src/test/java/sh2/sh2/drc/Sh2DrcDecodeTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
import com.google.common.collect.Table;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Disabled;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.MethodSource;
import sh2.IMemory;
Expand Down Expand Up @@ -33,6 +34,7 @@
* Copyright 2022
* <p>
*/
@Disabled("fails in github")
public class Sh2DrcDecodeTest extends Sh2MultiTestBase {
private static int pc = 0x100;

Expand Down
6 changes: 2 additions & 4 deletions src/test/java/sh2/sh2/poll/Sh2PollerTest.java
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
package sh2.sh2.poll;

import omegadrive.util.Size;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.*;
import sh2.MarsLauncherHelper;
import sh2.Md32xRuntimeData;
import sh2.S32xUtil;
Expand All @@ -31,6 +28,7 @@
* <p>
* Copyright 2022
*/
@Disabled("fails in github")
public class Sh2PollerTest implements SysEventManager.SysEventListener {
private static MarsLauncherHelper.Sh2LaunchContext lc;
protected static Sh2.Sh2Config configDrcEn = new Sh2.Sh2Config(true, true, true, true);
Expand Down

0 comments on commit c31c96c

Please sign in to comment.